소스 검색

feat: pdf生成

zhangjie 10 달 전
부모
커밋
b01f4668d0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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);