课程搜索关键词未启作用的问题和删除条件未重新查询的问题

This commit is contained in:
daihh
2022-12-26 15:16:24 +08:00
parent 142d657f92
commit 5df2e8d6a3

View File

@@ -407,7 +407,7 @@ export default {
// 查询信息 // 查询信息
course: { course: {
orderField: "studys", orderField: "studys",
keywrod:'',//关键词 keyword:'',//关键词
topOrder: true, topOrder: true,
orderAsc: false, orderAsc: false,
pageIndex: 1, // 第几页 pageIndex: 1, // 第几页
@@ -507,6 +507,7 @@ export default {
if(tag.type==0){ if(tag.type==0){
this.keyword=''; this.keyword='';
} }
this.searchData();
}, },
handleTypeAllClick(t){ handleTypeAllClick(t){
if(t==1){ if(t==1){
@@ -789,6 +790,7 @@ export default {
this.course.sysType1 = ""; this.course.sysType1 = "";
this.course.sysType2 = ""; this.course.sysType2 = "";
this.course.sysType3 = ""; this.course.sysType3 = "";
this.course.keyword=this.keyword;
this.stagList.forEach(item=>{ this.stagList.forEach(item=>{
if(item.checked){ if(item.checked){