添加token字段
parent
25a201a9cb
commit
62d0304266
|
@ -6,3 +6,5 @@
|
||||||
*.local
|
*.local
|
||||||
env.d.ts
|
env.d.ts
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
/dist.zip
|
||||||
|
/dist/
|
||||||
|
|
|
@ -8,14 +8,15 @@
|
||||||
@get-data="getData"
|
@get-data="getData"
|
||||||
>
|
>
|
||||||
<el-table-column prop="servicePlatformName" label="所在平台名称" />
|
<el-table-column prop="servicePlatformName" label="所在平台名称" />
|
||||||
<el-table-column prop="businessType" label="数据类型" />
|
<el-table-column prop="thirdPlatformName" label="上级平台名称" />
|
||||||
|
<el-table-column prop="businessName" label="数据类型" />
|
||||||
<el-table-column prop="receiveTime" label="上传时间" />
|
<el-table-column prop="receiveTime" label="上传时间" />
|
||||||
<el-table-column prop="receiveStatus" label="数据接收状态">
|
<el-table-column prop="receiveStatus" label="数据接收状态">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
{{ translationStatus(row.receiveStatus, receiveOptions) }}
|
{{ translationStatus(row.receiveStatus, receiveOptions) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="thirdPlatformName" label="上级平台名称" />
|
|
||||||
<el-table-column prop="pushTime" label="推送时间" />
|
<el-table-column prop="pushTime" label="推送时间" />
|
||||||
<el-table-column prop="pushStatus" label="上报数据状态">
|
<el-table-column prop="pushStatus" label="上报数据状态">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
|
|
|
@ -176,6 +176,11 @@
|
||||||
<el-input v-model="item.secret"></el-input>
|
<el-input v-model="item.secret"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="企业TOKEN" prop="appid">
|
||||||
|
<el-input v-model="item.token"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
<el-col class="add-btn" :span="24" v-if="thirdList.length > 1"
|
<el-col class="add-btn" :span="24" v-if="thirdList.length > 1"
|
||||||
><el-button type="danger" @click="fnReduceThirdList(index)"
|
><el-button type="danger" @click="fnReduceThirdList(index)"
|
||||||
>删除</el-button
|
>删除</el-button
|
||||||
|
@ -412,6 +417,7 @@ const thirdList = ref([
|
||||||
code: "",
|
code: "",
|
||||||
appid: "",
|
appid: "",
|
||||||
secret: "",
|
secret: "",
|
||||||
|
token: "",
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
const fnAddThirdList = () => {
|
const fnAddThirdList = () => {
|
||||||
|
@ -427,6 +433,7 @@ const fnAddThirdList = () => {
|
||||||
code: "",
|
code: "",
|
||||||
appid: "",
|
appid: "",
|
||||||
secret: "",
|
secret: "",
|
||||||
|
token: "",
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
const fnReduceThirdList = (index) => {
|
const fnReduceThirdList = (index) => {
|
||||||
|
|
|
@ -98,6 +98,7 @@ const thirdListOptions = [
|
||||||
{ key: "code", label: "企业CODE" },
|
{ key: "code", label: "企业CODE" },
|
||||||
{ key: "appid", label: "企业APPID" },
|
{ key: "appid", label: "企业APPID" },
|
||||||
{ key: "secret", label: "企业SECRET" },
|
{ key: "secret", label: "企业SECRET" },
|
||||||
|
{ key: "token", label: "企业TOKEN" },
|
||||||
];
|
];
|
||||||
const fnGetData = async () => {
|
const fnGetData = async () => {
|
||||||
const { data } = await getBusCompanyInfo({ id: id });
|
const { data } = await getBusCompanyInfo({ id: id });
|
||||||
|
|
|
@ -80,8 +80,8 @@ const rules = {
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
const options = [
|
const options = [
|
||||||
{ key: "serviceCompany", label: "平台服务单位" },
|
|
||||||
{ key: "serviceName", label: "平台名称" },
|
{ key: "serviceName", label: "平台名称" },
|
||||||
|
{ key: "serviceCompany", label: "平台服务单位" },
|
||||||
{ key: "serviceCode", label: "服务平台编码" },
|
{ key: "serviceCode", label: "服务平台编码" },
|
||||||
{
|
{
|
||||||
key: "thirdIdList",
|
key: "thirdIdList",
|
||||||
|
|
|
@ -25,8 +25,8 @@ const route = useRoute();
|
||||||
const { id } = route.query;
|
const { id } = route.query;
|
||||||
const info = ref({});
|
const info = ref({});
|
||||||
const options = [
|
const options = [
|
||||||
{ key: "serviceCompany", label: "平台服务单位" },
|
|
||||||
{ key: "serviceName", label: "平台名称" },
|
{ key: "serviceName", label: "平台名称" },
|
||||||
|
{ key: "serviceCompany", label: "平台服务单位" },
|
||||||
{ key: "secretKey", label: "平台秘钥" },
|
{ key: "secretKey", label: "平台秘钥" },
|
||||||
{ key: "serviceCode", label: "服务平台编码" },
|
{ key: "serviceCode", label: "服务平台编码" },
|
||||||
{ key: "thirdIdList", label: "涉及对接上级平台" },
|
{ key: "thirdIdList", label: "涉及对接上级平台" },
|
||||||
|
|
Loading…
Reference in New Issue