修改看板

master
夜笙歌 11 months ago
parent 3281005500
commit f51abffcdd

@ -165,7 +165,7 @@ export default {
containLabel: true, containLabel: true,
}, },
legend: { legend: {
data: e.chart1.y.map(val=>val.name), data: e.liner.ImportAndExportStatistics.y.map(val => val.name),
right: 'center', right: 'center',
top: 0, top: 0,
textStyle: { textStyle: {
@ -177,7 +177,7 @@ export default {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
data: e.chart1.x, data: e.liner.ImportAndExportStatistics.x,
axisLine: { axisLine: {
lineStyle: { lineStyle: {
color: "white", color: "white",
@ -207,7 +207,7 @@ export default {
}, },
series: [ series: [
{ {
name: e.chart1.y[0].name, name: e.liner.ImportAndExportStatistics.y[0].name,
type: "bar", type: "bar",
barWidth: "30%", barWidth: "30%",
barMaxWidth: 50, barMaxWidth: 50,
@ -220,15 +220,15 @@ export default {
}, },
{ {
offset: 1, offset: 1,
color: "#f5804d", color: "#5affa6",
}, },
]), ]),
}, },
}, },
data: e.chart1.y[0].data, data: e.liner.ImportAndExportStatistics.y[0].data,
}, },
{ {
name: e.chart1.y[1].name, name: e.liner.ImportAndExportStatistics.y[1].name,
type: "bar", type: "bar",
barWidth: "30%", barWidth: "30%",
barMaxWidth: 50, barMaxWidth: 50,
@ -237,16 +237,16 @@ export default {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{ {
offset: 0, offset: 0,
color: "#47cbfd", color: "#4adfff",
}, },
{ {
offset: 1, offset: 1,
color: "#3e8aff", color: "#3d7aff",
}, },
]), ]),
}, },
}, },
data: e.chart1.y[1].data, data: e.liner.ImportAndExportStatistics.y[1].data,
}, },
], ],
}) })
@ -352,6 +352,17 @@ export default {
], ],
}) })
this.$refs.chart3.setData({ this.$refs.chart3.setData({
legend: {
data: e.liner.foamFixtureState.y.map(val => val.name),
right: 'center',
top: 0,
textStyle: {
color: "#fff",
},
itemWidth: 12,
itemHeight: 10,
// itemGap: 35
},
tooltip: { tooltip: {
trigger: "axis", trigger: "axis",
axisPointer: { axisPointer: {
@ -368,7 +379,7 @@ export default {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
data: e.chart14.x, data: e.liner.foamFixtureState.x,
axisLine: { axisLine: {
lineStyle: { lineStyle: {
color: "white", color: "white",
@ -396,11 +407,11 @@ export default {
}, },
axisLabel: {}, axisLabel: {},
}, },
series: [ series: e.liner.foamFixtureState.y.map(val => {
{ return {
name: e.chart14.y.name, name: val.name,
type: "bar", type: "bar",
barWidth: "30%", barWidth: 100 / (e.liner.foamFixtureState.y.length + 2) + "%",
barMaxWidth: 50, barMaxWidth: 50,
itemStyle: { itemStyle: {
normal: { normal: {
@ -416,9 +427,9 @@ export default {
]), ]),
}, },
}, },
data: e.chart14.y.data, data: val.data,
}, }
], })
}) })
}) })
}, },

@ -358,7 +358,7 @@ export default {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
data: e.chart7.x, data: e.chart3.x,
axisLine: { axisLine: {
lineStyle: { lineStyle: {
color: "white", color: "white",
@ -388,7 +388,7 @@ export default {
}, },
series: [ series: [
{ {
name: e.chart7.y.name, name: e.chart3.y.name,
type: "bar", type: "bar",
barWidth: "30%", barWidth: "30%",
barMaxWidth: 50, barMaxWidth: 50,
@ -406,7 +406,7 @@ export default {
]), ]),
}, },
}, },
data: e.chart7.y.data, data: e.chart3.y.data,
}, },
], ],
}) })

@ -98,7 +98,7 @@ export default {
'工单计划', '工单计划',
'泡后库存', '泡后库存',
'小时产量', '小时产量',
'出入库统计', '统计',
], ],
titlePosition: [ titlePosition: [
{ {
@ -302,7 +302,7 @@ export default {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
data: e.chart7.x, data: e.chart3.x,
axisLine: { axisLine: {
lineStyle: { lineStyle: {
color: "white", color: "white",
@ -350,7 +350,7 @@ export default {
]), ]),
}, },
}, },
data: e.chart7.y.data, data: e.chart3.y.data,
}, },
], ],
}) })

@ -754,8 +754,8 @@ export default {
yAxis: [ yAxis: [
{ {
type: "value", type: "value",
min: 0, min: 18,
// max: 140, max: 24,
splitNumber: 4, splitNumber: 4,
splitLine: { splitLine: {
show: true, show: true,

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save