From c482628d3daf21dafba7e2b9eaba6e46ffda0fdb Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 27 二月 2025 20:11:14 +0800
Subject: [PATCH] 首页跳转bug

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

diff --git a/src/views/projectProcess/detail/index.vue b/src/views/projectProcess/detail/index.vue
index acacce6..545c0f1 100644
--- a/src/views/projectProcess/detail/index.vue
+++ b/src/views/projectProcess/detail/index.vue
@@ -388,22 +388,23 @@
       })
     },
     unitFormatter(row) {
-      if (row.handlerType === 'USER') {
-        return null;
-      } 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.handlerUnitName.join("銆�")
     },
     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