From ebbd0efdfc7cad7043a0d4620d5f508fbea75683 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期三, 05 七月 2023 09:59:55 +0800
Subject: [PATCH] 发布流程增加参数

---
 Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue    |    2 ++
 Source/UBCS-WEB/src/components/template/SetPersonnel.vue |    2 +-
 Source/UBCS-WEB/vue.config.js                            |    4 ++--
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
index 57a2719..949c618 100644
--- a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
+++ b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
@@ -198,6 +198,7 @@
         code: "",
         type: "PUBLIC",
         template: "",
+        codeClassifyOid:""
       },
       visibleFlow: false,
       transferData: [],
@@ -257,6 +258,7 @@
     codeClassifyOid: {
       handler(newval, oldval) {
         this.codeClassifyOid = newval;
+        this.parameter.codeClassifyOid=newval
       },
       deep: true,
     },
diff --git a/Source/UBCS-WEB/src/components/template/SetPersonnel.vue b/Source/UBCS-WEB/src/components/template/SetPersonnel.vue
index f637e5f..60d037f 100644
--- a/Source/UBCS-WEB/src/components/template/SetPersonnel.vue
+++ b/Source/UBCS-WEB/src/components/template/SetPersonnel.vue
@@ -135,7 +135,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],ids:this.parameter.ids, codeClassifyOid:this.parameter.codeClassifyOid})
             if (response.status === 200) {
                 console.log(response)
                 this.initFrom = response.data.data.user
diff --git a/Source/UBCS-WEB/vue.config.js b/Source/UBCS-WEB/vue.config.js
index 4124c7c..63a88c9 100644
--- a/Source/UBCS-WEB/vue.config.js
+++ b/Source/UBCS-WEB/vue.config.js
@@ -27,8 +27,8 @@
       '/api': {
         //鏈湴鏈嶅姟鎺ュ彛鍦板潃
         // target: 'http://localhost:37000',
-        target: 'http://192.168.1.51:37000',
-        // target: 'http://192.168.1.46:37000',
+        // target: 'http://192.168.1.51:37000',
+        target: 'http://192.168.1.46:37000',
         // target: 'http://dev.vci-tech.com:37000',
         // target: 'http://192.168.1.51:37000/',
         // target: 'http://192.168.1.104:37000',

--
Gitblit v1.9.3