From d13c3d44ca14ba07d92216bb92ff29ab504ae048 Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期三, 02 八月 2023 17:40:09 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue |   13 ++++++++-----
 Source/UBCS-WEB/src/components/template/SetPersonnel.vue    |    9 +++++----
 2 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
index 61fbfc8..9f0dd8b 100644
--- a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
+++ b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -234,11 +234,14 @@
         hasDownload: true,
         hasUpload: true,
         height: 100
-      }
+      },
+      result:''
     };
   },
   computed: {},
   created() {
+   const index = this.$route.query.id.indexOf('@');
+   this.result = this.$route.query.id.substring(0, index);
   },
   mounted() {
   },
@@ -386,7 +389,7 @@
             processTS({templateId: this.templateOid, buttonTypeKey: 'PUBLIC'}).then(res => {
               if (res.data.data.records && res.data.data.records.length!=0)  {
                 this.userName = localStorage.getItem("username");
-                this.parameter.template = this.userName + "-鍙戝竷" + "[鐗╁搧]";
+                this.parameter.template = this.userName + '-鍙戝竷['+this.result+'-' + this.selectRow[0].name + ']';
                 this.parameter.type = 'PUBLIC';
                 this.parameter.code=this.templateOid
                 this.title = '娴佺▼瀹℃壒'
@@ -439,7 +442,7 @@
             processTS({ templateId: this.templateOid, buttonTypeKey: 'PUBLIC' }).then(res => {
               if (res.data.records != [] && res.data.data.records.length!=0) {
                 this.userName = localStorage.getItem("username");
-                this.parameter.template = this.userName + "鍋滅敤" + "[鐗╁搧]";
+                this.parameter.template = this.userName + '-鍋滅敤['+this.result+'-' + this.selectRow[0].name + ']';
                 this.parameter.type = 'DISABLE';
                 this.parameter.code=this.templateOid
                 this.title = '鍋滅敤锛堝喕缁擄級缂栫爜鏁版嵁'
@@ -492,7 +495,7 @@
               if (res.data.data.records && res.data.data.records.length!=0)  {
                 this.parameter=res.data.data.records[0]
                 this.userName = localStorage.getItem("username");
-                this.parameter.template = this.userName + "鍚敤" + "[鐗╁搧]";
+                this.parameter.template = this.userName + '-鍚敤['+this.result+'-' + this.selectRow[0].name + ']';
                 this.parameter.type = 'Released';
                 this.parameter.code=this.templateOid
                 this.title = '鍚敤缂栫爜鏁版嵁'
@@ -551,7 +554,7 @@
             processTS({ templateId: this.templateOid, buttonTypeKey: 'PUBLIC' }).then(res => {
               if (res.data.records != [] && res.data.data.records.length!=0) {
                 this.userName = localStorage.getItem("username");
-                this.parameter.template = this.userName + "鍥炴敹" + "[鐗╁搧]";
+                this.parameter.template = this.userName + '-鍥炴敹['+this.result+'-' + this.selectRow[0].name + ']';
                 this.parameter.type = 'TakeBack';
                 this.parameter.code=this.templateOid
                 this.title = '鍥炴敹缂栫爜鏁版嵁'
diff --git a/Source/UBCS-WEB/src/components/template/SetPersonnel.vue b/Source/UBCS-WEB/src/components/template/SetPersonnel.vue
index 531ae26..29cec50 100644
--- a/Source/UBCS-WEB/src/components/template/SetPersonnel.vue
+++ b/Source/UBCS-WEB/src/components/template/SetPersonnel.vue
@@ -10,7 +10,7 @@
                 <el-input placeholder="娴佺▼妯℃澘" v-model="saveParam.modelName" disabled></el-input>
             </el-form-item>
             <el-form-item label="娴佺▼鍚嶇О" prop="processName">
-                <el-input placeholder="娴佺▼鍚嶇О" v-model="saveParam.processName">
+                <el-input placeholder="娴佺▼鍚嶇О" v-model="saveParam.template">
                 </el-input>
             </el-form-item>
             <el-form-item label="娴佺▼鎻忚堪">
@@ -92,9 +92,10 @@
         },
       parameter:{
           handler(newval,oldval){
-			      this.saveParam=newval
-          },deep:true,
-		  immediate:true
+			      this.saveParam=newval;
+          },
+        deep:true,
+		    immediate:true
       }
     },
     data() {

--
Gitblit v1.9.3