|
|
@ -218,7 +218,7 @@ export default { |
|
|
TableHeight: '', |
|
|
TableHeight: '', |
|
|
pieData: {}, |
|
|
pieData: {}, |
|
|
agencyId: '', |
|
|
agencyId: '', |
|
|
level:'', |
|
|
level: '' |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
components: { |
|
|
components: { |
|
|
@ -227,7 +227,7 @@ export default { |
|
|
computed: { |
|
|
computed: { |
|
|
maxTableHeight() { |
|
|
maxTableHeight() { |
|
|
this.TableHeight = this.$store.state.inIframe ? this.clientHeight - 431 + this.iframeHeigh : this.clientHeight - 431; |
|
|
this.TableHeight = this.$store.state.inIframe ? this.clientHeight - 431 + this.iframeHeigh : this.clientHeight - 431; |
|
|
console.log("this.TableHeight",this.TableHeight) |
|
|
console.log('this.TableHeight', this.TableHeight); |
|
|
return this.TableHeight; |
|
|
return this.TableHeight; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
@ -443,6 +443,7 @@ export default { |
|
|
// 获取饼状图 |
|
|
// 获取饼状图 |
|
|
async iniPieChart(chartData) { |
|
|
async iniPieChart(chartData) { |
|
|
this.$refs.pieChart.clear(); |
|
|
this.$refs.pieChart.clear(); |
|
|
|
|
|
|
|
|
// 获取pieChart配置 |
|
|
// 获取pieChart配置 |
|
|
this.pieOption = { |
|
|
this.pieOption = { |
|
|
grid: { |
|
|
grid: { |
|
|
@ -492,7 +493,9 @@ export default { |
|
|
lineStyle: { |
|
|
lineStyle: { |
|
|
color: '#F3F7FD' |
|
|
color: '#F3F7FD' |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
|
|
|
min: 0, |
|
|
|
|
|
max: 1000 |
|
|
}, |
|
|
}, |
|
|
series: [ |
|
|
series: [ |
|
|
{ |
|
|
{ |
|
|
@ -501,11 +504,14 @@ export default { |
|
|
type: 'bar', |
|
|
type: 'bar', |
|
|
itemStyle: { |
|
|
itemStyle: { |
|
|
color: 'rgb(33, 149, 254)', |
|
|
color: 'rgb(33, 149, 254)', |
|
|
borderRadius: [4, 4, 0, 0], |
|
|
borderRadius: [4, 4, 0, 0] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
|
}; |
|
|
}; |
|
|
|
|
|
if (chartData.data.length>0) { |
|
|
|
|
|
this.pieOption.yAxis.max=null |
|
|
|
|
|
} |
|
|
this.$refs.pieChart.setOption(this.pieOption); |
|
|
this.$refs.pieChart.setOption(this.pieOption); |
|
|
}, |
|
|
}, |
|
|
handelClickMyPei(param) { |
|
|
handelClickMyPei(param) { |
|
|
@ -604,5 +610,4 @@ export default { |
|
|
border-radius: 6px; |
|
|
border-radius: 6px; |
|
|
color: #fff; |
|
|
color: #fff; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
</style> |
|
|
</style> |
|
|
|