|
@ -87,7 +87,7 @@ export default { |
|
|
delete gridArea.TrafficControl; |
|
|
delete gridArea.TrafficControl; |
|
|
if (["设备设施隐患", "非法上路"].includes(result.data.eventName)) { |
|
|
if (["设备设施隐患", "非法上路"].includes(result.data.eventName)) { |
|
|
// 第三列变化 |
|
|
// 第三列变化 |
|
|
gridArea["RealTimeVideo"] = "1 / 3 / span 17 / 3"; |
|
|
gridArea["RealTimeVideo"] = "1 / 3 / span 16 / 3"; |
|
|
delete gridArea.ReleaseInformation; |
|
|
delete gridArea.ReleaseInformation; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -97,6 +97,7 @@ export default { |
|
|
.catch((err) => {}); |
|
|
.catch((err) => {}); |
|
|
}, |
|
|
}, |
|
|
handleFullHeight(key, opacityKey) { |
|
|
handleFullHeight(key, opacityKey) { |
|
|
|
|
|
// 还原图标 |
|
|
if (this.gridAreaMap[key] !== originGridArea[key]) { |
|
|
if (this.gridAreaMap[key] !== originGridArea[key]) { |
|
|
this.gridAreaMap[key] = originGridArea[key]; |
|
|
this.gridAreaMap[key] = originGridArea[key]; |
|
|
if (this.$refs[opacityKey]?.[0]) { |
|
|
if (this.$refs[opacityKey]?.[0]) { |
|
@ -109,7 +110,6 @@ export default { |
|
|
this.$refs[opacityKey][0].$el.style.opacity = 0; |
|
|
this.$refs[opacityKey][0].$el.style.opacity = 0; |
|
|
this.$refs[opacityKey][0].$el.style.pointerEvents = "none"; |
|
|
this.$refs[opacityKey][0].$el.style.pointerEvents = "none"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
this.gridAreaMap[key] = originGridArea[key].replace( |
|
|
this.gridAreaMap[key] = originGridArea[key].replace( |
|
|
/[0-9]+/g, |
|
|
/[0-9]+/g, |
|
|
(num) => { |
|
|
(num) => { |
|
@ -121,6 +121,7 @@ export default { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
); |
|
|
); |
|
|
|
|
|
this.gridAreaMap["DisposalProcess"] = "1 / 2 / span 33 / 2"; |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|