diff --git a/src/views/modules/visual/communityGovern/shijianfenlei/shijianfenleifenxi.vue b/src/views/modules/visual/communityGovern/shijianfenlei/shijianfenleifenxi.vue index 3a73da80..2d0b7025 100644 --- a/src/views/modules/visual/communityGovern/shijianfenlei/shijianfenleifenxi.vue +++ b/src/views/modules/visual/communityGovern/shijianfenlei/shijianfenleifenxi.vue @@ -395,7 +395,7 @@ export default { orgType: this.orgType, queryStartTime: this.queryStartTime, queryEndTime: this.queryEndTime, - categoryCode: this.categoryCode + categoryCode: this.isFirstLoadPie ? '' : this.categoryCode } const { data, code, msg } = await requestPost(url, params) if (this.$refs.gridPieChart) { @@ -415,7 +415,6 @@ export default { this.gridPieData.push(ob) }) this.getGridPie() - this.isFirstLoadPie = false } else { this.$message.error(msg) } @@ -430,7 +429,7 @@ export default { queryStartTime: this.queryStartTime, queryEndTime: this.queryEndTime, processStatus: this.processStatus, // 处理状态,processing,closed_case。可为空,为空查询所有状态的事件列表 - categoryCode: this.categoryCode, + categoryCode: this.isFirstLoadTable ? '' : this.categoryCode, pageNo: this.demand.pageNo, pageSize: this.demand.pageSize, } @@ -453,7 +452,6 @@ export default { { type: "operate", list: ["查看"] }, ] }) - this.isFirstLoadTable = false } else { this.$message.error(msg) } @@ -635,6 +633,8 @@ export default { this.demand.pageNo = 1 this.getTable() } + this.isFirstLoadPie = false + this.isFirstLoadTable = false }, handleChangeAgency (value) {