Merge remote-tracking branch 'yx/zcwy_0822_case' into dev0515

This commit is contained in:
nisen
2024-09-12 14:06:16 +08:00
2 changed files with 4 additions and 4 deletions

View File

@@ -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
}

View File

@@ -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
}