瀏覽代碼

02/21 17:57

11
mo 4 年之前
父節點
當前提交
4e8dd2b02f
共有 2 個文件被更改,包括 10 次插入2 次删除
  1. 1 0
      src/views/businessManager/orderManager/backMoney.vue
  2. 9 2
      src/views/teamDetail/teamCourseList.vue

+ 1 - 0
src/views/businessManager/orderManager/backMoney.vue

@@ -10,6 +10,7 @@
         :inline="true"
         class="searchForm"
         ref="searchForm"
+        noclear
         :model="searchForm"
         @submit="search"
         @reset="onReSet"

+ 9 - 2
src/views/teamDetail/teamCourseList.vue

@@ -634,7 +634,7 @@ const initSearch = {
   organIdList: null,
   courseStatus: null,
   courseType: null,
-  timer: [], // 时间
+  timer: [nowTime,nowTime], // 时间
   class: null,
   teachType: null,
   mergeCourseType: null,
@@ -803,7 +803,7 @@ export default {
       }
       if (count <= 0) {
         this.$message.error("请至少选择一个搜索条件");
-        return;
+        return false;
       }
       const { creatTimer, timer, ...rest } = searchForm;
       return {
@@ -820,7 +820,11 @@ export default {
     },
     onCourseExport() {
       // 课表导出
+           if(this.getSearchForm()){
+        return
+      }
       let url = "/api-web/export/superFindCourseSchedules";
+
       const options = {
         method: "get",
         headers: {
@@ -870,6 +874,9 @@ export default {
         .catch(() => {});
     },
     getList() {
+      if(this.getSearchForm()){
+        return
+      }
       superFindCourseSchedules(this.getSearchForm()).then((res) => {
         if (res.code == 200) {
           this.tableList = res.data.rows;