Browse Source

事件分类分析

shibei_master
ZhaoTongYao 3 years ago
parent
commit
6c7e15643a
  1. 8
      src/views/modules/visual/communityGovern/shijianfenlei/shijianfenleifenxi.vue

8
src/views/modules/visual/communityGovern/shijianfenlei/shijianfenleifenxi.vue

@ -395,7 +395,7 @@ export default {
orgType: this.orgType, orgType: this.orgType,
queryStartTime: this.queryStartTime, queryStartTime: this.queryStartTime,
queryEndTime: this.queryEndTime, queryEndTime: this.queryEndTime,
categoryCode: this.categoryCode categoryCode: this.isFirstLoadPie ? '' : this.categoryCode
} }
const { data, code, msg } = await requestPost(url, params) const { data, code, msg } = await requestPost(url, params)
if (this.$refs.gridPieChart) { if (this.$refs.gridPieChart) {
@ -415,7 +415,6 @@ export default {
this.gridPieData.push(ob) this.gridPieData.push(ob)
}) })
this.getGridPie() this.getGridPie()
this.isFirstLoadPie = false
} else { } else {
this.$message.error(msg) this.$message.error(msg)
} }
@ -430,7 +429,7 @@ export default {
queryStartTime: this.queryStartTime, queryStartTime: this.queryStartTime,
queryEndTime: this.queryEndTime, queryEndTime: this.queryEndTime,
processStatus: this.processStatus, // processing,closed_case processStatus: this.processStatus, // processing,closed_case
categoryCode: this.categoryCode, categoryCode: this.isFirstLoadTable ? '' : this.categoryCode,
pageNo: this.demand.pageNo, pageNo: this.demand.pageNo,
pageSize: this.demand.pageSize, pageSize: this.demand.pageSize,
} }
@ -453,7 +452,6 @@ export default {
{ type: "operate", list: ["查看"] }, { type: "operate", list: ["查看"] },
] ]
}) })
this.isFirstLoadTable = false
} else { } else {
this.$message.error(msg) this.$message.error(msg)
} }
@ -635,6 +633,8 @@ export default {
this.demand.pageNo = 1 this.demand.pageNo = 1
this.getTable() this.getTable()
} }
this.isFirstLoadPie = false
this.isFirstLoadTable = false
}, },
handleChangeAgency (value) { handleChangeAgency (value) {

Loading…
Cancel
Save