From 80865125d9b9715122caea465d10fac51ae3428f Mon Sep 17 00:00:00 2001 From: anthonyywj2 <353682448@qq.com> Date: Sat, 11 Jun 2022 17:01:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=81=E8=AE=B8=E4=BE=9B=E5=BA=94=E5=95=86?= =?UTF-8?q?=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 16 +- src/views/basic/BussinessTypeLocl.vue | 5 + src/views/basic/BussinessTypeModify.vue | 2 +- src/views/basic/UdiInfoDb.vue | 409 +++++++++++++----------- src/views/thrsys/SysUdimsConfig.vue | 8 +- src/views/thrsys/SysUdimsData.vue | 23 +- 6 files changed, 262 insertions(+), 201 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 42837af..a6e2d79 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -733,15 +733,15 @@ export const asyncRouterMap = [ meta: { authRule: ["basic/udidb/search"] } - }, - { - path: "UdidbImportLog", - name: "DI导入记录", - component: UdidbImportLog, - meta: { - authRule: ["basic/udidb/importLog"] - } } + // { + // path: "UdidbImportLog", + // name: "DI导入记录", + // component: UdidbImportLog, + // meta: { + // authRule: ["basic/udidb/importLog"] + // } + // } ] }, diff --git a/src/views/basic/BussinessTypeLocl.vue b/src/views/basic/BussinessTypeLocl.vue index b3f743b..36c87e6 100644 --- a/src/views/basic/BussinessTypeLocl.vue +++ b/src/views/basic/BussinessTypeLocl.vue @@ -50,6 +50,11 @@ {{ enableMap[scope.row.changeEnable] }} + + + diff --git a/src/views/thrsys/SysUdimsConfig.vue b/src/views/thrsys/SysUdimsConfig.vue index dbcd340..a0b347d 100644 --- a/src/views/thrsys/SysUdimsConfig.vue +++ b/src/views/thrsys/SysUdimsConfig.vue @@ -40,10 +40,10 @@ - 测试连通 @@ -67,7 +67,7 @@ style="width: 100px" size="small" type="number" - v-model="configQuery.syncTime" + v-model="configQuery.syncTime" :disabled="configQuery.downstreamEnable" splaceholder="请输入内容" > @@ -76,7 +76,7 @@ style="width: 100px" size="small" type="number" - v-model="configQuery.syncDownloadTime" + v-model="configQuery.syncDownloadTime" :disabled="configQuery.downstreamEnable" splaceholder="请输入内容" > diff --git a/src/views/thrsys/SysUdimsData.vue b/src/views/thrsys/SysUdimsData.vue index b913aba..f497b9b 100644 --- a/src/views/thrsys/SysUdimsData.vue +++ b/src/views/thrsys/SysUdimsData.vue @@ -30,9 +30,14 @@ 查询 - 同步单据 - 同步单据类型 - 同步基础信息 + 同步单据 + 同步单据类型 + 同步基础信息 @@ -175,6 +180,7 @@ export default { templateDlUrl: null, checked: false, syncTime: null, + configParms: {}, }; }, @@ -325,6 +331,16 @@ export default { return statusMap[status]; } , + getSyncConfig() { + findConfig() + .then((response) => { + if (response.code == 20000) { + this.configParms = response.data; + } + }) + .catch(() => { + }); + }, }, mounted() { @@ -335,6 +351,7 @@ export default { ADMIN_ID: store.getters.adminId, ADMIN_TOKEN: store.getters.token, }; + this.getSyncConfig(); this.getList(); this.getConfig(); },