|
@ -224,7 +224,8 @@ export default { |
|
|
orgType: 'agency', |
|
|
orgType: 'agency', |
|
|
queryStartTime: '', |
|
|
queryStartTime: '', |
|
|
queryEndTime: '', |
|
|
queryEndTime: '', |
|
|
processStatus: 'closed_case', |
|
|
// processStatus: 'closed_case', |
|
|
|
|
|
processStatus: '', |
|
|
dataType: '1', |
|
|
dataType: '1', |
|
|
|
|
|
|
|
|
casOptions: [], |
|
|
casOptions: [], |
|
@ -791,8 +792,13 @@ export default { |
|
|
// 图表初始化 |
|
|
// 图表初始化 |
|
|
initChart () { |
|
|
initChart () { |
|
|
this.$nextTick(() => { |
|
|
this.$nextTick(() => { |
|
|
// let statusChart = echarts.init(document.getElementById('cityGreenLand-charts')); |
|
|
|
|
|
|
|
|
if (!this.statusChart) { |
|
|
this.statusChart = echarts.init(document.getElementById('cityGreenLand')); |
|
|
this.statusChart = echarts.init(document.getElementById('cityGreenLand')); |
|
|
|
|
|
this.bindListen(this.statusChart) |
|
|
|
|
|
} |
|
|
|
|
|
// let statusChart = echarts.init(document.getElementById('cityGreenLand-charts')); |
|
|
|
|
|
|
|
|
// 传入数据生成 option, 构建3d饼状图, 参数工具文件已经备注的很详细 |
|
|
// 传入数据生成 option, 构建3d饼状图, 参数工具文件已经备注的很详细 |
|
|
this.option = getPie3D(this.optionData, 0.8, 300, 28, 22, 0.5, this.beta) |
|
|
this.option = getPie3D(this.optionData, 0.8, 300, 28, 22, 0.5, this.beta) |
|
|
console.log(this.option) |
|
|
console.log(this.option) |
|
@ -818,7 +824,7 @@ export default { |
|
|
|
|
|
|
|
|
}) |
|
|
}) |
|
|
this.statusChart.setOption(this.option) |
|
|
this.statusChart.setOption(this.option) |
|
|
this.bindListen(this.statusChart) |
|
|
|
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
@ -874,6 +880,7 @@ export default { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
this.getTable() |
|
|
this.getTable() |
|
|
|
|
|
|
|
|
}) |
|
|
}) |
|
|