Merge remote-tracking branch 'origin/yangwl' into yangwl

yangwl
夜笙歌 2 months ago
commit 6475018623

@ -1,7 +1,7 @@
<template>
<div>
<div class="bg">
<div class="title1">白坯车间生产监控看板</div>
<div class="title1">黑蚊香车间生产监控看板</div>
<div class="floorNum floorNum1">1F</div>
<div class="floorNum floorNum2">2F</div>
<div class="floorNum floorNum3">3F</div>

@ -392,10 +392,11 @@ export default {
this.getAgvLocation()
let time = 2 * 1000
setInterval(() => {
this.getData()
this.updateAGVLocation(time)
}, time)
setInterval(() => {
this.getData()
}, 1000*60)
setInterval(() => {
this.loopIndex = (this.loopIndex + 1) % 26
}, 1000 * 5)

@ -43,6 +43,9 @@
<div class="scrollTable" style="font-weight: bold;">
在生产
</div>
<div class="scrollTable" style="font-weight: bold;">
标准能耗
</div>
<div class="scrollTable" style="font-weight: bold;">
单车耗能
</div>
@ -75,6 +78,10 @@
class="scrollTable" style="color:#49b2fc">
{{ item.Intheoven }}
</div>
<div
class="scrollTable" style="color:#49b2fc">
40KWh
</div>
<div
class="scrollTable" style="color:#49b2fc">
{{ (parseFloat(item.expend / item.yield) || 0).toFixed(2) }}KWh
@ -132,7 +139,7 @@ export default {
this.getData()
setInterval(() => {
this.getData()
}, 5 * 1000)
}, 60 * 1000)
},
methods: {
getData() {
@ -455,31 +462,31 @@ export default {
}
},
yAxis: [
{
type: 'value',
name: '合格数',
nameTextStyle: {
color: '#fff'
},
splitLine: {
show: false
},
axisTick: {
show: true
},
axisLine: {
show: true,
lineStyle: {
color: '#fff'
}
},
axisLabel: {
show: true,
textStyle: {
color: '#fff'
}
}
},
// {
// type: 'value',
// name: '',
// nameTextStyle: {
// color: '#fff'
// },
// splitLine: {
// show: false
// },
// axisTick: {
// show: true
// },
// axisLine: {
// show: true,
// lineStyle: {
// color: '#fff'
// }
// },
// axisLabel: {
// show: true,
// textStyle: {
// color: '#fff'
// }
// }
// },
{
type: 'value',
name: '合格率',
@ -516,7 +523,7 @@ export default {
},
name: '合格率',
type: 'line',
yAxisIndex: 1,
yAxisIndex: 0,
smooth: true, //线
showAllSymbol: true, //
symbol: "emptyCircle", //
@ -533,47 +540,47 @@ export default {
// },
data: e.map(v => ((parseFloat(v.okQuality) / parseFloat(v.quality)) * 100).toFixed(2)),
},
{
label: {
show: true,
position: 'top',
formatter: "{c}",
color: "#fff"
},
itemStyle: {
color: {
type: 'linear',
x: 0,
y: 1,
x2: 0,
y2: 0,
colorStops: [{
offset: 0, color: '#1e60f2' // 0%
}, {
offset: 1, color: '#00b9ff' // 100%
}],
global: false // false
}
},
name: '合格数',
type: 'bar',
smooth: true, //线
showAllSymbol: true, //
symbol: "emptyCircle", //
symbolSize: 5, //
// itemStyle: {
// //线
// color: "#058cff",
// },
// lineStyle: {
// color: "#058cff",
// },
// areaStyle: {
// color: "rgba(5,140,255, 0.2)",
// },
data: e.map(v => parseFloat(v.quality)),
},
// {
// label: {
// show: true,
// position: 'top',
// formatter: "{c}",
// color: "#fff"
// },
//
// itemStyle: {
// color: {
// type: 'linear',
// x: 0,
// y: 1,
// x2: 0,
// y2: 0,
// colorStops: [{
// offset: 0, color: '#1e60f2' // 0%
// }, {
// offset: 1, color: '#00b9ff' // 100%
// }],
// global: false // false
// }
// },
// name: '',
// type: 'bar',
// smooth: true, //线
// showAllSymbol: true, //
// symbol: "emptyCircle", //
// symbolSize: 5, //
// // itemStyle: {
// // //线
// // color: "#058cff",
// // },
// // lineStyle: {
// // color: "#058cff",
// // },
// // areaStyle: {
// // color: "rgba(5,140,255, 0.2)",
// // },
// data: e.map(v => parseFloat(v.quality)),
// },
]
};
// let option = {
@ -861,7 +868,7 @@ export default {
text-overflow: ellipsis;
text-align: center;
display: inline-block;
width: 20%;
width: 16.6%;
}
.table1 {

Loading…
Cancel
Save