|
|
@ -71,8 +71,8 @@
|
|
|
|
<span>D</span>
|
|
|
|
<span>D</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="chartSpan1">东线</div>
|
|
|
|
<div class="chartSpan1" v-if="$route.query.id === '1' || id === '1'">东线</div>
|
|
|
|
<div class="chartSpan2">西线</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="supplementInfo">注射压力标准范围:10.0-14.0Mpa A、B组份枪头压力差≤1Mpa</div>
|
|
|
|
<div class="supplementInfo1">发泡料温度标准范围:18.0-24.0℃</div>
|
|
|
|
<div class="supplementInfo1">发泡料温度标准范围:18.0-24.0℃</div>
|
|
|
@ -510,10 +510,11 @@ export default {
|
|
|
|
barWidth: "40%",
|
|
|
|
barWidth: "40%",
|
|
|
|
label: {
|
|
|
|
label: {
|
|
|
|
show: true,
|
|
|
|
show: true,
|
|
|
|
formatter:(e)=>{
|
|
|
|
formatter: (e) => {
|
|
|
|
if(e.data === 0){
|
|
|
|
if (e.data === 0) {
|
|
|
|
return ''
|
|
|
|
return ''
|
|
|
|
}else{}
|
|
|
|
} else {
|
|
|
|
|
|
|
|
}
|
|
|
|
return e.data
|
|
|
|
return e.data
|
|
|
|
},
|
|
|
|
},
|
|
|
|
position: "top",
|
|
|
|
position: "top",
|
|
|
@ -545,12 +546,10 @@ export default {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
e: 'fp-1-05',
|
|
|
|
e: 'fp-1-05',
|
|
|
|
i: "SCADA_INV_STATS_01('')",
|
|
|
|
i: "SCADA_INV_STATS_01('')",
|
|
|
|
|
|
|
|
t:2,
|
|
|
|
f: (e) => {
|
|
|
|
f: (e) => {
|
|
|
|
// this.scrollTableData1 = e
|
|
|
|
console.log(JSON.stringify(e))
|
|
|
|
getFoamingData({
|
|
|
|
let table = e.map(val => {
|
|
|
|
"PRODUCT_LINE_CODE": "CX_01"
|
|
|
|
|
|
|
|
}).then(e => {
|
|
|
|
|
|
|
|
let table = e.data?.map(val => {
|
|
|
|
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
value1: val.EQUIPMENT_CODE,
|
|
|
|
value1: val.EQUIPMENT_CODE,
|
|
|
|
value2: val.FIXTUREBOXTYPE,
|
|
|
|
value2: val.FIXTUREBOXTYPE,
|
|
|
@ -558,7 +557,7 @@ export default {
|
|
|
|
value4: val.TARGET,
|
|
|
|
value4: val.TARGET,
|
|
|
|
value5: val.PLAN_SUM,
|
|
|
|
value5: val.PLAN_SUM,
|
|
|
|
value6: val.PRO_SUM,
|
|
|
|
value6: val.PRO_SUM,
|
|
|
|
value7: (val.PLAN_SUM === 0 ? 0 :((val.PRO_SUM / val.PLAN_SUM) * 100).toFixed(2) )+ '%',
|
|
|
|
value7: (val.PLAN_SUM === 0 ? 0 : ((val.PRO_SUM / val.PLAN_SUM) * 100).toFixed(2)) + '%',
|
|
|
|
value8: val.ANHOUR,
|
|
|
|
value8: val.ANHOUR,
|
|
|
|
value9: val.TWOHOUR,
|
|
|
|
value9: val.TWOHOUR,
|
|
|
|
value10: val.THREEHOUR,
|
|
|
|
value10: val.THREEHOUR,
|
|
|
@ -593,10 +592,7 @@ export default {
|
|
|
|
value15: totalArr.map(val => val.value18).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
value15: totalArr.map(val => val.value18).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
value16: totalArr.map(val => val.value19).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
value16: totalArr.map(val => val.value19).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
e: 'fp-1-06',
|
|
|
|
e: 'fp-1-06',
|
|
|
@ -667,10 +663,11 @@ export default {
|
|
|
|
barWidth: "30%",
|
|
|
|
barWidth: "30%",
|
|
|
|
label: {
|
|
|
|
label: {
|
|
|
|
show: true,
|
|
|
|
show: true,
|
|
|
|
formatter:(e)=>{
|
|
|
|
formatter: (e) => {
|
|
|
|
if(e.data === 0){
|
|
|
|
if (e.data === 0) {
|
|
|
|
return ''
|
|
|
|
return ''
|
|
|
|
}else{}
|
|
|
|
} else {
|
|
|
|
|
|
|
|
}
|
|
|
|
return e.data
|
|
|
|
return e.data
|
|
|
|
},
|
|
|
|
},
|
|
|
|
position: "top",
|
|
|
|
position: "top",
|
|
|
@ -708,10 +705,11 @@ export default {
|
|
|
|
barGap: '40%',
|
|
|
|
barGap: '40%',
|
|
|
|
label: {
|
|
|
|
label: {
|
|
|
|
show: true,
|
|
|
|
show: true,
|
|
|
|
formatter:(e)=>{
|
|
|
|
formatter: (e) => {
|
|
|
|
if(e.data === 0){
|
|
|
|
if (e.data === 0) {
|
|
|
|
return ''
|
|
|
|
return ''
|
|
|
|
}else{}
|
|
|
|
} else {
|
|
|
|
|
|
|
|
}
|
|
|
|
return e.data
|
|
|
|
return e.data
|
|
|
|
},
|
|
|
|
},
|
|
|
|
position: "top",
|
|
|
|
position: "top",
|
|
|
@ -865,10 +863,11 @@ export default {
|
|
|
|
label: {
|
|
|
|
label: {
|
|
|
|
show: true,
|
|
|
|
show: true,
|
|
|
|
position: "top",
|
|
|
|
position: "top",
|
|
|
|
formatter:(e)=>{
|
|
|
|
formatter: (e) => {
|
|
|
|
if(e.data === 0){
|
|
|
|
if (e.data === 0) {
|
|
|
|
return ''
|
|
|
|
return ''
|
|
|
|
}else{}
|
|
|
|
} else {
|
|
|
|
|
|
|
|
}
|
|
|
|
return e.data
|
|
|
|
return e.data
|
|
|
|
},
|
|
|
|
},
|
|
|
|
textStyle: {
|
|
|
|
textStyle: {
|
|
|
@ -901,7 +900,7 @@ export default {
|
|
|
|
shadowBlur: 20,
|
|
|
|
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温度',
|
|
|
|
name: 'ISO温度',
|
|
|
@ -919,10 +918,11 @@ export default {
|
|
|
|
label: {
|
|
|
|
label: {
|
|
|
|
show: true,
|
|
|
|
show: true,
|
|
|
|
position: "top",
|
|
|
|
position: "top",
|
|
|
|
formatter:(e)=>{
|
|
|
|
formatter: (e) => {
|
|
|
|
if(e.data === 0){
|
|
|
|
if (e.data === 0) {
|
|
|
|
return ''
|
|
|
|
return ''
|
|
|
|
}else{}
|
|
|
|
} else {
|
|
|
|
|
|
|
|
}
|
|
|
|
return e.data
|
|
|
|
return e.data
|
|
|
|
},
|
|
|
|
},
|
|
|
|
textStyle: {
|
|
|
|
textStyle: {
|
|
|
@ -956,7 +956,7 @@ export default {
|
|
|
|
shadowBlur: 20,
|
|
|
|
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: {
|
|
|
|
axisLabel: {
|
|
|
|
// interval: 0,
|
|
|
|
interval: 0,
|
|
|
|
// rotate: 40,
|
|
|
|
// rotate: 40,
|
|
|
|
textStyle: {
|
|
|
|
textStyle: {
|
|
|
|
fontFamily: "Microsoft YaHei",
|
|
|
|
fontFamily: "Microsoft YaHei",
|
|
|
@ -1018,10 +1018,11 @@ export default {
|
|
|
|
type: "bar",
|
|
|
|
type: "bar",
|
|
|
|
barWidth: "33%",
|
|
|
|
barWidth: "33%",
|
|
|
|
label: {
|
|
|
|
label: {
|
|
|
|
formatter:(e)=>{
|
|
|
|
formatter: (e) => {
|
|
|
|
if(e.data === 0){
|
|
|
|
if (e.data === 0) {
|
|
|
|
return ''
|
|
|
|
return ''
|
|
|
|
}else{}
|
|
|
|
} else {
|
|
|
|
|
|
|
|
}
|
|
|
|
return e.data
|
|
|
|
return e.data
|
|
|
|
},
|
|
|
|
},
|
|
|
|
show: true,
|
|
|
|
show: true,
|
|
|
@ -1066,6 +1067,7 @@ export default {
|
|
|
|
f: (e) => {
|
|
|
|
f: (e) => {
|
|
|
|
this.planNum = e[0].X_VALUE
|
|
|
|
this.planNum = e[0].X_VALUE
|
|
|
|
this.practicalNum = e[0].Y_VALUE_ONE
|
|
|
|
this.practicalNum = e[0].Y_VALUE_ONE
|
|
|
|
|
|
|
|
this.differenceNum = e[0].Y_VALUE_TWO
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1132,10 +1134,11 @@ export default {
|
|
|
|
barMaxWidth: 40,
|
|
|
|
barMaxWidth: 40,
|
|
|
|
label: {
|
|
|
|
label: {
|
|
|
|
show: true,
|
|
|
|
show: true,
|
|
|
|
formatter:(e)=>{
|
|
|
|
formatter: (e) => {
|
|
|
|
if(e.data === 0){
|
|
|
|
if (e.data === 0) {
|
|
|
|
return ''
|
|
|
|
return ''
|
|
|
|
}else{}
|
|
|
|
} else {
|
|
|
|
|
|
|
|
}
|
|
|
|
return e.data
|
|
|
|
return e.data
|
|
|
|
},
|
|
|
|
},
|
|
|
|
position: "top",
|
|
|
|
position: "top",
|
|
|
@ -1168,55 +1171,50 @@ export default {
|
|
|
|
e: 'fp-2-05',
|
|
|
|
e: 'fp-2-05',
|
|
|
|
i: "SCADA_INV_STATS_02('')",
|
|
|
|
i: "SCADA_INV_STATS_02('')",
|
|
|
|
f: (e) => {
|
|
|
|
f: (e) => {
|
|
|
|
// this.scrollTableData1 = e
|
|
|
|
console.log(e)
|
|
|
|
getFoamingData({
|
|
|
|
let table = e.map(val => {
|
|
|
|
"PRODUCT_LINE_CODE": "CX_02"
|
|
|
|
return {
|
|
|
|
}).then(e => {
|
|
|
|
value1: val.EQUIPMENT_CODE,
|
|
|
|
let table = e.data?.map(val => {
|
|
|
|
value2: val.FIXTUREBOXTYPE,
|
|
|
|
return {
|
|
|
|
value3: val.FIXTURESTATUS,
|
|
|
|
value1: val.EQUIPMENT_CODE,
|
|
|
|
value4: val.TARGET,
|
|
|
|
value2: val.FIXTUREBOXTYPE,
|
|
|
|
value5: val.PLAN_SUM,
|
|
|
|
value3: val.FIXTURESTATUS,
|
|
|
|
value6: val.PRO_SUM,
|
|
|
|
value4: val.TARGET,
|
|
|
|
value7: (val.PLAN_SUM === 0 ? 0 : ((val.PRO_SUM / val.PLAN_SUM) * 100).toFixed(2)) + '%',
|
|
|
|
value5: val.PLAN_SUM,
|
|
|
|
value8: val.ANHOUR,
|
|
|
|
value6: val.PRO_SUM,
|
|
|
|
value9: val.TWOHOUR,
|
|
|
|
value7: (val.PLAN_SUM === 0 ? 0 :((val.PRO_SUM / val.PLAN_SUM) * 100).toFixed(2) )+ '%',
|
|
|
|
value10: val.THREEHOUR,
|
|
|
|
value8: val.ANHOUR,
|
|
|
|
value11: val.FOURHOUR,
|
|
|
|
value9: val.TWOHOUR,
|
|
|
|
value12: val.FIVEHOUR,
|
|
|
|
value10: val.THREEHOUR,
|
|
|
|
value13: val.SIXHOUR,
|
|
|
|
value11: val.FOURHOUR,
|
|
|
|
value14: val.SEVENHOUR,
|
|
|
|
value12: val.FIVEHOUR,
|
|
|
|
value15: val.EIGHTHOUR,
|
|
|
|
value13: val.SIXHOUR,
|
|
|
|
value16: val.NINEHOUR,
|
|
|
|
value14: val.SEVENHOUR,
|
|
|
|
value17: val.TENHOUR,
|
|
|
|
value15: val.EIGHTHOUR,
|
|
|
|
value18: val.ELEVENHOUR,
|
|
|
|
value16: val.NINEHOUR,
|
|
|
|
value19: val.TWELVEHOUR,
|
|
|
|
value17: val.TENHOUR,
|
|
|
|
|
|
|
|
value18: val.ELEVENHOUR,
|
|
|
|
|
|
|
|
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),
|
|
|
|
|
|
|
|
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),
|
|
|
|
|
|
|
|
value8: totalArr.map(val => val.value11).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
value9: totalArr.map(val => val.value12).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
value10: totalArr.map(val => val.value13).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
value11: totalArr.map(val => val.value14).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
value12: totalArr.map(val => val.value15).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
value13: totalArr.map(val => val.value16).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
value14: totalArr.map(val => val.value17).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
value15: totalArr.map(val => val.value18).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
value16: totalArr.map(val => val.value19).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
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.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),
|
|
|
|
|
|
|
|
value8: totalArr.map(val => val.value11).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
value9: totalArr.map(val => val.value12).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
value10: totalArr.map(val => val.value13).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
value11: totalArr.map(val => val.value14).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
value12: totalArr.map(val => val.value15).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
value13: totalArr.map(val => val.value16).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
value14: totalArr.map(val => val.value17).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
value15: totalArr.map(val => val.value18).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
value16: totalArr.map(val => val.value19).reduce((acc, curr) => acc + curr, 0),
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1289,10 +1287,11 @@ export default {
|
|
|
|
label: {
|
|
|
|
label: {
|
|
|
|
show: true,
|
|
|
|
show: true,
|
|
|
|
position: "top",
|
|
|
|
position: "top",
|
|
|
|
formatter:(e)=>{
|
|
|
|
formatter: (e) => {
|
|
|
|
if(e.data === 0){
|
|
|
|
if (e.data === 0) {
|
|
|
|
return ''
|
|
|
|
return ''
|
|
|
|
}else{}
|
|
|
|
} else {
|
|
|
|
|
|
|
|
}
|
|
|
|
return e.data
|
|
|
|
return e.data
|
|
|
|
},
|
|
|
|
},
|
|
|
|
textStyle: {
|
|
|
|
textStyle: {
|
|
|
@ -1330,10 +1329,11 @@ export default {
|
|
|
|
barGap: '40%',
|
|
|
|
barGap: '40%',
|
|
|
|
label: {
|
|
|
|
label: {
|
|
|
|
show: true,
|
|
|
|
show: true,
|
|
|
|
formatter:(e)=>{
|
|
|
|
formatter: (e) => {
|
|
|
|
if(e.data === 0){
|
|
|
|
if (e.data === 0) {
|
|
|
|
return ''
|
|
|
|
return ''
|
|
|
|
}else{}
|
|
|
|
} else {
|
|
|
|
|
|
|
|
}
|
|
|
|
return e.data
|
|
|
|
return e.data
|
|
|
|
},
|
|
|
|
},
|
|
|
|
position: "top",
|
|
|
|
position: "top",
|
|
|
@ -1486,10 +1486,11 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
label: {
|
|
|
|
label: {
|
|
|
|
show: true,
|
|
|
|
show: true,
|
|
|
|
formatter:(e)=>{
|
|
|
|
formatter: (e) => {
|
|
|
|
if(e.data === 0){
|
|
|
|
if (e.data === 0) {
|
|
|
|
return ''
|
|
|
|
return ''
|
|
|
|
}else{}
|
|
|
|
} else {
|
|
|
|
|
|
|
|
}
|
|
|
|
return e.data
|
|
|
|
return e.data
|
|
|
|
},
|
|
|
|
},
|
|
|
|
position: "top",
|
|
|
|
position: "top",
|
|
|
@ -1523,7 +1524,7 @@ export default {
|
|
|
|
shadowBlur: 20,
|
|
|
|
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温度',
|
|
|
|
name: 'ISO温度',
|
|
|
@ -1540,10 +1541,11 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
label: {
|
|
|
|
label: {
|
|
|
|
show: true,
|
|
|
|
show: true,
|
|
|
|
formatter:(e)=>{
|
|
|
|
formatter: (e) => {
|
|
|
|
if(e.data === 0){
|
|
|
|
if (e.data === 0) {
|
|
|
|
return ''
|
|
|
|
return ''
|
|
|
|
}else{}
|
|
|
|
} else {
|
|
|
|
|
|
|
|
}
|
|
|
|
return e.data
|
|
|
|
return e.data
|
|
|
|
},
|
|
|
|
},
|
|
|
|
position: "top",
|
|
|
|
position: "top",
|
|
|
@ -1578,7 +1580,7 @@ export default {
|
|
|
|
shadowBlur: 20,
|
|
|
|
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: {
|
|
|
|
axisLabel: {
|
|
|
|
// interval: 0,
|
|
|
|
interval: 0,
|
|
|
|
// rotate: 40,
|
|
|
|
// rotate: 40,
|
|
|
|
textStyle: {
|
|
|
|
textStyle: {
|
|
|
|
fontFamily: "Microsoft YaHei",
|
|
|
|
fontFamily: "Microsoft YaHei",
|
|
|
@ -1641,10 +1643,11 @@ export default {
|
|
|
|
barWidth: "33%",
|
|
|
|
barWidth: "33%",
|
|
|
|
label: {
|
|
|
|
label: {
|
|
|
|
show: true,
|
|
|
|
show: true,
|
|
|
|
formatter:(e)=>{
|
|
|
|
formatter: (e) => {
|
|
|
|
if(e.data === 0){
|
|
|
|
if (e.data === 0) {
|
|
|
|
return ''
|
|
|
|
return ''
|
|
|
|
}else{}
|
|
|
|
} else {
|
|
|
|
|
|
|
|
}
|
|
|
|
return e.data
|
|
|
|
return e.data
|
|
|
|
},
|
|
|
|
},
|
|
|
|
position: "top",
|
|
|
|
position: "top",
|
|
|
@ -2027,101 +2030,112 @@ export default {
|
|
|
|
background: #00ff00;
|
|
|
|
background: #00ff00;
|
|
|
|
border-radius: 50%;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.left1{
|
|
|
|
|
|
|
|
|
|
|
|
.left1 {
|
|
|
|
background-image: url("../../../assets/board/left.png");
|
|
|
|
background-image: url("../../../assets/board/left.png");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
transform: translate(-50%,-50%);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
top: 38%;
|
|
|
|
top: 38%;
|
|
|
|
left: 32%;
|
|
|
|
left: 32%;
|
|
|
|
width: 5vw;
|
|
|
|
width: 5vw;
|
|
|
|
height: 4.05vw;
|
|
|
|
height: 4.05vw;
|
|
|
|
span{
|
|
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
transform: translate(-50%,-50%);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
top: 28%;
|
|
|
|
top: 28%;
|
|
|
|
left: 43%;
|
|
|
|
left: 43%;
|
|
|
|
font-size: 1vw;
|
|
|
|
font-size: 1vw;
|
|
|
|
color: #fff;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.left2{
|
|
|
|
|
|
|
|
|
|
|
|
.left2 {
|
|
|
|
background-image: url("../../../assets/board/right.png");
|
|
|
|
background-image: url("../../../assets/board/right.png");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
transform: translate(-50%,-50%);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
top: 49%;
|
|
|
|
top: 49%;
|
|
|
|
left: 55%;
|
|
|
|
left: 55%;
|
|
|
|
width: 5vw;
|
|
|
|
width: 5vw;
|
|
|
|
height: 2.86vw;
|
|
|
|
height: 2.86vw;
|
|
|
|
span{
|
|
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
transform: translate(-50%,-50%);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
top: 37%;
|
|
|
|
top: 37%;
|
|
|
|
left: 57%;
|
|
|
|
left: 57%;
|
|
|
|
font-size: 1vw;
|
|
|
|
font-size: 1vw;
|
|
|
|
color: #fff;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.right1{
|
|
|
|
|
|
|
|
|
|
|
|
.right1 {
|
|
|
|
background-image: url("../../../assets/board/right.png");
|
|
|
|
background-image: url("../../../assets/board/right.png");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
transform: translate(-50%,-50%);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
top: 36%;
|
|
|
|
top: 36%;
|
|
|
|
left: 57%;
|
|
|
|
left: 57%;
|
|
|
|
width: 5vw;
|
|
|
|
width: 5vw;
|
|
|
|
height: 2.86vw;
|
|
|
|
height: 2.86vw;
|
|
|
|
span{
|
|
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
transform: translate(-50%,-50%);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
top: 37%;
|
|
|
|
top: 37%;
|
|
|
|
left: 57%;
|
|
|
|
left: 57%;
|
|
|
|
font-size: 1vw;
|
|
|
|
font-size: 1vw;
|
|
|
|
color: #fff;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.right2{
|
|
|
|
|
|
|
|
|
|
|
|
.right2 {
|
|
|
|
background-image: url("../../../assets/board/right.png");
|
|
|
|
background-image: url("../../../assets/board/right.png");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
transform: translate(-50%,-50%);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
top: 39%;
|
|
|
|
top: 39%;
|
|
|
|
left: 68%;
|
|
|
|
left: 68%;
|
|
|
|
width: 5vw;
|
|
|
|
width: 5vw;
|
|
|
|
height: 2.86vw;
|
|
|
|
height: 2.86vw;
|
|
|
|
span{
|
|
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
transform: translate(-50%,-50%);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
top: 37%;
|
|
|
|
top: 37%;
|
|
|
|
left: 57%;
|
|
|
|
left: 57%;
|
|
|
|
font-size: 1vw;
|
|
|
|
font-size: 1vw;
|
|
|
|
color: #fff;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.chartSpan1{
|
|
|
|
|
|
|
|
|
|
|
|
.chartSpan1 {
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
transform: translate(-50%,-50%);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
top: 94.3%;
|
|
|
|
top: 94.3%;
|
|
|
|
left: 73%;
|
|
|
|
left: 73%;
|
|
|
|
font-size: 0.8vw;
|
|
|
|
font-size: 0.8vw;
|
|
|
|
color: #fff;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.chartSpan1{
|
|
|
|
|
|
|
|
|
|
|
|
.chartSpan1 {
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
transform: translate(-50%,-50%);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
top: 94.3%;
|
|
|
|
top: 94.3%;
|
|
|
|
left: 73%;
|
|
|
|
left: 73%;
|
|
|
|
font-size: 0.8vw;
|
|
|
|
font-size: 0.8vw;
|
|
|
|
color: #fff;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.chartSpan2{
|
|
|
|
|
|
|
|
|
|
|
|
.chartSpan2 {
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
transform: translate(-50%,-50%);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
top: 94.3%;
|
|
|
|
top: 94.3%;
|
|
|
|
left: 96%;
|
|
|
|
left: 96%;
|
|
|
|
font-size: 0.8vw;
|
|
|
|
font-size: 0.8vw;
|
|
|
|