From 274856b8a28ee277f0048321994488307e8f9742 Mon Sep 17 00:00:00 2001
From: BAOLH <baolh@yhzhg.cn>
Date: Fri, 23 May 2025 07:38:31 +0000
Subject: [PATCH] 驳回等否决终态添加展示限制

---
 eladmin-web-master/src/components/ApprovalLine/index.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/eladmin-web-master/src/components/ApprovalLine/index.vue b/eladmin-web-master/src/components/ApprovalLine/index.vue
index e451c33..843709f 100644
--- a/eladmin-web-master/src/components/ApprovalLine/index.vue
+++ b/eladmin-web-master/src/components/ApprovalLine/index.vue
@@ -5,7 +5,7 @@
         <div v-if="node.NodeType && node.NodeType === 1 && node.SubNodeList" class="flex-column gap-10">
           <div class="flex-row gap-10 weight-600">
             <div class="flex-row align-center">审批人</div>
-            <div class="flex-row align-center">
+            <div v-show="!eventRejectSpStatus.includes(eventData.spStatus) || node.SpStatus !== 1" class="flex-row align-center">
               <span>{{ spStatusMap[node.SpStatus] || '其他' }}</span>
             </div>
             <div>
@@ -21,7 +21,7 @@
                   </el-badge>
                   <div class="name">{{ userNameMap[subNode.UserInfo.UserId] || subNode.UserInfo.UserId }}</div>
                 </div>
-                <div class="flex-row gap-10 align-center">
+                <div v-show="!eventRejectSpStatus.includes(eventData.spStatus) || subNode.Sptime" class="flex-row gap-10 align-center">
                   <div class="status">{{ node.ApvRel === 2 && node.SpStatus !== subNode.SpYj ? '' : (subSpStatusMap[subNode.SpYj] || '其他') }}</div>
                   <div class="time">{{ subNode.Sptime > 0 ? parseTime(subNode.Sptime, '{y}/{m}/{d} {h}:{i}') : '' }}</div>
                 </div>
@@ -127,7 +127,9 @@
         13: '同意并加签',
         14: '已办理',
         15: '已转交'
-      }
+      },
+      // 事件否决终态
+      eventRejectSpStatus: ['3', '4', '6', '7']
     }
   },
   computed: {

--
Gitblit v1.9.3