修改看板

master
夜笙歌 1 year ago
parent 3281005500
commit f51abffcdd

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

@ -358,7 +358,7 @@ export default {
},
xAxis: {
type: "category",
data: e.chart7.x,
data: e.chart3.x,
axisLine: {
lineStyle: {
color: "white",
@ -388,7 +388,7 @@ export default {
},
series: [
{
name: e.chart7.y.name,
name: e.chart3.y.name,
type: "bar",
barWidth: "30%",
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: [
{
@ -302,7 +302,7 @@ export default {
},
xAxis: {
type: "category",
data: e.chart7.x,
data: e.chart3.x,
axisLine: {
lineStyle: {
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: [
{
type: "value",
min: 0,
// max: 140,
min: 18,
max: 24,
splitNumber: 4,
splitLine: {
show: true,

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