From 8fd8c81b8c001fff189b5ab85829ddaafc4c7b2e Mon Sep 17 00:00:00 2001 From: zhangsir Date: Thu, 11 Jan 2024 15:46:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/portal/case/Index.vue | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) 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){