|
|
|
@ -26,10 +26,10 @@
|
|
|
|
|
<div class="scrollTableItem" style="font-weight: bold; width: 8%;">
|
|
|
|
|
序号
|
|
|
|
|
</div>
|
|
|
|
|
<div class="scrollTableItem" style="font-weight: bold; width:10%;">
|
|
|
|
|
<div class="scrollTableItem" style="font-weight: bold; width:20%;">
|
|
|
|
|
订单编号
|
|
|
|
|
</div>
|
|
|
|
|
<div class="scrollTableItem" style="font-weight: bold;width: 47%">
|
|
|
|
|
<div class="scrollTableItem" style="font-weight: bold;width: 37%">
|
|
|
|
|
产品型号
|
|
|
|
|
</div>
|
|
|
|
|
<div class="scrollTableItem" style="font-weight: bold; width: 12%;">
|
|
|
|
@ -56,27 +56,27 @@
|
|
|
|
|
<div :style='"background-color:" + ((index % 2 === 0)? "#053460":"#032d57") '>
|
|
|
|
|
<div
|
|
|
|
|
class="scrollTableItem" style=" width: 8%;">
|
|
|
|
|
{{ index + 1 }}
|
|
|
|
|
{{ item.COLUMN_A }}
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="scrollTableItem" style=" width:10%;">
|
|
|
|
|
{{ item.value1 }}
|
|
|
|
|
class="scrollTableItem" style=" width:20%;">
|
|
|
|
|
{{ item.COLUMN_B }}
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="scrollTableItem" style="width: 47%">
|
|
|
|
|
{{ item.value2 }}
|
|
|
|
|
class="scrollTableItem" style="width: 37%">
|
|
|
|
|
{{ item.COLUMN_C }}
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="scrollTableItem" style=" width: 12%;">
|
|
|
|
|
{{ item.value3 }}
|
|
|
|
|
{{ item.COLUMN_D }}
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="scrollTableItem" style=" width: 12%;">
|
|
|
|
|
{{ item.value4 }}
|
|
|
|
|
{{ item.COLUMN_E }}
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="scrollTableItem" style=" width: 11%;">
|
|
|
|
|
{{ item.value5 }}
|
|
|
|
|
{{ item.COLUMN_F }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -117,7 +117,7 @@
|
|
|
|
|
<div v-html="safeDayHtml"></div>
|
|
|
|
|
<div class="totalNum">合计:{{ totalNum }}台</div>
|
|
|
|
|
<div class="info1">订单数量:{{ info1.ddsl }} 完成数量:{{ info1.wcsl }} 清单率:{{
|
|
|
|
|
((info1.wcsl / info1.ddsl) * 100).toFixed(2)
|
|
|
|
|
info1.wcsl === 0 ? 0 : ((info1.wcsl / info1.ddsl) * 100).toFixed(2)
|
|
|
|
|
}}%
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -196,8 +196,9 @@ export default {
|
|
|
|
|
RequestDataSet: [
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-1-01',
|
|
|
|
|
i: "",
|
|
|
|
|
i: "scada_aq_pro_tj_02('CX_01')",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
this.totalNum = e.reduce((v1, v2) => v1 + v2.Y_VALUE_TWO, 0)
|
|
|
|
|
this.$refs.topLeft.setData({
|
|
|
|
|
grid: {
|
|
|
|
|
top: "20%",
|
|
|
|
@ -214,7 +215,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
legend: {
|
|
|
|
|
right: '0',
|
|
|
|
|
data: e.y.map(e => e.name),
|
|
|
|
|
data: ['计划产量', '实际产量'],
|
|
|
|
|
textStyle: {
|
|
|
|
|
fontSize: 0.75 * vw,
|
|
|
|
|
color: "#F1F1F3",
|
|
|
|
@ -232,7 +233,7 @@ export default {
|
|
|
|
|
color: "#F1F1F3",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.x
|
|
|
|
|
data: e.map(e => e.X_VALUE),
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
yAxis: [
|
|
|
|
@ -253,7 +254,7 @@ export default {
|
|
|
|
|
],
|
|
|
|
|
series: [
|
|
|
|
|
{
|
|
|
|
|
name: e.y[0].name,
|
|
|
|
|
name: '计划产量',
|
|
|
|
|
type: 'bar',
|
|
|
|
|
barGap: 0,
|
|
|
|
|
emphasis: {
|
|
|
|
@ -276,10 +277,10 @@ export default {
|
|
|
|
|
fontSize: 0.75 * vw
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.y[0].data,
|
|
|
|
|
data: e.map(e => e.Y_VALUE_ONE),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: e.y[1].name,
|
|
|
|
|
name: '实际产量',
|
|
|
|
|
type: 'bar',
|
|
|
|
|
emphasis: {
|
|
|
|
|
focus: 'series'
|
|
|
|
@ -302,31 +303,21 @@ export default {
|
|
|
|
|
color: true ? '#9ce375' : "#4FD3B9",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.y[1].data,
|
|
|
|
|
data: e.map(e => e.Y_VALUE_TWO),
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-1-02',
|
|
|
|
|
i: "",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
this.totalNum = e
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-1-03',
|
|
|
|
|
i: "",
|
|
|
|
|
i: "scada_aq_pro_three_02('CX_01')",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
this.scrollTableData = e
|
|
|
|
|
this.info1 = {
|
|
|
|
|
ddsl: e.reduce((v1, v2) => v1 + parseFloat(v2.COLUMN_D) || 0, 0),
|
|
|
|
|
wcsl: e.reduce((v1, v2) => v1 + parseFloat(v2.COLUMN_E) || 0, 0)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-1-04',
|
|
|
|
|
i: "",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
this.info1 = e
|
|
|
|
|
this.scrollTableData = e
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -507,7 +498,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-1-06',
|
|
|
|
|
i: "",
|
|
|
|
|
i: "scada_aq_pro_xh_02('CX_01')",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
this.$refs.productionEfficiency.setData({
|
|
|
|
|
grid: {
|
|
|
|
@ -519,7 +510,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
dataZoom: [],
|
|
|
|
|
xAxis: {
|
|
|
|
|
data: e.x,
|
|
|
|
|
data: e.map(e => e.X_VALUE),
|
|
|
|
|
axisLine: {
|
|
|
|
|
lineStyle: {
|
|
|
|
|
color: "#0177d4",
|
|
|
|
@ -586,7 +577,7 @@ export default {
|
|
|
|
|
fontSize: 0.75 * vw
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.y.sort().reverse(),
|
|
|
|
|
data: e.map(e => e.Y_VALUE),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
})
|
|
|
|
@ -594,8 +585,9 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-1-07',
|
|
|
|
|
i: "",
|
|
|
|
|
i: "scada_aq_zj_gx_01('')",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
let data = e[0] || {}
|
|
|
|
|
this.$refs.equipmentPowerOne.setData({
|
|
|
|
|
series: [
|
|
|
|
|
{
|
|
|
|
@ -618,7 +610,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.nd,
|
|
|
|
|
value: parseFloat(data.COLUMN_A),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -637,7 +629,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_A) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|内胆检漏}"
|
|
|
|
|
);
|
|
|
|
@ -660,7 +652,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.nd,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_A),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -697,7 +689,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.gz,
|
|
|
|
|
value: parseFloat(data.COLUMN_B),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -716,7 +708,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_B) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|灌注}"
|
|
|
|
|
);
|
|
|
|
@ -739,7 +731,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.gz,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_B),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -776,7 +768,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.dy,
|
|
|
|
|
value: parseFloat(data.COLUMN_C),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -795,7 +787,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_C) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|低压检漏}"
|
|
|
|
|
);
|
|
|
|
@ -818,7 +810,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.dy,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_C),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -855,7 +847,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.ag,
|
|
|
|
|
value: parseFloat(data.COLUMN_D),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -874,7 +866,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_D) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|安规检}"
|
|
|
|
|
);
|
|
|
|
@ -897,7 +889,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.ag,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_D),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -934,7 +926,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.cw,
|
|
|
|
|
value: parseFloat(data.COLUMN_E),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -953,7 +945,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_E) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|测温}"
|
|
|
|
|
);
|
|
|
|
@ -976,7 +968,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.cw,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_E),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -1013,7 +1005,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.zj,
|
|
|
|
|
value: parseFloat(data.COLUMN_F),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -1032,7 +1024,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_F) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|终检}"
|
|
|
|
|
);
|
|
|
|
@ -1055,7 +1047,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.zj,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_F),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -1076,8 +1068,9 @@ export default {
|
|
|
|
|
RequestDataSet1: [
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-2-01',
|
|
|
|
|
i: "",
|
|
|
|
|
i: "scada_aq_pro_tj_02('CX_02')",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
this.totalNum = e.reduce((v1, v2) => v1 + v2.Y_VALUE_TWO, 0)
|
|
|
|
|
this.$refs.topLeft.setData({
|
|
|
|
|
grid: {
|
|
|
|
|
top: "20%",
|
|
|
|
@ -1094,7 +1087,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
legend: {
|
|
|
|
|
right: '0',
|
|
|
|
|
data: e.y.map(e => e.name),
|
|
|
|
|
data: ['计划产量', '实际产量'],
|
|
|
|
|
textStyle: {
|
|
|
|
|
fontSize: 0.75 * vw,
|
|
|
|
|
color: "#F1F1F3",
|
|
|
|
@ -1112,7 +1105,7 @@ export default {
|
|
|
|
|
color: "#F1F1F3",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.x
|
|
|
|
|
data: e.map(e => e.X_VALUE),
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
yAxis: [
|
|
|
|
@ -1133,7 +1126,7 @@ export default {
|
|
|
|
|
],
|
|
|
|
|
series: [
|
|
|
|
|
{
|
|
|
|
|
name: e.y[0].name,
|
|
|
|
|
name: '计划产量',
|
|
|
|
|
type: 'bar',
|
|
|
|
|
barGap: 0,
|
|
|
|
|
emphasis: {
|
|
|
|
@ -1156,10 +1149,10 @@ export default {
|
|
|
|
|
fontSize: 0.75 * vw
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.y[0].data,
|
|
|
|
|
data: e.map(e => e.Y_VALUE_ONE),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: e.y[1].name,
|
|
|
|
|
name: '实际产量',
|
|
|
|
|
type: 'bar',
|
|
|
|
|
emphasis: {
|
|
|
|
|
focus: 'series'
|
|
|
|
@ -1182,32 +1175,21 @@ export default {
|
|
|
|
|
color: true ? '#9ce375' : "#4FD3B9",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.y[1].data,
|
|
|
|
|
data: e.map(e => e.Y_VALUE_TWO),
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-2-02',
|
|
|
|
|
i: "",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
this.totalNum = e
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-2-03',
|
|
|
|
|
i: "",
|
|
|
|
|
i: "scada_aq_pro_three_02('CX_02')",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
this.scrollTableData = e
|
|
|
|
|
this.info1 = {
|
|
|
|
|
ddsl: e.reduce((v1, v2) => v1 + parseFloat(v2.COLUMN_D) || 0, 0),
|
|
|
|
|
wcsl: e.reduce((v1, v2) => v1 + parseFloat(v2.COLUMN_E) || 0, 0)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-2-04',
|
|
|
|
|
i: "",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
this.info1 = e
|
|
|
|
|
this.scrollTableData = e
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -1388,7 +1370,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-2-06',
|
|
|
|
|
i: "",
|
|
|
|
|
i: "scada_aq_pro_xh_02('CX_02')",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
this.$refs.productionEfficiency.setData({
|
|
|
|
|
grid: {
|
|
|
|
@ -1400,7 +1382,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
dataZoom: [],
|
|
|
|
|
xAxis: {
|
|
|
|
|
data: e.x,
|
|
|
|
|
data: e.map(e => e.X_VALUE),
|
|
|
|
|
axisLine: {
|
|
|
|
|
lineStyle: {
|
|
|
|
|
color: "#0177d4",
|
|
|
|
@ -1467,7 +1449,7 @@ export default {
|
|
|
|
|
fontSize: 0.75 * vw
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.y.sort().reverse(),
|
|
|
|
|
data: e.map(e => e.Y_VALUE),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
})
|
|
|
|
@ -1475,8 +1457,9 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-2-07',
|
|
|
|
|
i: "",
|
|
|
|
|
i: "scada_aq_zj_gx_01('')",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
let data = e[0] || {}
|
|
|
|
|
this.$refs.equipmentPowerOne.setData({
|
|
|
|
|
series: [
|
|
|
|
|
{
|
|
|
|
@ -1499,7 +1482,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.nd,
|
|
|
|
|
value: parseFloat(data.COLUMN_A),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -1518,7 +1501,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_A) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|内胆检漏}"
|
|
|
|
|
);
|
|
|
|
@ -1541,7 +1524,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.nd,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_A),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -1578,7 +1561,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.gz,
|
|
|
|
|
value: parseFloat(data.COLUMN_B),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -1597,7 +1580,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_B) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|灌注}"
|
|
|
|
|
);
|
|
|
|
@ -1620,7 +1603,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.gz,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_B),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -1657,7 +1640,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.dy,
|
|
|
|
|
value: parseFloat(data.COLUMN_C),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -1676,7 +1659,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_C) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|低压检漏}"
|
|
|
|
|
);
|
|
|
|
@ -1699,7 +1682,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.dy,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_C),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -1736,7 +1719,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.ag,
|
|
|
|
|
value: parseFloat(data.COLUMN_D),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -1755,7 +1738,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_D) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|安规检}"
|
|
|
|
|
);
|
|
|
|
@ -1778,7 +1761,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.ag,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_D),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -1815,7 +1798,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.cw,
|
|
|
|
|
value: parseFloat(data.COLUMN_E),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -1834,7 +1817,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_E) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|测温}"
|
|
|
|
|
);
|
|
|
|
@ -1857,7 +1840,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.cw,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_E),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -1894,7 +1877,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.zj,
|
|
|
|
|
value: parseFloat(data.COLUMN_F),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -1913,7 +1896,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_F) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|终检}"
|
|
|
|
|
);
|
|
|
|
@ -1936,7 +1919,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.zj,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_F),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -1957,8 +1940,9 @@ export default {
|
|
|
|
|
RequestDataSet2: [
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-3-01',
|
|
|
|
|
i: "",
|
|
|
|
|
i: "scada_aq_pro_tj_02('')",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
this.totalNum = e.reduce((v1, v2) => v1 + v2.Y_VALUE_TWO, 0)
|
|
|
|
|
this.$refs.topLeft.setData({
|
|
|
|
|
grid: {
|
|
|
|
|
top: "20%",
|
|
|
|
@ -1975,7 +1959,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
legend: {
|
|
|
|
|
right: '0',
|
|
|
|
|
data: e.y.map(e => e.name),
|
|
|
|
|
data: ['计划产量', '实际产量'],
|
|
|
|
|
textStyle: {
|
|
|
|
|
fontSize: 0.75 * vw,
|
|
|
|
|
color: "#F1F1F3",
|
|
|
|
@ -1993,7 +1977,7 @@ export default {
|
|
|
|
|
color: "#F1F1F3",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.x
|
|
|
|
|
data: e.map(e => e.X_VALUE),
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
yAxis: [
|
|
|
|
@ -2014,7 +1998,7 @@ export default {
|
|
|
|
|
],
|
|
|
|
|
series: [
|
|
|
|
|
{
|
|
|
|
|
name: e.y[0].name,
|
|
|
|
|
name: '计划产量',
|
|
|
|
|
type: 'bar',
|
|
|
|
|
barGap: 0,
|
|
|
|
|
emphasis: {
|
|
|
|
@ -2037,10 +2021,10 @@ export default {
|
|
|
|
|
fontSize: 0.75 * vw
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.y[0].data,
|
|
|
|
|
data: e.map(e => e.Y_VALUE_ONE),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: e.y[1].name,
|
|
|
|
|
name: '实际产量',
|
|
|
|
|
type: 'bar',
|
|
|
|
|
emphasis: {
|
|
|
|
|
focus: 'series'
|
|
|
|
@ -2063,32 +2047,21 @@ export default {
|
|
|
|
|
color: true ? '#9ce375' : "#4FD3B9",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.y[1].data,
|
|
|
|
|
data: e.map(e => e.Y_VALUE_TWO),
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-3-02',
|
|
|
|
|
i: "",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
this.totalNum = e
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-3-03',
|
|
|
|
|
i: "",
|
|
|
|
|
i: "scada_aq_pro_three_02('')",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
this.scrollTableData = e
|
|
|
|
|
this.info1 = {
|
|
|
|
|
ddsl: e.reduce((v1, v2) => v1 + parseFloat(v2.COLUMN_D) || 0, 0),
|
|
|
|
|
wcsl: e.reduce((v1, v2) => v1 + parseFloat(v2.COLUMN_E) || 0, 0)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-3-04',
|
|
|
|
|
i: "",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
this.info1 = e
|
|
|
|
|
this.scrollTableData = e
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2269,7 +2242,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-3-06',
|
|
|
|
|
i: "",
|
|
|
|
|
i: "scada_aq_pro_xh_02('')",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
this.$refs.productionEfficiency.setData({
|
|
|
|
|
grid: {
|
|
|
|
@ -2281,7 +2254,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
dataZoom: [],
|
|
|
|
|
xAxis: {
|
|
|
|
|
data: e.x,
|
|
|
|
|
data: e.map(e => e.X_VALUE),
|
|
|
|
|
axisLine: {
|
|
|
|
|
lineStyle: {
|
|
|
|
|
color: "#0177d4",
|
|
|
|
@ -2348,7 +2321,7 @@ export default {
|
|
|
|
|
fontSize: 0.75 * vw
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.y.sort().reverse(),
|
|
|
|
|
data: e.map(e => e.Y_VALUE),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
})
|
|
|
|
@ -2356,8 +2329,9 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
e: 'zh-3-07',
|
|
|
|
|
i: "",
|
|
|
|
|
i: "scada_aq_zj_gx_01('')",
|
|
|
|
|
f: (e) => {
|
|
|
|
|
let data = e[0] || {}
|
|
|
|
|
this.$refs.equipmentPowerOne.setData({
|
|
|
|
|
series: [
|
|
|
|
|
{
|
|
|
|
@ -2380,7 +2354,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.nd,
|
|
|
|
|
value: parseFloat(data.COLUMN_A),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -2399,7 +2373,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_A) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|内胆检漏}"
|
|
|
|
|
);
|
|
|
|
@ -2422,7 +2396,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.nd,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_A),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -2459,7 +2433,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.gz,
|
|
|
|
|
value: parseFloat(data.COLUMN_B),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -2478,7 +2452,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_B) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|灌注}"
|
|
|
|
|
);
|
|
|
|
@ -2501,7 +2475,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.gz,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_B),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -2538,7 +2512,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.dy,
|
|
|
|
|
value: parseFloat(data.COLUMN_C),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -2557,7 +2531,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_C) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|低压检漏}"
|
|
|
|
|
);
|
|
|
|
@ -2580,7 +2554,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.dy,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_C),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -2617,7 +2591,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.ag,
|
|
|
|
|
value: parseFloat(data.COLUMN_D),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -2636,7 +2610,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_D) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|安规检}"
|
|
|
|
|
);
|
|
|
|
@ -2659,7 +2633,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.ag,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_D),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -2696,7 +2670,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.cw,
|
|
|
|
|
value: parseFloat(data.COLUMN_E),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -2715,7 +2689,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_E) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|测温}"
|
|
|
|
|
);
|
|
|
|
@ -2738,7 +2712,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.cw,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_E),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -2775,7 +2749,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e.zj,
|
|
|
|
|
value: parseFloat(data.COLUMN_F),
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -2794,7 +2768,7 @@ export default {
|
|
|
|
|
formatter: function (params) {
|
|
|
|
|
return (
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
parseFloat(data.COLUMN_F) +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|终检}"
|
|
|
|
|
);
|
|
|
|
@ -2817,7 +2791,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 100 - e.zj,
|
|
|
|
|
value: 100 - parseFloat(data.COLUMN_F),
|
|
|
|
|
name: "invisible",
|
|
|
|
|
itemStyle: {
|
|
|
|
|
normal: {
|
|
|
|
@ -2839,17 +2813,17 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
|
|
|
|
|
if(this.nowLine === 1 ){
|
|
|
|
|
if (this.nowLine === 1) {
|
|
|
|
|
this.RequestDataSet.forEach(val => {
|
|
|
|
|
mixData(val)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
if(this.nowLine === 2 ){
|
|
|
|
|
if (this.nowLine === 2) {
|
|
|
|
|
this.RequestDataSet1.forEach(val => {
|
|
|
|
|
mixData(val)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
if(this.nowLine === 3 ){
|
|
|
|
|
if (this.nowLine === 3) {
|
|
|
|
|
this.RequestDataSet2.forEach(val => {
|
|
|
|
|
mixData(val)
|
|
|
|
|
})
|
|
|
|
@ -2857,17 +2831,17 @@ export default {
|
|
|
|
|
|
|
|
|
|
intervalFun = setInterval(() => {
|
|
|
|
|
|
|
|
|
|
if(this.nowLine === 1 ){
|
|
|
|
|
if (this.nowLine === 1) {
|
|
|
|
|
this.RequestDataSet.forEach(val => {
|
|
|
|
|
mixData(val)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
if(this.nowLine === 2 ){
|
|
|
|
|
if (this.nowLine === 2) {
|
|
|
|
|
this.RequestDataSet1.forEach(val => {
|
|
|
|
|
mixData(val)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
if(this.nowLine === 3 ){
|
|
|
|
|
if (this.nowLine === 3) {
|
|
|
|
|
this.RequestDataSet2.forEach(val => {
|
|
|
|
|
mixData(val)
|
|
|
|
|
})
|
|
|
|
@ -2929,7 +2903,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
beforeDestroy() {
|
|
|
|
|
if(intervalFun){
|
|
|
|
|
if (intervalFun) {
|
|
|
|
|
clearInterval(intervalFun)
|
|
|
|
|
intervalFun = null
|
|
|
|
|
}
|
|
|
|
|