Browse Source

fix: change schoolOpens record

DESKTOP-USV654P\pc 3 weeks ago
parent
commit
36699ea548
2 changed files with 6 additions and 2 deletions
  1. 1 1
      Makefile
  2. 5 1
      src/views/schoolOpens/record/index.vue

+ 1 - 1
Makefile

@@ -12,7 +12,7 @@ build:
 
 commit:
 	git add . && \
-	git commit --no-verify -m "fix: change textbookSubscription"
+	git commit --no-verify -m "fix: change schoolOpens record"
 
 checkPre:
 	git checkout pre

+ 5 - 1
src/views/schoolOpens/record/index.vue

@@ -40,7 +40,7 @@
     useSearchForm: true,
     showTableSetting: true,
     bordered: true,
-    immediate: true,
+    immediate: false,
     canResize: true,
     actionColumn: {
       width: 120,
@@ -95,6 +95,10 @@
   };
 
   const handleExport = async () => {
+    if (!searchInfo.studentReportPlanId) {
+      createMessage.warning('请先选择计划再导出');
+      return;
+    }
     const postData = getForm().getFieldsValue();
     downloadByData(
       (await postStudentReportRecordExportQuery({ ...postData, ...searchInfo })).data,