|
|
|
@ -71,8 +71,8 @@
|
|
|
|
|
<span>D</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="chartSpan1">东线</div>
|
|
|
|
|
<div class="chartSpan2">西线</div>
|
|
|
|
|
<div class="chartSpan1" v-if="$route.query.id === '1' || id === '1'">东线</div>
|
|
|
|
|
<div class="chartSpan2" v-if="$route.query.id === '1' || id === '1'">西线</div>
|
|
|
|
|
|
|
|
|
|
<div class="supplementInfo">注射压力标准范围:10.0-14.0Mpa A、B组份枪头压力差≤1Mpa</div>
|
|
|
|
|
<div class="supplementInfo1">发泡料温度标准范围:18.0-24.0℃</div>
|
|
|
|
@ -513,7 +513,8 @@ export default {
|
|
|
|
|
formatter: (e) => {
|
|
|
|
|
if (e.data === 0) {
|
|
|
|
|
return ''
|
|
|
|
|
}else{}
|
|
|
|
|
} else {
|
|
|
|
|
}
|
|
|
|
|
return e.data
|
|
|
|
|
},
|
|
|
|
|
position: "top",
|
|
|
|
@ -545,12 +546,10 @@ export default {
|
|
|
|
|
{
|
|
|
|
|
e: 'fp-1-05',
|
|
|
|
|
i: "SCADA_INV_STATS_01('')",
|
|
|
|
|
t:2,
|
|
|
|
|
f: (e) => {
|
|
|
|
|
// this.scrollTableData1 = e
|
|
|
|
|
getFoamingData({
|
|
|
|
|
"PRODUCT_LINE_CODE": "CX_01"
|
|
|
|
|
}).then(e => {
|
|
|
|
|
let table = e.data?.map(val => {
|
|
|
|
|
console.log(JSON.stringify(e))
|
|
|
|
|
let table = e.map(val => {
|
|
|
|
|
return {
|
|
|
|
|
value1: val.EQUIPMENT_CODE,
|
|
|
|
|
value2: val.FIXTUREBOXTYPE,
|
|
|
|
@ -593,9 +592,6 @@ export default {
|
|
|
|
|
value15: totalArr.map(val => val.value18).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
value16: totalArr.map(val => val.value19).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -670,7 +666,8 @@ export default {
|
|
|
|
|
formatter: (e) => {
|
|
|
|
|
if (e.data === 0) {
|
|
|
|
|
return ''
|
|
|
|
|
}else{}
|
|
|
|
|
} else {
|
|
|
|
|
}
|
|
|
|
|
return e.data
|
|
|
|
|
},
|
|
|
|
|
position: "top",
|
|
|
|
@ -711,7 +708,8 @@ export default {
|
|
|
|
|
formatter: (e) => {
|
|
|
|
|
if (e.data === 0) {
|
|
|
|
|
return ''
|
|
|
|
|
}else{}
|
|
|
|
|
} else {
|
|
|
|
|
}
|
|
|
|
|
return e.data
|
|
|
|
|
},
|
|
|
|
|
position: "top",
|
|
|
|
@ -868,7 +866,8 @@ export default {
|
|
|
|
|
formatter: (e) => {
|
|
|
|
|
if (e.data === 0) {
|
|
|
|
|
return ''
|
|
|
|
|
}else{}
|
|
|
|
|
} else {
|
|
|
|
|
}
|
|
|
|
|
return e.data
|
|
|
|
|
},
|
|
|
|
|
textStyle: {
|
|
|
|
@ -901,7 +900,7 @@ export default {
|
|
|
|
|
shadowBlur: 20,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.map(val => val.Y_VALUE_ONE),
|
|
|
|
|
data: e.map(val => val.Y_VALUE_ONE === 0 ? null : val.Y_VALUE_ONE),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'ISO温度',
|
|
|
|
@ -922,7 +921,8 @@ export default {
|
|
|
|
|
formatter: (e) => {
|
|
|
|
|
if (e.data === 0) {
|
|
|
|
|
return ''
|
|
|
|
|
}else{}
|
|
|
|
|
} else {
|
|
|
|
|
}
|
|
|
|
|
return e.data
|
|
|
|
|
},
|
|
|
|
|
textStyle: {
|
|
|
|
@ -956,7 +956,7 @@ export default {
|
|
|
|
|
shadowBlur: 20,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.map(val => val.Y_VALUE_TWO),
|
|
|
|
|
data: e.map(val => val.Y_VALUE_TWO === 0 ? null : val.Y_VALUE_TWO),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
})
|
|
|
|
@ -990,7 +990,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
axisLabel: {
|
|
|
|
|
// interval: 0,
|
|
|
|
|
interval: 0,
|
|
|
|
|
// rotate: 40,
|
|
|
|
|
textStyle: {
|
|
|
|
|
fontFamily: "Microsoft YaHei",
|
|
|
|
@ -1021,7 +1021,8 @@ export default {
|
|
|
|
|
formatter: (e) => {
|
|
|
|
|
if (e.data === 0) {
|
|
|
|
|
return ''
|
|
|
|
|
}else{}
|
|
|
|
|
} else {
|
|
|
|
|
}
|
|
|
|
|
return e.data
|
|
|
|
|
},
|
|
|
|
|
show: true,
|
|
|
|
@ -1066,6 +1067,7 @@ export default {
|
|
|
|
|
f: (e) => {
|
|
|
|
|
this.planNum = e[0].X_VALUE
|
|
|
|
|
this.practicalNum = e[0].Y_VALUE_ONE
|
|
|
|
|
this.differenceNum = e[0].Y_VALUE_TWO
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -1135,7 +1137,8 @@ export default {
|
|
|
|
|
formatter: (e) => {
|
|
|
|
|
if (e.data === 0) {
|
|
|
|
|
return ''
|
|
|
|
|
}else{}
|
|
|
|
|
} else {
|
|
|
|
|
}
|
|
|
|
|
return e.data
|
|
|
|
|
},
|
|
|
|
|
position: "top",
|
|
|
|
@ -1168,11 +1171,8 @@ export default {
|
|
|
|
|
e: 'fp-2-05',
|
|
|
|
|
i: "SCADA_INV_STATS_02('')",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
// this.scrollTableData1 = e
|
|
|
|
|
getFoamingData({
|
|
|
|
|
"PRODUCT_LINE_CODE": "CX_02"
|
|
|
|
|
}).then(e => {
|
|
|
|
|
let table = e.data?.map(val => {
|
|
|
|
|
console.log(e)
|
|
|
|
|
let table = e.map(val => {
|
|
|
|
|
return {
|
|
|
|
|
value1: val.EQUIPMENT_CODE,
|
|
|
|
|
value2: val.FIXTUREBOXTYPE,
|
|
|
|
@ -1195,14 +1195,13 @@ export default {
|
|
|
|
|
value19: val.TWELVEHOUR,
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
this.scrollTableData1 = table
|
|
|
|
|
let totalArr = table
|
|
|
|
|
this.total = {
|
|
|
|
|
value1: ((totalArr.filter(val => val.value3 === '生产中').length / 6) * 100).toFixed(2),
|
|
|
|
|
value2: totalArr.map(val => val.value5).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
value3: totalArr.map(val => val.value6).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
value4: totalArr.map(val => val.value4).reduce((acc, curr) => acc + curr, 0) === 0 ? 0 : ((totalArr.map(val => val.value6).reduce((acc, curr) => acc + curr, 0) / totalArr.map(val => val.value4).reduce((acc, curr) => acc + curr, 0)) * 100).toFixed(2),
|
|
|
|
|
value4: totalArr.map(val => val.value5).reduce((acc, curr) => acc + curr, 0) === 0 ? 0 : ((totalArr.map(val => val.value6).reduce((acc, curr) => acc + curr, 0) / totalArr.map(val => val.value5).reduce((acc, curr) => acc + curr, 0)) * 100).toFixed(2),
|
|
|
|
|
value5: totalArr.map(val => val.value8).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
value6: totalArr.map(val => val.value9).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
value7: totalArr.map(val => val.value10).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
@ -1216,7 +1215,6 @@ export default {
|
|
|
|
|
value15: totalArr.map(val => val.value18).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
value16: totalArr.map(val => val.value19).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -1292,7 +1290,8 @@ export default {
|
|
|
|
|
formatter: (e) => {
|
|
|
|
|
if (e.data === 0) {
|
|
|
|
|
return ''
|
|
|
|
|
}else{}
|
|
|
|
|
} else {
|
|
|
|
|
}
|
|
|
|
|
return e.data
|
|
|
|
|
},
|
|
|
|
|
textStyle: {
|
|
|
|
@ -1333,7 +1332,8 @@ export default {
|
|
|
|
|
formatter: (e) => {
|
|
|
|
|
if (e.data === 0) {
|
|
|
|
|
return ''
|
|
|
|
|
}else{}
|
|
|
|
|
} else {
|
|
|
|
|
}
|
|
|
|
|
return e.data
|
|
|
|
|
},
|
|
|
|
|
position: "top",
|
|
|
|
@ -1489,7 +1489,8 @@ export default {
|
|
|
|
|
formatter: (e) => {
|
|
|
|
|
if (e.data === 0) {
|
|
|
|
|
return ''
|
|
|
|
|
}else{}
|
|
|
|
|
} else {
|
|
|
|
|
}
|
|
|
|
|
return e.data
|
|
|
|
|
},
|
|
|
|
|
position: "top",
|
|
|
|
@ -1523,7 +1524,7 @@ export default {
|
|
|
|
|
shadowBlur: 20,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.map(val => val.Y_VALUE_ONE),
|
|
|
|
|
data: e.map(val => val.Y_VALUE_ONE === 0 ? null : val.Y_VALUE_ONE),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'ISO温度',
|
|
|
|
@ -1543,7 +1544,8 @@ export default {
|
|
|
|
|
formatter: (e) => {
|
|
|
|
|
if (e.data === 0) {
|
|
|
|
|
return ''
|
|
|
|
|
}else{}
|
|
|
|
|
} else {
|
|
|
|
|
}
|
|
|
|
|
return e.data
|
|
|
|
|
},
|
|
|
|
|
position: "top",
|
|
|
|
@ -1578,7 +1580,7 @@ export default {
|
|
|
|
|
shadowBlur: 20,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.map(val => val.Y_VALUE_TWO),
|
|
|
|
|
data: e.map(val => val.Y_VALUE_TWO === 0 ? null : val.Y_VALUE_TWO),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
})
|
|
|
|
@ -1612,7 +1614,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
axisLabel: {
|
|
|
|
|
// interval: 0,
|
|
|
|
|
interval: 0,
|
|
|
|
|
// rotate: 40,
|
|
|
|
|
textStyle: {
|
|
|
|
|
fontFamily: "Microsoft YaHei",
|
|
|
|
@ -1644,7 +1646,8 @@ export default {
|
|
|
|
|
formatter: (e) => {
|
|
|
|
|
if (e.data === 0) {
|
|
|
|
|
return ''
|
|
|
|
|
}else{}
|
|
|
|
|
} else {
|
|
|
|
|
}
|
|
|
|
|
return e.data
|
|
|
|
|
},
|
|
|
|
|
position: "top",
|
|
|
|
@ -2027,6 +2030,7 @@ export default {
|
|
|
|
|
background: #00ff00;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.left1 {
|
|
|
|
|
background-image: url("../../../assets/board/left.png");
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
@ -2037,6 +2041,7 @@ export default {
|
|
|
|
|
left: 32%;
|
|
|
|
|
width: 5vw;
|
|
|
|
|
height: 4.05vw;
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
position: absolute;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
@ -2046,6 +2051,7 @@ export default {
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.left2 {
|
|
|
|
|
background-image: url("../../../assets/board/right.png");
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
@ -2056,6 +2062,7 @@ export default {
|
|
|
|
|
left: 55%;
|
|
|
|
|
width: 5vw;
|
|
|
|
|
height: 2.86vw;
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
position: absolute;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
@ -2065,6 +2072,7 @@ export default {
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.right1 {
|
|
|
|
|
background-image: url("../../../assets/board/right.png");
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
@ -2075,6 +2083,7 @@ export default {
|
|
|
|
|
left: 57%;
|
|
|
|
|
width: 5vw;
|
|
|
|
|
height: 2.86vw;
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
position: absolute;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
@ -2084,6 +2093,7 @@ export default {
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.right2 {
|
|
|
|
|
background-image: url("../../../assets/board/right.png");
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
@ -2094,6 +2104,7 @@ export default {
|
|
|
|
|
left: 68%;
|
|
|
|
|
width: 5vw;
|
|
|
|
|
height: 2.86vw;
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
position: absolute;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
@ -2103,6 +2114,7 @@ export default {
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chartSpan1 {
|
|
|
|
|
position: absolute;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
@ -2111,6 +2123,7 @@ export default {
|
|
|
|
|
font-size: 0.8vw;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chartSpan1 {
|
|
|
|
|
position: absolute;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
@ -2119,6 +2132,7 @@ export default {
|
|
|
|
|
font-size: 0.8vw;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chartSpan2 {
|
|
|
|
|
position: absolute;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|