Browse Source

feat: pdf生成

zhangjie 10 months ago
parent
commit
b01f4668d0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/modules/record/components/DocumentDetailDialog.vue

+ 2 - 2
src/modules/record/components/DocumentDetailDialog.vue

@@ -337,11 +337,11 @@ export default {
         return;
       }
 
-      let datas = {};
+      let datas = { paperScanTaskId: this.task.paperScanTaskId };
       if (this.multipleSelection.length) {
         datas.ids = this.multipleSelection.join();
       } else {
-        datas = { ...this.filter };
+        datas = { ...this.filter, ...datas };
       }
 
       await buildStudentPdf(datas);