From ca2df0e483405adbe9ca93b3c3e85cca1664ec46 Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期三, 09 八月 2023 17:48:59 +0800
Subject: [PATCH] 流程处理时业务数据的保存

---
 Source/UBCS-WEB/src/views/work/process/leave/handle.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/work/process/leave/handle.vue b/Source/UBCS-WEB/src/views/work/process/leave/handle.vue
index bb59a71..1d81c3e 100644
--- a/Source/UBCS-WEB/src/views/work/process/leave/handle.vue
+++ b/Source/UBCS-WEB/src/views/work/process/leave/handle.vue
@@ -5,7 +5,7 @@
         <el-card class="dialogwarp_tab_card">
           <el-tabs v-model="activeName" @tab-click="handleClick">
             <el-tab-pane label="涓氬姟鏁版嵁淇℃伅" name="first">
-              <businesswork ref="businesswork":ids="ids" :templateId="templateId" :taskId="taskId" :modelKey="modelKey" :codeClassifyOid="codeClassifyOid"></businesswork>
+              <businesswork ref="businesswork" :ids="ids" :templateId="templateId" :taskId="taskId" :modelKey="modelKey" :codeClassifyOid="codeClassifyOid" :stageAttrs="stageAttrs"></businesswork>
             </el-tab-pane>
             <el-tab-pane label="娴佺▼璺熻釜" name="second">
               <avue-crud :data="flowList" :option="option" ref="crud">
@@ -82,6 +82,7 @@
       codeClassifyOid:'',
       businessId: '',
       processInstanceId: '',
+      stageAttrs:[],
       src: '',
       flowList: [],
       btnList: [],
@@ -146,10 +147,10 @@
       this.templateId=res.data.variables.templateId;
       this.modelKey=res.data.variables.modelKey;
       this.codeClassifyOid=res.data.variables.codeClassifyOid;
-      this.title='11';
+      this.title=res.data.variables.processName;
+      this.stageAttrs=res.data.stageAttrs;
       //this.taskId=res.data.variables.taskId;
       if (res.success) {
-        console.log(res)
         this.btnList = res.data.toTasks;
       }
     },
@@ -165,7 +166,6 @@
       }
     },
     handelExecute(event) {
-      console.log(event)
       if(this.$refs.businesswork.hasEditor){
         this.$refs.businesswork.HandlerSave()
       }

--
Gitblit v1.9.3