|
@@ -672,8 +672,7 @@ export default {
|
|
|
id: null,
|
|
|
show: false,
|
|
|
compoundList: [],
|
|
|
- deleteList:[],
|
|
|
- searchCount: 0,
|
|
|
+ deleteList:[]
|
|
|
};
|
|
|
},
|
|
|
components: {
|
|
@@ -802,7 +801,6 @@ export default {
|
|
|
count++;
|
|
|
}
|
|
|
}
|
|
|
- this.searchCount = count
|
|
|
if (count <= 0) {
|
|
|
this.$message.error("请至少选择一个搜索条件");
|
|
|
return;
|
|
@@ -821,10 +819,6 @@ export default {
|
|
|
this.locationVisible = true;
|
|
|
},
|
|
|
onCourseExport() {
|
|
|
- let params = this.getSearchForm()
|
|
|
- if(this.searchCount <= 0) {
|
|
|
- return
|
|
|
- }
|
|
|
// 课表导出
|
|
|
let url = "/api-web/export/superFindCourseSchedules";
|
|
|
const options = {
|
|
@@ -832,7 +826,7 @@ export default {
|
|
|
headers: {
|
|
|
Authorization: getToken(),
|
|
|
},
|
|
|
- params: params,
|
|
|
+ params: this.getSearchForm(),
|
|
|
url,
|
|
|
responseType: "blob",
|
|
|
};
|
|
@@ -876,12 +870,7 @@ export default {
|
|
|
.catch(() => {});
|
|
|
},
|
|
|
getList() {
|
|
|
- let params = this.getSearchForm()
|
|
|
- console
|
|
|
- if(this.searchCount <= 0) {
|
|
|
- return
|
|
|
- }
|
|
|
- superFindCourseSchedules(params).then((res) => {
|
|
|
+ superFindCourseSchedules(this.getSearchForm()).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.tableList = res.data.rows;
|
|
|
this.rules.total = res.data.total;
|