|
|
@ -137,6 +137,7 @@ const Console = (props) => { |
|
|
|
// }, |
|
|
|
}, |
|
|
|
yAxis: { |
|
|
|
name:'单位:次数', |
|
|
|
type: 'category', |
|
|
|
data: left1List.map((item) => { |
|
|
|
return item.projectName |
|
|
@ -294,6 +295,7 @@ const Console = (props) => { |
|
|
|
}, |
|
|
|
}, |
|
|
|
yAxis: { |
|
|
|
name:'单位:次数', |
|
|
|
type: 'value', |
|
|
|
// name: "单位:个", |
|
|
|
// nameLocation: "end", |
|
|
@ -322,7 +324,11 @@ const Console = (props) => { |
|
|
|
}, { |
|
|
|
t: '维修状态分析', |
|
|
|
echartOption: { |
|
|
|
tooltip: {}, |
|
|
|
tooltip: { |
|
|
|
formatter:(params)=>{ |
|
|
|
return params?.data.name+':'+params?.data.value+'个' |
|
|
|
} |
|
|
|
}, |
|
|
|
series: [ |
|
|
|
{ |
|
|
|
name:'维修状态分析', |
|
|
@ -332,6 +338,8 @@ const Console = (props) => { |
|
|
|
return {value: Number(item.count), name: item.status} |
|
|
|
})), |
|
|
|
label: { |
|
|
|
show: true, |
|
|
|
//formatter: '单位:次数', |
|
|
|
// name: right2List.map((item=>{ |
|
|
|
// return{} |
|
|
|
// })) |
|
|
|