Ver código fonte

上报id修改

duy 2 anos atrás
pai
commit
53810ca17b
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3 1
      src/views/tentative/detect/test.vue

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

@@ -550,6 +550,8 @@ const reportPdfClick = async () => {
              const rows = tableCheckedKeys.value;
             if (rows.length > 0) {
                 reportLoading.value = true
+                 const ids = rowsToId(rows)
+                 reportIds.value=ids
                 const taskCheck = await eVisaTaskCheckApi({
                     projectId: projectId.value,
                     contractId: contractId.value
@@ -565,7 +567,7 @@ const reportPdfClick = async () => {
                 reportLoading.value = false
                 if (taskCheck) {
                     //初始弹出弹窗,防呆
-                    reportIds.value =  primaryKeyId.value 
+                  
                     reportAddition.value = {
                         classify: authBtnTabKey.value,
                         contractIdRelation: info['contractIdRelation'],