From d7f731c2672c6af00065fcbd1c1164b8789442b8 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 17 七月 2023 17:43:41 +0800
Subject: [PATCH] 7-17主数据导出-配置新按钮
---
Source/UBCS-WEB/src/components/template/SetPersonnel.vue | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/template/SetPersonnel.vue b/Source/UBCS-WEB/src/components/template/SetPersonnel.vue
index f96be3f..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()
}
@@ -90,7 +91,12 @@
},
deep:true,
immediate:true
- }
+ },
+ parameter:{
+ handler(newval,oldval){
+ console.log('瀛�',newval)
+ }
+ }
},
data() {
return {
@@ -112,10 +118,10 @@
},
mounted() {
- // this.apiInit()
- // this.apiDict()
},
- methods: {
+ created() {
+ },
+ methods: {
setSaveParam() {
return {
processName: this.parameter[this.parameterKeys.flowTemplate],
@@ -128,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