diff --git a/src/views/portal/case/Index.vue b/src/views/portal/case/Index.vue index 5480b78c..f7e15007 100644 --- a/src/views/portal/case/Index.vue +++ b/src/views/portal/case/Index.vue @@ -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){