From e055f23263d9510b9a46b7f89d5f6c65f6f1ad89 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 26 二月 2025 21:58:08 +0800
Subject: [PATCH] 工程管理

---
 src/views/projectProcess/detail/index.vue |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/src/views/projectProcess/detail/index.vue b/src/views/projectProcess/detail/index.vue
index acacce6..d7d4f59 100644
--- a/src/views/projectProcess/detail/index.vue
+++ b/src/views/projectProcess/detail/index.vue
@@ -388,6 +388,9 @@
       })
     },
     unitFormatter(row) {
+      if (row.taskStatus != '宸插畬鎴�') {
+        return null
+      }
       if (row.handlerType === 'USER') {
         return null;
       } else if (row.handlerType === 'DEPT') {
@@ -397,13 +400,17 @@
       }
     },
     candidateFormatter(row) {
-      if (row.handlerType === 'USER') {
-        return row.handlerName.join('銆�')
-      } else if (row.handlerType === 'DEPT') {
-        return row.handlerUnitName.join('銆�')
-      } else if (row.handlerType === 'ROLE') {
-        return row.handlerUnitName.join('銆�')
+      if (row.taskStatus != '宸插畬鎴�') {
+        return null
       }
+      return row.handlerName.join('銆�')
+      // if (row.handlerType === 'USER') {
+      //   return row.handlerName.join('銆�')
+      // } else if (row.handlerType === 'DEPT') {
+      //   return row.handlerUnitName.join('銆�')
+      // } else if (row.handlerType === 'ROLE') {
+      //   return row.handlerUnitName.join('銆�')
+      // }
     },
     finalFinishedFormatter(row) {
       // 涓嶆槸宸插畬鎴愮殑鐘舵�佹病鏈夊疄闄呭鐞嗕汉锛屽凡瀹屾垚鐨勭姸鎬佸彧鏈変竴涓汉

--
Gitblit v1.8.0