|
@@ -1,6 +1,10 @@
|
|
<template>
|
|
<template>
|
|
<div class="newEvacuationBigData">
|
|
<div class="newEvacuationBigData">
|
|
- <div class="evacuation-title-positon-box">风险应急处置指挥平台</div>
|
|
|
|
|
|
+ <div class="evacuation-title-position-box">风险应急处置指挥平台</div>
|
|
|
|
+ <div class="evacuation-out-button-position-box">
|
|
|
|
+ <i class="el-icon-switch-button"></i>
|
|
|
|
+ <p @click="goRoute">{{routeType?'退出全屏':'全屏'}}</p>
|
|
|
|
+ </div>
|
|
<!--顶部标题-->
|
|
<!--顶部标题-->
|
|
<!--左侧 传感器/硬件/echarts-->
|
|
<!--左侧 传感器/硬件/echarts-->
|
|
<div class="left-max-big-box">
|
|
<div class="left-max-big-box">
|
|
@@ -110,7 +114,7 @@
|
|
<p class="text-p">{{subText}} {{floorText}}</p>
|
|
<p class="text-p">{{subText}} {{floorText}}</p>
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
<p class="button-p-one" @click="evacuationButton">{{evacuationType?'结束疏散':'立即疏散'}}</p>
|
|
<p class="button-p-one" @click="evacuationButton">{{evacuationType?'结束疏散':'立即疏散'}}</p>
|
|
- <p class="button-p-two" @click="goRoute">{{routeType?'返回':'全屏'}}</p>
|
|
|
|
|
|
+ <p class="button-p-two" @click="backButton">返回</p>
|
|
</div>
|
|
</div>
|
|
<div class="left-big-box-two">
|
|
<div class="left-big-box-two">
|
|
<div class="newEvacuation-map-max-big-box"
|
|
<div class="newEvacuation-map-max-big-box"
|
|
@@ -588,7 +592,18 @@
|
|
}
|
|
}
|
|
this.$set(this,'planDataType',true);
|
|
this.$set(this,'planDataType',true);
|
|
this.initialization();
|
|
this.initialization();
|
|
- console.log('有参数',this.$route.query);
|
|
|
|
|
|
+ console.log('跳转传参',this.$route.query);
|
|
|
|
+ }else if(this.propsBigData.subId){
|
|
|
|
+ this.$set(this,'buildingId',parseInt(this.propsBigData.buildId));
|
|
|
|
+ this.$set(this,'floorId',parseInt(this.propsBigData.floorId));
|
|
|
|
+ this.$set(this,'subId',parseInt(this.propsBigData.subId));
|
|
|
|
+ this.$set(this,'checkSubId',parseInt(this.propsBigData.subId));
|
|
|
|
+ if(this.propsBigData.groupId){
|
|
|
|
+ this.setRiskPlanId(this.propsBigData.groupId);
|
|
|
|
+ }
|
|
|
|
+ this.$set(this,'planDataType',true);
|
|
|
|
+ this.initialization();
|
|
|
|
+ console.log('父类传参',this.propsBigData);
|
|
}else{
|
|
}else{
|
|
this.$set(this,'planDataType',false);
|
|
this.$set(this,'planDataType',false);
|
|
this.initialization();
|
|
this.initialization();
|
|
@@ -636,15 +651,29 @@
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ //返回按钮
|
|
|
|
+ backButton(){
|
|
|
|
+ this.$parent.goPage(1);
|
|
|
|
+ },
|
|
//全屏页面跳转
|
|
//全屏页面跳转
|
|
goRoute(){
|
|
goRoute(){
|
|
if(this.routeType){
|
|
if(this.routeType){
|
|
this.$router.push({
|
|
this.$router.push({
|
|
- path: "/emergencyManagement/evacuation/newPerformEvacuation"
|
|
|
|
|
|
+ path: "/emergencyManagement/evacuation/newPerformEvacuation",
|
|
|
|
+ query: {
|
|
|
|
+ buildId: this.$route.query.buildId?this.$route.query.buildId:(this.propsBigData.buildId?this.propsBigData.buildId:''),
|
|
|
|
+ floorId:this.$route.query.floorId?this.$route.query.floorId:(this.propsBigData.floorId?this.propsBigData.floorId:''),
|
|
|
|
+ subId:this.$route.query.subId?this.$route.query.subId:(this.propsBigData.subId?this.propsBigData.subId:''),
|
|
|
|
+ }
|
|
})
|
|
})
|
|
}else{
|
|
}else{
|
|
this.$router.push({
|
|
this.$router.push({
|
|
- path: "/newEvacuationBigData"
|
|
|
|
|
|
+ path: "/newEvacuationBigData",
|
|
|
|
+ query: {
|
|
|
|
+ buildId: this.$route.query.buildId?this.$route.query.buildId:(this.propsBigData.buildId?this.propsBigData.buildId:''),
|
|
|
|
+ floorId:this.$route.query.floorId?this.$route.query.floorId:(this.propsBigData.floorId?this.propsBigData.floorId:''),
|
|
|
|
+ subId:this.$route.query.subId?this.$route.query.subId:(this.propsBigData.subId?this.propsBigData.subId:''),
|
|
|
|
+ }
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -765,11 +794,9 @@
|
|
//实验室视频展开收起开关
|
|
//实验室视频展开收起开关
|
|
subjectVideoCheckClick(){
|
|
subjectVideoCheckClick(){
|
|
if(this.subjectVideoType){
|
|
if(this.subjectVideoType){
|
|
- console.log('关闭');
|
|
|
|
this.videoOff('subject')
|
|
this.videoOff('subject')
|
|
}else{
|
|
}else{
|
|
if(this.subjectVideoIds[0]){
|
|
if(this.subjectVideoIds[0]){
|
|
- console.log('开启');
|
|
|
|
this.startUrl('subject');
|
|
this.startUrl('subject');
|
|
}else{
|
|
}else{
|
|
this.msgError('该实验室未配置摄像头')
|
|
this.msgError('该实验室未配置摄像头')
|
|
@@ -1442,7 +1469,7 @@
|
|
// isLive: true, //=> 是否为直播流
|
|
// isLive: true, //=> 是否为直播流
|
|
// hasAudio: false, //=> 是否开启声音
|
|
// hasAudio: false, //=> 是否开启声音
|
|
type: 'flv', //媒体类型 flv 或 mp4
|
|
type: 'flv', //媒体类型 flv 或 mp4
|
|
- url: videoList[i].videoUrl, //视频流地址
|
|
|
|
|
|
+ url: videoList[i].videoUrl //视频流地址
|
|
},
|
|
},
|
|
{
|
|
{
|
|
enableStashBuffer: true,//启用 IO 存储缓冲区。 如果您需要实时流播放(最小延迟),请设置为 false,但如果存在网络抖动,则可能会停止。
|
|
enableStashBuffer: true,//启用 IO 存储缓冲区。 如果您需要实时流播放(最小延迟),请设置为 false,但如果存在网络抖动,则可能会停止。
|
|
@@ -2263,7 +2290,7 @@
|
|
//清除定时器
|
|
//清除定时器
|
|
let self = this;
|
|
let self = this;
|
|
self.videoOff('floor');
|
|
self.videoOff('floor');
|
|
- self.videoOff('subject')
|
|
|
|
|
|
+ self.videoOff('subject');
|
|
// self.offAllMQTT();
|
|
// self.offAllMQTT();
|
|
self.offFloorMQTT();
|
|
self.offFloorMQTT();
|
|
self.offSubMQTT();
|
|
self.offSubMQTT();
|
|
@@ -2287,7 +2314,7 @@
|
|
p{
|
|
p{
|
|
margin:0;
|
|
margin:0;
|
|
}
|
|
}
|
|
- .evacuation-title-positon-box{
|
|
|
|
|
|
+ .evacuation-title-position-box{
|
|
position: absolute;
|
|
position: absolute;
|
|
top:0;
|
|
top:0;
|
|
/*left:2%;*/
|
|
/*left:2%;*/
|
|
@@ -2304,6 +2331,25 @@
|
|
font-weight:900;
|
|
font-weight:900;
|
|
letter-spacing:10px
|
|
letter-spacing:10px
|
|
}
|
|
}
|
|
|
|
+ .evacuation-out-button-position-box{
|
|
|
|
+ display: flex;
|
|
|
|
+ position: absolute;
|
|
|
|
+ top:0;
|
|
|
|
+ right:0;
|
|
|
|
+ width:110px;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ i{
|
|
|
|
+ margin:0 10px;
|
|
|
|
+ line-height:40px;
|
|
|
|
+ color:#24D1F9;
|
|
|
|
+ font-size:18px;
|
|
|
|
+ }
|
|
|
|
+ p{
|
|
|
|
+ line-height:40px;
|
|
|
|
+ color:#24D1F9;
|
|
|
|
+ font-size:14px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
.big-title-box{
|
|
.big-title-box{
|
|
width:181px;
|
|
width:181px;
|
|
height:59px;
|
|
height:59px;
|