fix:光芯大屏不合格项改动,以及表格滚动
This commit is contained in:
parent
3e63889dfc
commit
b1381d17cc
|
|
@ -234,7 +234,7 @@ const configData={
|
||||||
rowNum : 4,
|
rowNum : 4,
|
||||||
headerHeight : 35,
|
headerHeight : 35,
|
||||||
align : 'center',
|
align : 'center',
|
||||||
waitTime : 150000,
|
waitTime : 1000,
|
||||||
columnWidth: [110,68,68,68,68],
|
columnWidth: [110,68,68,68,68],
|
||||||
data : [],
|
data : [],
|
||||||
}
|
}
|
||||||
|
|
@ -430,25 +430,25 @@ export default {
|
||||||
//设备状态饼状图option
|
//设备状态饼状图option
|
||||||
option_eq: {
|
option_eq: {
|
||||||
color: ['rgb(145,204,117)', '#ffa500 ', 'rgb(250,200,88)', 'rgb(215,102,97)', 'rgb(185,51,46)' ],
|
color: ['rgb(145,204,117)', '#ffa500 ', 'rgb(250,200,88)', 'rgb(215,102,97)', 'rgb(185,51,46)' ],
|
||||||
tooltip: {
|
// tooltip: {
|
||||||
trigger: 'item',
|
// trigger: 'item',
|
||||||
formatter: '{a} <br/>{b}: {c} ({d}%)'
|
// formatter: '{a} <br/>{b}: {c} ({d}%)'
|
||||||
},
|
// },
|
||||||
legend: {
|
// legend: {
|
||||||
show:true,
|
// show:true,
|
||||||
itemWidth: 12,
|
// itemWidth: 12,
|
||||||
itemHeight: 12,
|
// itemHeight: 12,
|
||||||
orient: 'vertical',
|
// orient: 'vertical',
|
||||||
right: '1%',
|
// right: '1%',
|
||||||
textStyle:{
|
// textStyle:{
|
||||||
color:"#ffffff"
|
// color:"#ffffff"
|
||||||
},
|
// },
|
||||||
},
|
// },
|
||||||
series:{
|
series:{
|
||||||
name:'不良占比分布',
|
name:'不良占比分布',
|
||||||
type: 'pie',
|
type: 'pie',
|
||||||
radius: ['30%', '60%'],
|
radius: ['55%', '90%'],
|
||||||
center: ['25%', '50%'],
|
center: ['50%', '50%'],
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
borderRadius: 10,
|
borderRadius: 10,
|
||||||
borderWidth: 2
|
borderWidth: 2
|
||||||
|
|
@ -456,9 +456,12 @@ export default {
|
||||||
label: {
|
label: {
|
||||||
show: false,
|
show: false,
|
||||||
position: 'center',
|
position: 'center',
|
||||||
|
formatter: '{b} {d}%',
|
||||||
|
color: '#fff',
|
||||||
|
fontSize: 18,
|
||||||
},
|
},
|
||||||
labelLine: {
|
labelLine: {
|
||||||
show: false
|
show: true
|
||||||
},
|
},
|
||||||
emphasis: {
|
emphasis: {
|
||||||
label: {
|
label: {
|
||||||
|
|
@ -922,7 +925,7 @@ export default {
|
||||||
arr[1] = item.count_todo;
|
arr[1] = item.count_todo;
|
||||||
arr[2] = item.count_working;
|
arr[2] = item.count_working;
|
||||||
arr[3] = item.count_real;
|
arr[3] = item.count_real;
|
||||||
arr[3] = item.count_ok;
|
arr[4] = item.count_ok;
|
||||||
that[keys].data.push(arr);
|
that[keys].data.push(arr);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue