'update_coldboard'
This commit is contained in:
@@ -518,32 +518,8 @@ export default {
|
||||
})
|
||||
}
|
||||
this.annealFunList = arr
|
||||
this.total3 = Math.ceil(arr.length / 9)
|
||||
if ( this.page3 > this.total3) {
|
||||
this.page3 = 1
|
||||
}
|
||||
if (!this.firstContent3) {
|
||||
setInterval(pageFun3 = () => {
|
||||
if (this.page3 >= this.total3) {
|
||||
this.page3 = 1
|
||||
} else {
|
||||
this.page3 += 1
|
||||
}
|
||||
}, 30000)
|
||||
this.firstContent3 = true
|
||||
}
|
||||
}
|
||||
if (this.funWsData.type === 'FanInfo') {
|
||||
let arr = []
|
||||
for (let i in this.funWsData.data.fanInfo) {
|
||||
arr.push({
|
||||
equipmentName: i,
|
||||
status: this.funWsData.data.fanInfo[i]
|
||||
})
|
||||
}
|
||||
this.funList = arr
|
||||
this.total4 = Math.ceil(arr.length / 9)
|
||||
if ( this.page4 > this.total4) {
|
||||
if ( this.page4 >= this.total4) {
|
||||
this.page4 = 1
|
||||
}
|
||||
if (!this.firstContent4) {
|
||||
@@ -557,6 +533,30 @@ export default {
|
||||
this.firstContent4 = true
|
||||
}
|
||||
}
|
||||
if (this.funWsData.type === 'FanInfo') {
|
||||
let arr = []
|
||||
for (let i in this.funWsData.data.fanInfo) {
|
||||
arr.push({
|
||||
equipmentName: i,
|
||||
status: this.funWsData.data.fanInfo[i]
|
||||
})
|
||||
}
|
||||
this.funList = arr
|
||||
this.total3 = Math.ceil(arr.length / 9)
|
||||
if ( this.page3 >= this.total3) {
|
||||
this.page3 = 1
|
||||
}
|
||||
if (!this.firstContent3) {
|
||||
setInterval(pageFun3 = () => {
|
||||
if (this.page3 >= this.total3) {
|
||||
this.page3 = 1
|
||||
} else {
|
||||
this.page3 += 1
|
||||
}
|
||||
}, 30000)
|
||||
this.firstContent3 = true
|
||||
}
|
||||
}
|
||||
},
|
||||
cutWebsocketOnOpen() {
|
||||
console.log('socket连接成功')
|
||||
@@ -585,7 +585,7 @@ export default {
|
||||
// }
|
||||
});
|
||||
this.total1 = Math.ceil(this.cutWsData?.productHourData?.length / 9)
|
||||
if ( this.page1 > this.total1) {
|
||||
if ( this.page1 >= this.total1) {
|
||||
this.page1 = 1
|
||||
}
|
||||
if (!this.firstContent1) {
|
||||
@@ -648,7 +648,7 @@ export default {
|
||||
});
|
||||
|
||||
this.total2 = Math.ceil(this.SJGWsData?.detData?.length / 9)
|
||||
if ( this.page2 > this.total2) {
|
||||
if ( this.page2 >= this.total2) {
|
||||
this.page2 = 1
|
||||
}
|
||||
if (!this.firstContent2) {
|
||||
|
||||
Reference in New Issue
Block a user