Przeglądaj źródła

一键重签限制

duy 3 dni temu
rodzic
commit
222212924c
1 zmienionych plików z 10 dodań i 1 usunięć
  1. 10 1
      src/views/systemService/test.vue

+ 10 - 1
src/views/systemService/test.vue

@@ -1497,7 +1497,16 @@ const resignClick1 = ()=>{
         window.$message?.warning('勾选错误!只能操作待审批和已审批数据')
         return
     }
-
+      //获取任务id
+    const taskIds = arrToKey(rows, 'taskId')
+    const idsArr = taskIds.split(',')
+    let isCan = idsArr.some(ele=>!ele)
+  
+    if (isCan) {
+        window.$message?.warning('勾选错误!只能操作待审批和已审批数据')
+        return
+    }
+    
     
 
     resignModal1.value = true