Commit 3033f611 authored by 李苏's avatar 李苏 💬

防止接口错误未渲染

parent 8d495143
...@@ -2008,12 +2008,17 @@ function oaechart(chart) { ...@@ -2008,12 +2008,17 @@ function oaechart(chart) {
itemStyle: { itemStyle: {
normal: { normal: {
label: { label: {
textStyle: {
fontSize:10
},
show: true, show: true,
// formatter: '{b} : {c} ({d}%)' // formatter: '{b} : {c} ({d}%)'
formatter: '{b}:({d}%)' formatter: '{b}:({d}%)'
}, },
labelLine: { labelLine: {
show: true show: true,
} }
} }
}, },
...@@ -2062,7 +2067,11 @@ function setproduceEchart(chart,apidata) { ...@@ -2062,7 +2067,11 @@ function setproduceEchart(chart,apidata) {
}, },
axisLabel: { axisLabel: {
show: true, show: true,
color: 'white' color: 'white',
textStyle: {
// color: '#000',
fontSize:'10',
}
} }
}, },
......
...@@ -351,7 +351,7 @@ ...@@ -351,7 +351,7 @@
var chartTzzp=echarts.init(document.getElementById("chartzzp")); var chartTzzp=echarts.init(document.getElementById("chartzzp"));
setproduceEchart(chartTzzp)/* 在制品状态 */ setproduceEchart(chartTzzp)/* 在制品状态 */
oaechart(myChartSdcl); /*oa*/ oaechart(myChartSdcl); /*oa*/
setDailyDataEchart(chartRpcdcsj); /*日排产达成数据*/ setRclHglEchart(chartRpcdcsj); /*日排产达成数据*/
// setHglEchart(chartHgl);/*合格率*/ // setHglEchart(chartHgl);/*合格率*/
setPieDailyChart(chartRjh,80);/*日计划*/ setPieDailyChart(chartRjh,80);/*日计划*/
setPieDailyChart(chartYjh,80); setPieDailyChart(chartYjh,80);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment