duy 1 napja
szülő
commit
a397f7a522
1 módosított fájl, 6 hozzáadás és 6 törlés
  1. 6 6
      src/views/data-fill/wbs.vue

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

@@ -4421,17 +4421,17 @@ nodeDataInfo.value = data
 }
 const hideSaveLoading = ref(false)
 const hideTreeNode = (data) => {
-    console.log( data.isBussShow, ' data.isBussShow')
-    
+
+      if ([3, 4].includes(data.colorStatus)) {
+                window.$message.warning('已审批”、“已填报-待审批”的节点不允许隐藏;')
+                return
+            }
  HcFirmMsg( {
     title: data.isBussShow === 2 ? '确定要显示此节点吗?' : '确定要隐藏此节点吗?',
       text: '请确认要执行此操作吗?',
  }, async (resolve) => {
          hideSaveLoading.value = true
-            if ([3, 4].includes(data.colorStatus)) {
-                window.$message.warning('已审批”、“已填报-待审批”的节点不允许隐藏;')
-                return
-            }
+          
 
             //发起请求
             hideSaveLoading.value = true