Browse Source

隐藏节点判断修改

duy 2 months ago
parent
commit
ef2a8c868a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/data-fill/wbs.vue

+ 2 - 2
src/views/data-fill/wbs.vue

@@ -3311,13 +3311,13 @@ const hideTreeNode = async () => {
     }
     let isExist = false
     for (let i = 0; i < arr.length; i++) {
-        if ([2, 3, 4].includes(arr[i].colorStatus)) {
+        if ([3, 4].includes(arr[i].colorStatus)) {
             isExist = true
             break
         }
     }
     if (isExist) {
-        window.$message.warning('已审批和已填报-待审批状态的节点,不可隐藏;')
+        window.$message.warning('已审批”、“已填报-待审批”的节点不允许隐藏;')
         return
     }
     const keys = arrToKey(treeSelectdata.value, 'pKeyId', ',')