zhangjie 4 жил өмнө
parent
commit
f1506d62e0

+ 7 - 2
src/modules/exam/views/TaskPaperManage.vue

@@ -311,9 +311,14 @@ export default {
       if (this.loading) return;
 
       this.loading = true;
-      const res = await paperAndCardBatchExport({
+      let datas = {
         ...this.filter
-      }).catch(() => {});
+      }
+      if (this.createTime) {
+        datas.startTime = this.createTime[0];
+        datas.endTime = this.createTime[1];
+      }
+      const res = await paperAndCardBatchExport(datas).catch(() => {});
       this.loading = false;
 
       if (res) {