diff --git a/src/views/bigScreen/index_gx.vue b/src/views/bigScreen/index_gx.vue index 05eb5c6f..b8d5040e 100644 --- a/src/views/bigScreen/index_gx.vue +++ b/src/views/bigScreen/index_gx.vue @@ -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}
{b}: {c} ({d}%)' - }, - legend: { - show:true, - itemWidth: 12, - itemHeight: 12, - orient: 'vertical', - right: '1%', - textStyle:{ - color:"#ffffff" - }, - }, + // tooltip: { + // trigger: 'item', + // formatter: '{a}
{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); }) }