搜索修改

This commit is contained in:
zhangsir
2024-01-11 15:46:39 +08:00
parent 12c4855be9
commit 8fd8c81b8c

View File

@@ -433,13 +433,13 @@ export default {
majorType: '', //专业分类code
// orderAsc: false,
// isTop: true,
excellent: true,
excellent: false,
keyWord: '',
orgDomainDtos: [],
caseType: '',
authorName: '',
notInIds: [],
type: 'excellent',
type: '',
userId: '',
parent: '',
children: [],
@@ -1088,10 +1088,20 @@ export default {
this.search(true);
},
searchexcellent(num) {
//this.queryCondition.excellent =true;
if(this.queryCondition.type==num){
this.queryCondition.excellent =false;
this.queryCondition.type = '';
this.search(true)
return
}
this.queryCondition.excellent =false;
this.queryCondition.type = num;
if(num == 'excellent'){
this.queryCondition.excellent =true;
this.queryCondition.type = num;
}
this.search(true);
//this.getCaseData();
// this.getCaseData();
},
// searchData(num) {
// // if(num == 1){