From 7f581272d540234bff02b06bf5643ce123ae381a Mon Sep 17 00:00:00 2001 From: zhangsir Date: Thu, 12 Sep 2024 14:04:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=88=E4=BE=8B=E4=BF=AE=E6=94=B9=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/portal/case/Charts.vue | 4 ++-- src/views/portal/case/Index.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/portal/case/Charts.vue b/src/views/portal/case/Charts.vue index ad18250f..46c547e0 100644 --- a/src/views/portal/case/Charts.vue +++ b/src/views/portal/case/Charts.vue @@ -103,14 +103,14 @@ import portalHeader from '@/components/PortalHeader.vue' }, methods: { getPopularity() { - apiCase.queryPraisesNew(10,this.popularityName == '季度' ? 3 : 4).then(res => { + apiCase.queryPraisesNew(10,this.popularityName == '季度' ? 1 : 2).then(res => { if(res.status == 200) { this.Popularity = res.result } }) }, getPositive() { - apiCase.queryCommentsNew(10,this.favorableName == '季度' ? 1 : 2).then(res => { + apiCase.queryCommentsNew(10,this.favorableName == '季度' ? 3 : 4).then(res => { if(res.status == 200) { this.Positive = res.result } diff --git a/src/views/portal/case/Index.vue b/src/views/portal/case/Index.vue index f0086e9f..83fdaefe 100644 --- a/src/views/portal/case/Index.vue +++ b/src/views/portal/case/Index.vue @@ -1791,7 +1791,7 @@ export default { // } // }); - apiCase.queryPraisesNew(3,this.popularityName == '季度' ? 3 : 4).then(res => { + apiCase.queryPraisesNew(3,this.popularityName == '季度' ? 1 : 2).then(res => { if(res.status == 200) { this.Popularity = res.result } @@ -1814,7 +1814,7 @@ export default { // // } // } // }); - apiCase.queryCommentsNew(3,this.favorableName == '季度' ? 1 : 2).then(res => { + apiCase.queryCommentsNew(3,this.favorableName == '季度' ? 3 : 4).then(res => { if(res.status == 200) { this.Positive = res.result }