duy 2 лет назад
Родитель
Сommit
53810ca17b
1 измененных файлов с 3 добавлено и 1 удалено
  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'],