修改接口

master
夜笙歌 11 months ago
parent 440d476ce7
commit 8859fd7d47

@ -84,23 +84,23 @@
<div :style='"background-color:" + ((index % 2 === 0)? "#053460":"#032d57") '>
<div
class="scrollTableItem" style="width: 20%">
{{ item.value1 }}
{{ item.COLUMN_A }}
</div>
<div
class="scrollTableItem" style="width: 20%">
{{ item.value2 }}
{{ item.COLUMN_B }}
</div>
<div
class="scrollTableItem" style="width: 20%">
{{ item.value3 }}
{{ item.COLUMN_C }}
</div>
<div
class="scrollTableItem" style="width: 20%">
{{ item.value4 }}
{{ item.COLUMN_D }}
</div>
<div
class="scrollTableItem" style="width: 20%">
{{ item.value5 }}
{{ item.COLUMN_E }}
</div>
</div>
</div>
@ -604,7 +604,7 @@ export default {
},
xAxis: {
type: "category",
data: e.x,
data: e.map(val=>val.X_VALUE),
axisLine: {
lineStyle: {
color: "white",
@ -634,7 +634,7 @@ export default {
},
series: [
{
name: e.y.name,
name: '数量',
type: "bar",
barWidth: "40%",
label: {
@ -659,7 +659,7 @@ export default {
borderRadius: 3,
},
},
data: e.y.data,
data: e.map(val=>val.Y_VALUE),
},
],
})
@ -695,7 +695,7 @@ export default {
containLabel: true,
},
legend: {
data: e.y.map(val => val.name),
data: ['POL压力','ISO压力'],
right: 'center',
top: 0,
textStyle: {
@ -707,7 +707,7 @@ export default {
},
xAxis: {
type: "category",
data: e.x,
data: e.map(val=>val.X_VALUE),
axisLine: {
lineStyle: {
color: "white",
@ -739,7 +739,7 @@ export default {
},
series: [
{
name: e.y[0].name,
name: 'POL压力',
type: "bar",
barWidth: "30%",
label: {
@ -764,10 +764,10 @@ export default {
borderRadius: 2,
},
},
data: e.y[0].data,
data: e.map(val=>val.Y_VALUE_ONE),
},
{
name: e.y[1].name,
name: 'ISO压力',
type: "bar",
barWidth: "30%",
barGap: '40%',
@ -793,7 +793,7 @@ export default {
borderRadius: 2,
},
},
data: e.y[1].data,
data: e.map(val=>val.Y_VALUE_TWO),
},
],
})
@ -805,7 +805,7 @@ export default {
f: (e) => {
this.$refs.chart3.setData({
legend: {
data: e.y.map(val => val.name),
data: ['POL温度','ISO温度'],
right: 'center',
top: 0,
textStyle: {
@ -872,7 +872,7 @@ export default {
show: false,
},
boundaryGap: false,
data: e.x,
data: e.map(val=>val.X_VALUE),
},
],
@ -905,7 +905,7 @@ export default {
],
series: [
{
name: e.y[0].name,
name: 'POL温度',
type: "line",
showAllSymbol: true,
symbol: "circle",
@ -948,10 +948,10 @@ export default {
shadowBlur: 20,
},
},
data: e.y[0].data,
data: e.map(val=>val.Y_VALUE_ONE),
},
{
name: e.y[1].name,
name: 'ISO温度',
type: "line",
// smooth: true, //
showAllSymbol: true,
@ -997,7 +997,7 @@ export default {
shadowBlur: 20,
},
},
data: e.y[1].data,
data: e.map(val=>val.Y_VALUE_TWO),
},
],
})
@ -1024,7 +1024,7 @@ export default {
},
xAxis: {
type: "category",
data: e.x,
data: e.map(val=>val.X_VALUE),
axisLine: {
lineStyle: {
color: "white",
@ -1054,7 +1054,7 @@ export default {
},
series: [
{
name: e.y.name,
name: '数量',
type: "bar",
barWidth: "33%",
label: {
@ -1079,7 +1079,7 @@ export default {
borderRadius: 2,
},
},
data: e.y.data,
data: e.map(val=>val.Y_VALUE),
},
],
})
@ -1129,7 +1129,7 @@ export default {
},
xAxis: {
type: "category",
data: e.x,
data: e.map(val=>val.X_VALUE),
axisLine: {
lineStyle: {
color: "white",
@ -1159,7 +1159,7 @@ export default {
},
series: [
{
name: e.y.name,
name: '数量',
type: "bar",
barWidth: "40%",
label: {
@ -1184,7 +1184,7 @@ export default {
borderRadius: 3,
},
},
data: e.y.data,
data: e.map(val=>val.Y_VALUE),
},
],
})
@ -1218,7 +1218,7 @@ export default {
containLabel: true,
},
legend: {
data: e.y.map(val => val.name),
data: ['POL压力','ISO压力'],
right: 'center',
top: 0,
textStyle: {
@ -1230,7 +1230,7 @@ export default {
},
xAxis: {
type: "category",
data: e.x,
data: e.map(val=>val.X_VALUE),
axisLine: {
lineStyle: {
color: "white",
@ -1247,6 +1247,8 @@ export default {
yAxis: {
type: "value",
min:10,
max:14,
axisLine: {
show: false,
lineStyle: {
@ -1260,7 +1262,7 @@ export default {
},
series: [
{
name: e.y[0].name,
name: 'POL压力',
type: "bar",
barWidth: "30%",
label: {
@ -1285,10 +1287,10 @@ export default {
borderRadius: 2,
},
},
data: e.y[0].data,
data: e.map(val=>val.Y_VALUE_ONE),
},
{
name: e.y[1].name,
name: 'ISO压力',
type: "bar",
barWidth: "30%",
barGap: '40%',
@ -1314,7 +1316,7 @@ export default {
borderRadius: 2,
},
},
data: e.y[1].data,
data: e.map(val=>val.Y_VALUE_TWO),
},
],
})
@ -1326,7 +1328,7 @@ export default {
f: (e) => {
this.$refs.chart3.setData({
legend: {
data: e.y.map(val => val.name),
data: ['POL温度','ISO温度'],
right: 'center',
top: 0,
textStyle: {
@ -1393,7 +1395,7 @@ export default {
show: false,
},
boundaryGap: false,
data: e.x,
data: e.map(val=>val.X_VALUE),
},
],
@ -1426,7 +1428,7 @@ export default {
],
series: [
{
name: e.y[0].name,
name: 'POL温度',
type: "line",
showAllSymbol: true,
symbol: "circle",
@ -1469,10 +1471,10 @@ export default {
shadowBlur: 20,
},
},
data: e.y[0].data,
data: e.map(val=>val.Y_VALUE_ONE),
},
{
name: e.y[1].name,
name: 'ISO温度',
type: "line",
// smooth: true, //
showAllSymbol: true,
@ -1518,7 +1520,7 @@ export default {
shadowBlur: 20,
},
},
data: e.y[1].data,
data: e.map(val=>val.Y_VALUE_TWO),
},
],
})
@ -1545,7 +1547,7 @@ export default {
},
xAxis: {
type: "category",
data: e.x,
data: e.map(val=>val.X_VALUE),
axisLine: {
lineStyle: {
color: "white",
@ -1575,7 +1577,7 @@ export default {
},
series: [
{
name: e.y.name,
name: '数量',
type: "bar",
barWidth: "33%",
label: {
@ -1600,7 +1602,7 @@ export default {
borderRadius: 2,
},
},
data: e.y.data,
data: e.map(val=>val.Y_VALUE),
},
],
})

Loading…
Cancel
Save