From eb364873d236e6bd0aec2c7ad8ad6bdaeafe75f3 Mon Sep 17 00:00:00 2001
From: dhb52 <dhb52@126.com>
Date: 星期三, 13 三月 2024 01:18:49 +0800
Subject: [PATCH] ✨ EasyRetry Server 扩展模块

---
 src/views/workflow/leave/index.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/views/workflow/leave/index.vue b/src/views/workflow/leave/index.vue
index c7550b2..ae9ff00 100644
--- a/src/views/workflow/leave/index.vue
+++ b/src/views/workflow/leave/index.vue
@@ -83,7 +83,10 @@
             <el-tooltip v-if="scope.row.processInstanceVo.businessStatus === 'waiting'" content="鎾ら攢" placement="top">
               <el-button link type="primary" icon="Notification" @click="handleCancelProcessApply(scope.row.processInstanceVo.id)"></el-button>
             </el-tooltip>
-            <el-tooltip v-if="scope.row.processInstanceVo.businessStatus === 'waiting'" content="瀹℃壒璁板綍" placement="top">
+            <el-tooltip v-if="scope.row.processInstanceVo.businessStatus === 'waiting' || 
+            scope.row.processInstanceVo.businessStatus === 'finish'||
+            scope.row.processInstanceVo.businessStatus === 'termination'||
+            scope.row.processInstanceVo.businessStatus === 'invalid'" content="瀹℃壒璁板綍" placement="top">
               <el-button link type="primary" icon="Document" @click="handleApprovalRecord(scope.row.processInstanceVo.id)"></el-button>
             </el-tooltip>
           </template>
@@ -340,7 +343,7 @@
 
 //鎻愪氦鐢宠
 const handleStartWorkFlow = async (data: LeaveVO) => {
-  submitFormData.value.processKey = 'leave7';
+  submitFormData.value.processKey = 'leave1';
   submitFormData.value.businessKey = data.id;
   //娴佺▼鍙橀噺
   taskVariables.value = {

--
Gitblit v1.9.3