大屏滚动
This commit is contained in:
@@ -196,7 +196,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item_wrap">
|
||||
</div>
|
||||
<div class="item_wrap">
|
||||
<div class="item_tip">
|
||||
<div class="item_tip_left">近10天设备故障统计</div>
|
||||
</div>
|
||||
@@ -207,7 +208,6 @@
|
||||
<div id="echart_d10" style="width: 100%; height: 100%"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -1696,7 +1696,7 @@ export default {
|
||||
async _oeeAndTeep () {
|
||||
let res = await oeeAndTeep()
|
||||
if (res.code === '1') {
|
||||
console.log(res.result)
|
||||
// console.log(res.result)
|
||||
this.data03 = res.result
|
||||
this.setEchart03() // 中1
|
||||
} else {
|
||||
@@ -1707,7 +1707,7 @@ export default {
|
||||
async _queryDeviceByWork () {
|
||||
let res = await queryDeviceByWork()
|
||||
if (res.code === '1') {
|
||||
console.log(res.result)
|
||||
// console.log(res.result)
|
||||
this.xData = []
|
||||
this.yData = []
|
||||
this.taskDate = []
|
||||
@@ -1730,7 +1730,7 @@ export default {
|
||||
async _deviceCensus () {
|
||||
let res = await deviceCensus()
|
||||
if (res.code === '1') {
|
||||
console.log(res.result)
|
||||
// console.log(res.result)
|
||||
this.data05_d0 = []
|
||||
this.data05_d1 = []
|
||||
this.data05_d2 = []
|
||||
@@ -1752,7 +1752,7 @@ export default {
|
||||
async _deviceStatusList () {
|
||||
let res = await deviceStatusList()
|
||||
if (res.code === '1') {
|
||||
console.log(res.result)
|
||||
// console.log(res.result)
|
||||
// let colors = ['#2D7CEB', '#07E083', '#00D5FF', '#CC6060', '#fc0']
|
||||
res.result.map((e, i) => {
|
||||
if (e.device_status === '02') {
|
||||
@@ -1782,7 +1782,7 @@ export default {
|
||||
if (res.code === '1') {
|
||||
this.data06_d0 = []
|
||||
this.data06_d1 = []
|
||||
console.log(res.result)
|
||||
// console.log(res.result)
|
||||
res.result.map((e, i) => {
|
||||
this.data06_d0.push(e.device_name)
|
||||
this.data06_d1.push(e.err_num)
|
||||
@@ -1796,7 +1796,7 @@ export default {
|
||||
async _deviceErrorInfo () {
|
||||
let res = await deviceErrorInfo()
|
||||
if (res.code === '1') {
|
||||
console.log(res.result)
|
||||
// console.log(res.result)
|
||||
this.array2 = res.result
|
||||
} else {
|
||||
this.Dialog(res.desc)
|
||||
@@ -1806,7 +1806,7 @@ export default {
|
||||
async _errCensus () {
|
||||
let res = await errCensus()
|
||||
if (res.code === '1') {
|
||||
console.log(res.result)
|
||||
// console.log(res.result)
|
||||
this.chartData2 = res.result
|
||||
if (res.result.length) {
|
||||
clearInterval(this.timeOut3)
|
||||
|
||||
Reference in New Issue
Block a user