From a4d7993d0b44faffe2e548250a9d2bc27c77e521 Mon Sep 17 00:00:00 2001 From: xiejun <xj@2023> Date: 星期三, 19 七月 2023 12:27:46 +0800 Subject: [PATCH] 集成获取分类接口(包含编码规则码段码值信息) --- Source/UBCS-WEB/src/components/template/SetPersonnel.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Source/UBCS-WEB/src/components/template/SetPersonnel.vue b/Source/UBCS-WEB/src/components/template/SetPersonnel.vue index f637e5f..cf03538 100644 --- a/Source/UBCS-WEB/src/components/template/SetPersonnel.vue +++ b/Source/UBCS-WEB/src/components/template/SetPersonnel.vue @@ -76,6 +76,7 @@ visible(n) { this.dialogVisible = n; if (n) { + this.saveParam=this.setSaveParam(); this.apiInit() this.apiDict() } @@ -117,10 +118,8 @@ }, mounted() { - console.log('---',this.parameter) }, - created() { - console.log('parameter',this.parameter) + created() { }, methods: { setSaveParam() { @@ -135,7 +134,7 @@ return this.initFrom.findIndex(i => i.taskId === arr1) }, async apiInit() { - const response = await personnelInit({ type: this.parameter[this.parameterKeys.type], templateId: this.parameter[this.parameterKeys.code] }) + const response = await personnelInit({ type: this.parameter[this.parameterKeys.type], templateId: this.parameter[this.parameterKeys.code]}) if (response.status === 200) { console.log(response) this.initFrom = response.data.data.user -- Gitblit v1.9.3