Browse Source

优化

shibei_master
ZhaoTongYao 3 years ago
parent
commit
c02bdfccd3
  1. 7
      src/views/modules/visual/communityGovern/shijianfenlei/shijianfenleifenxi.vue

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

@ -239,6 +239,7 @@ export default {
queryEndTime: '', queryEndTime: '',
categoryCode: '', categoryCode: '',
tableOrgId: '', tableOrgId: '',
tableOrgType: '',
eventId: '', eventId: '',
processStatus: '' processStatus: ''
} }
@ -400,6 +401,7 @@ export default {
value: item.total, value: item.total,
name: item.orgName, name: item.orgName,
orgId: item.orgId, orgId: item.orgId,
orgType: item.orgType,
color: colorArray[colIndex], color: colorArray[colIndex],
selected: index == 0 ? true : false selected: index == 0 ? true : false
} }
@ -416,7 +418,7 @@ export default {
const url = '/gov/project/icEvent/processAnalysis/eventList' const url = '/gov/project/icEvent/processAnalysis/eventList'
let params = { let params = {
orgId: this.tableOrgId ? this.tableOrgId : this.orgId, orgId: this.tableOrgId ? this.tableOrgId : this.orgId,
orgType: this.orgType, orgType: this.tableOrgType ? this.tableOrgType : this.orgType,
queryStartTime: this.queryStartTime, queryStartTime: this.queryStartTime,
queryEndTime: this.queryEndTime, queryEndTime: this.queryEndTime,
processStatus: this.processStatus, // processing,closed_case processStatus: this.processStatus, // processing,closed_case
@ -538,6 +540,7 @@ export default {
// this.$refs.pieChart.hideLoading() // this.$refs.pieChart.hideLoading()
this.$refs.pieChart.setOption(this.pieOption) this.$refs.pieChart.setOption(this.pieOption)
this.tableOrgId = '' this.tableOrgId = ''
this.tableOrgType = ''
this.demand.pageNo = 1 this.demand.pageNo = 1
this.getGridPieData() this.getGridPieData()
}, },
@ -603,6 +606,8 @@ export default {
} }
} }
this.tableOrgId = element.orgId this.tableOrgId = element.orgId
this.tableOrgType = element.orgType
console.log(element)
} else { } else {
element.label = { element.label = {
show: false, show: false,

Loading…
Cancel
Save