diff --git a/public/dz_video.html b/public/dz_video.html
index dcf56e7..2f476e0 100644
--- a/public/dz_video.html
+++ b/public/dz_video.html
@@ -49,6 +49,7 @@
video = v;
// 设置播放窗口为 2 * 2
video.regrid(2, 2);
+ toolbar(false);
}
//初始化================================================================================================
@@ -61,7 +62,7 @@
var pwd = videoParam.pwd;
var row = videoParam.row;
var col = videoParam.col;
- video.init({ ip: videoIp, port: videoPort, user: user, pwd: pwd, timeout: timeout, row: row, col: col, toolbar: 'top'/*top|bottom|false*/, onServerOpen: onServerOpen, onServerClose: onServerClose, onVideoClose: onVideoClose });
+ video.init({ ip: videoIp, port: videoPort, user: user, pwd: pwd, timeout: timeout, row: row, col: col, toolbar: false, onServerOpen: onServerOpen, onServerClose: onServerClose, onVideoClose: onVideoClose });
setTimeout(() => {
loopPlayVideo();
}, 1500);
diff --git a/src/views/construction/manage/hoistManage/hoistManage.vue b/src/views/construction/manage/hoistManage/hoistManage.vue
index 5dbb35d..ab1407a 100644
--- a/src/views/construction/manage/hoistManage/hoistManage.vue
+++ b/src/views/construction/manage/hoistManage/hoistManage.vue
@@ -175,17 +175,22 @@ export default {
methods: {
/* 吊装设备点击赋值 */
getStyle(item) {
- if (!item.status) {
+ if (item.status === "check") {
+ return this.checkStyle;
+ } else if (item.status === "warn") {
+ return this.warnStyle;
+ } else {
return this.nocheckStyle;
- } else if (item.status === 'check') {
- return this.checkStyle
- } else if (item.status === 'warn') {
- return this.warnStyle
}
},
/* 向吊装视频传递参数 */
sendParams(devCode, index) {
+ this.devArr.forEach(item => {
+ item.status = 'nocheck'
+ })
this.devArr[index].status = 'check'
+ // 刷新dom
+ this.$forceUpdate();
this.$refs.iframePage.contentWindow.postMessage({ devCode: devCode }, '*');
},
/* 加载吊装预警设备列表 */