20230519
This commit is contained in:
parent
8ce3f155ee
commit
39b7e692b9
|
@ -101,11 +101,126 @@ export default {
|
|||
intervalTime1: null, //定时器
|
||||
intervalTime2: null, //定时器
|
||||
//报警数组 一级
|
||||
warnList1: [],
|
||||
warnList1: [
|
||||
{
|
||||
id: "1",
|
||||
icon: require("../assets/images/jieNengImg/warnRed.png"),
|
||||
time: "2023年03月12日 15:45:10",
|
||||
cause: "设备故障",
|
||||
risk: "一级",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
icon: require("../assets/images/jieNengImg/warnBlue.png"),
|
||||
time: "2023年03月12日 15:45:10",
|
||||
cause: "设备故障",
|
||||
risk: "一级",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
icon: require("../assets/images/jieNengImg/warnWhite.png"),
|
||||
time: "2023年03月12日 15:45:10",
|
||||
cause: "设备故障",
|
||||
risk: "一级",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
icon: require("../assets/images/jieNengImg/warnRed.png"),
|
||||
time: "2023年03月12日 15:45:10",
|
||||
cause: "设备故障",
|
||||
risk: "一级",
|
||||
},
|
||||
],
|
||||
//报警数组 二级
|
||||
warnList2: [],
|
||||
warnList2: [ {
|
||||
id: "1",
|
||||
icon: require("../assets/images/jieNengImg/warnRed.png"),
|
||||
time: "2023年03月12日 15:45:10",
|
||||
cause: "设备故障",
|
||||
risk: "二级",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
icon: require("../assets/images/jieNengImg/warnBlue.png"),
|
||||
time: "2023年03月12日 15:45:10",
|
||||
cause: "设备故障",
|
||||
risk: "二级",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
icon: require("../assets/images/jieNengImg/warnWhite.png"),
|
||||
time: "2023年03月12日 15:45:10",
|
||||
cause: "设备故障",
|
||||
risk: "二级",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
icon: require("../assets/images/jieNengImg/warnRed.png"),
|
||||
time: "2023年03月12日 15:45:10",
|
||||
cause: "设备故障",
|
||||
risk: "二级",
|
||||
},],
|
||||
//报警数组 三级
|
||||
warnList3: [],
|
||||
warnList3: [
|
||||
{
|
||||
id: "1",
|
||||
icon: require("../assets/images/jieNengImg/warnRed.png"),
|
||||
time: "2023年03月12日 15:45:10",
|
||||
cause: "设备故障",
|
||||
risk: "三级",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
icon: require("../assets/images/jieNengImg/warnBlue.png"),
|
||||
time: "2023年03月12日 15:45:10",
|
||||
cause: "设备故障",
|
||||
risk: "三级",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
icon: require("../assets/images/jieNengImg/warnWhite.png"),
|
||||
time: "2023年03月12日 15:45:10",
|
||||
cause: "设备故障",
|
||||
risk: "三级",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
icon: require("../assets/images/jieNengImg/warnRed.png"),
|
||||
time: "2023年03月12日 15:45:10",
|
||||
cause: "设备故障",
|
||||
risk: "三级",
|
||||
},{
|
||||
id: "4",
|
||||
icon: require("../assets/images/jieNengImg/warnRed.png"),
|
||||
time: "2023年03月12日 15:45:10",
|
||||
cause: "设备故障",
|
||||
risk: "三级",
|
||||
},{
|
||||
id: "4",
|
||||
icon: require("../assets/images/jieNengImg/warnRed.png"),
|
||||
time: "2023年03月12日 15:45:10",
|
||||
cause: "设备故障",
|
||||
risk: "三级",
|
||||
},{
|
||||
id: "4",
|
||||
icon: require("../assets/images/jieNengImg/warnRed.png"),
|
||||
time: "2023年03月12日 15:45:10",
|
||||
cause: "设备故障",
|
||||
risk: "三级",
|
||||
},{
|
||||
id: "4",
|
||||
icon: require("../assets/images/jieNengImg/warnRed.png"),
|
||||
time: "2023年03月12日 15:45:10",
|
||||
cause: "设备故障",
|
||||
risk: "三级",
|
||||
},{
|
||||
id: "4",
|
||||
icon: require("../assets/images/jieNengImg/warnRed.png"),
|
||||
time: "2023年03月12日 15:45:10",
|
||||
cause: "设备故障",
|
||||
risk: "三级",
|
||||
},
|
||||
],
|
||||
courtList: [
|
||||
{
|
||||
name: "空闲中",
|
||||
|
|
|
@ -1712,7 +1712,6 @@ export default {
|
|||
step = 1
|
||||
element.scrollTop = 0
|
||||
} else {
|
||||
|
||||
// if (
|
||||
// element.scrollTop === 0 ||
|
||||
// element.scrollTop === element.scrollHeight - element.offsetHeight
|
||||
|
@ -1736,9 +1735,7 @@ export default {
|
|||
that.interval = null
|
||||
},
|
||||
mouseLeave() {
|
||||
if (this.interval == null) {
|
||||
this.autoScrollindex(67, 50, 0, document.getElementById('warnList'))
|
||||
}
|
||||
this.autoScrollindex(67, 50, 0, document.getElementById('warnList'))
|
||||
},
|
||||
},
|
||||
beforeDestroy() {
|
||||
|
|
Loading…
Reference in New Issue