大屏
This commit is contained in:
@@ -363,6 +363,13 @@
|
||||
axisLabel: {color: '#8FABBF', fontSize: 12},
|
||||
axisLine: { lineStyle: { color: 'rgba(179, 223, 255, 0.4)' } }
|
||||
},
|
||||
tooltip: {
|
||||
trigger: 'axis',
|
||||
backgroundColor: 'rgba(0, 102, 154, 0.65)',
|
||||
borderColor: 'rgba(0, 102, 154, 0.65)',
|
||||
textStyle: { color: '#fff' },
|
||||
axisPointer: { type: 'cross' }
|
||||
},
|
||||
grid: {
|
||||
left: '0%',
|
||||
right: '0%',
|
||||
@@ -433,12 +440,28 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
daemon: {
|
||||
type: 'bar',
|
||||
barWidth: 14,
|
||||
barCategoryGap: 40,
|
||||
itemStyle: {}
|
||||
}
|
||||
series: [
|
||||
{
|
||||
name: '已办结',
|
||||
type: 'bar',
|
||||
barWidth: '8'
|
||||
},
|
||||
{
|
||||
name: '待受理',
|
||||
barWidth: '8',
|
||||
type: 'bar'
|
||||
},
|
||||
{
|
||||
name: '处理中',
|
||||
barWidth: '8',
|
||||
type: 'bar'
|
||||
},
|
||||
{
|
||||
name: '已拒绝',
|
||||
barWidth: '8',
|
||||
type: 'bar'
|
||||
}
|
||||
]
|
||||
},
|
||||
wxGridReportOverviewInfo: {},
|
||||
tableData1: [],
|
||||
@@ -617,7 +640,6 @@
|
||||
|
||||
methods: {
|
||||
mapStatus (status, type) {
|
||||
console.log(status)
|
||||
const index = Number(status)
|
||||
return [{
|
||||
color: '#FFB300',
|
||||
@@ -718,10 +740,10 @@
|
||||
this.chartData3 = res.data.map(v => {
|
||||
return {
|
||||
name: v['二级分类名称'],
|
||||
'已办结': v['已办结'],
|
||||
'待受理': v['待处理'],
|
||||
'处理中': v['处理中'],
|
||||
'已拒绝': v['已拒绝']
|
||||
'已办结': v['已办结'] || 0,
|
||||
'待受理': v['待处理'] || 0,
|
||||
'处理中': v['处理中'] || 0,
|
||||
'已拒绝': v['已拒绝'] || 0
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user