Browse Source

重签接口调用

duy 7 months ago
parent
commit
375973aa04
1 changed files with 3 additions and 8 deletions
  1. 3 8
      src/views/tentative/detect/test.vue

+ 3 - 8
src/views/tentative/detect/test.vue

@@ -1386,14 +1386,9 @@ const resignClick = async ()=>{
 const signClick = async () => {
     const rows = tableCheckedKeys.value
     //获取任务id
-    const taskIds = arrToKey(rows, 'taskId')
-    const idsArr = taskIds.split(',')
-    let isCan = idsArr.some(ele=>ele === '' || ele == -1)
-    console.log(isCan, 'isCan')
-    if (isCan) {
-        window.$message?.warning('参数异常,暂不支持该操作')
-        return
-    }
+    const taskIds = arrToKey(rows, 'id')
+
+
     //发起请求
     signLoading.value = true
     const { error, code, msg } = await dataApi.reSigningTrial({