From 6c7e15643a8648838aecb9ef6acb1aec6d76cba6 Mon Sep 17 00:00:00 2001 From: ZhaoTongYao <531131322@qq.com> Date: Fri, 20 May 2022 18:22:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E5=88=86=E7=B1=BB=E5=88=86?= =?UTF-8?q?=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../communityGovern/shijianfenlei/shijianfenleifenxi.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) {