From 41f11d5fd764a2bc7e8463a70bb340467d99a3ca Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期五, 14 七月 2023 09:42:36 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/UBCS-WEB/src/components/template/SetPersonnel.vue |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/template/SetPersonnel.vue b/Source/UBCS-WEB/src/components/template/SetPersonnel.vue
index a0e23bf..2c7a417 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,8 +118,6 @@
     },
 
     mounted() {
-        // this.apiInit()
-        // this.apiDict()
       console.log('---',this.parameter)
     },
   created() {
@@ -132,7 +136,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