修改接口

master
夜笙歌 9 months ago
parent 1181b9d4fe
commit e87e1fe9e0

@ -503,7 +503,7 @@ export default {
}, },
{ {
e: 'nd-11', e: 'nd-11',
i: "", i: "scada_xk_fp_01('')",
f: (e) => { f: (e) => {
this.$refs.chart4.setData({ this.$refs.chart4.setData({
legend: { legend: {
@ -533,7 +533,7 @@ export default {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
data: e.x, data: e.map(val=>val.X_VALUE),
axisLine: { axisLine: {
lineStyle: { lineStyle: {
color: "white", color: "white",
@ -563,7 +563,7 @@ export default {
}, },
series: [ series: [
{ {
name: e.y.name, name:'运行中夹具数量',
type: "bar", type: "bar",
barWidth: '30%', barWidth: '30%',
barMaxWidth: 50, barMaxWidth: 50,
@ -593,7 +593,7 @@ export default {
]), ]),
}, },
}, },
data: e.y.data, data:e.map(val=>val.Y_VALUE),
} }
] ]
}) })

Loading…
Cancel
Save