fix:光芯大屏不合格项改动,以及表格滚动

This commit is contained in:
shijing 2025-06-05 15:00:56 +08:00
parent 3e63889dfc
commit b1381d17cc
1 changed files with 22 additions and 19 deletions

View File

@ -234,7 +234,7 @@ const configData={
rowNum : 4,
headerHeight : 35,
align : 'center',
waitTime : 150000,
waitTime : 1000,
columnWidth: [110,68,68,68,68],
data : [],
}
@ -430,25 +430,25 @@ export default {
//option
option_eq: {
color: ['rgb(145,204,117)', '#ffa500 ', 'rgb(250,200,88)', 'rgb(215,102,97)', 'rgb(185,51,46)' ],
tooltip: {
trigger: 'item',
formatter: '{a} <br/>{b}: {c} ({d}%)'
},
legend: {
show:true,
itemWidth: 12,
itemHeight: 12,
orient: 'vertical',
right: '1%',
textStyle:{
color:"#ffffff"
},
},
// tooltip: {
// trigger: 'item',
// formatter: '{a} <br/>{b}: {c} ({d}%)'
// },
// legend: {
// show:true,
// itemWidth: 12,
// itemHeight: 12,
// orient: 'vertical',
// right: '1%',
// textStyle:{
// color:"#ffffff"
// },
// },
series:{
name:'不良占比分布',
type: 'pie',
radius: ['30%', '60%'],
center: ['25%', '50%'],
radius: ['55%', '90%'],
center: ['50%', '50%'],
itemStyle: {
borderRadius: 10,
borderWidth: 2
@ -456,9 +456,12 @@ export default {
label: {
show: false,
position: 'center',
formatter: '{b} {d}%',
color: '#fff',
fontSize: 18,
},
labelLine: {
show: false
show: true
},
emphasis: {
label: {
@ -922,7 +925,7 @@ export default {
arr[1] = item.count_todo;
arr[2] = item.count_working;
arr[3] = item.count_real;
arr[3] = item.count_ok;
arr[4] = item.count_ok;
that[keys].data.push(arr);
})
}