|
@@ -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;
|