|
|
@ -294,6 +294,7 @@ export default { |
|
|
|
this.queryEndTime = dateFormat(end, 'yyyy-MM-dd') + " 23:59:59" |
|
|
|
} |
|
|
|
if (index !== '0') { |
|
|
|
this.categoryCode = '' |
|
|
|
await this.getApiData() |
|
|
|
// this.assignData() |
|
|
|
} |
|
|
@ -306,6 +307,7 @@ export default { |
|
|
|
|
|
|
|
handleSelectChange (value) { |
|
|
|
console.log(value) |
|
|
|
this.categoryCode = '' |
|
|
|
this.queryStartTime = value[0] + " 00:00:00" |
|
|
|
this.queryEndTime = value[1] + " 23:59:59" |
|
|
|
this.getApiData() |
|
|
@ -366,7 +368,7 @@ export default { |
|
|
|
name: item.categoryName, |
|
|
|
categoryCode: item.categoryCode, |
|
|
|
color: item.color, |
|
|
|
selected: index == 0 ? true : false |
|
|
|
selected: false |
|
|
|
} |
|
|
|
this.pieData.push(ob) |
|
|
|
}) |
|
|
@ -405,7 +407,7 @@ export default { |
|
|
|
orgId: item.orgId, |
|
|
|
orgType: item.orgType, |
|
|
|
color: colorArray[colIndex], |
|
|
|
selected: index == 0 ? true : false |
|
|
|
selected: false |
|
|
|
} |
|
|
|
this.gridPieData.push(ob) |
|
|
|
}) |
|
|
@ -631,6 +633,7 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
handleChangeAgency (value) { |
|
|
|
this.categoryCode = '' |
|
|
|
let obj = this.$refs["myCascader"].getCheckedNodes()[0].data |
|
|
|
if (obj) { |
|
|
|
this.orgType = obj.level === 'grid' ? 'grid' : 'agency' |
|
|
|