Compare commits
No commits in common. "40b050d75c9fa01b8643c1982ef2e365ca517ec9" and "a24391ff1e896a5ba2cd8dbc3f25431e230f12cb" have entirely different histories.
40b050d75c
...
a24391ff1e
|
@ -1675,7 +1675,7 @@ export function MapFun(mapObj) {
|
|||
// })
|
||||
|
||||
// }
|
||||
_removeLayerByLayerName(layerName)
|
||||
//_removeLayerByLayerName(layerName)
|
||||
let selectedLayerList = [];
|
||||
let layers = null;
|
||||
let clickDataList = [];
|
||||
|
|
|
@ -18,11 +18,7 @@
|
|||
index: {
|
||||
type: Number,
|
||||
default: 0,
|
||||
},
|
||||
stopFlag:{
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
@ -208,19 +204,9 @@
|
|||
}
|
||||
</script>
|
||||
<style lang="less">
|
||||
.video-player {
|
||||
.tiled-map {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
.play-button{
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color: red;
|
||||
position: absolute;
|
||||
left: 350px;
|
||||
z-index: 9;
|
||||
top: 240px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -622,30 +622,10 @@
|
|||
destroyOnClose
|
||||
footer="{null}"
|
||||
>
|
||||
<div style="width: 100%; display: flex; justify-content: center">
|
||||
<div
|
||||
style="width: 100%; height: 100%; position: relative"
|
||||
v-show="isXiHaiAn"
|
||||
>
|
||||
<!-- 西海岸--预览视频--遮罩 todo-->
|
||||
<div class="video-cover-new" @click="videoShowMsg"></div>
|
||||
<div class="waterMark waterMark-left-top">
|
||||
{{ userInfo.usernameShow }}
|
||||
</div>
|
||||
<div class="waterMark waterMark-right-top">
|
||||
{{ userInfo.realNameShow }}
|
||||
</div>
|
||||
<div class="waterMark waterMark-left-bottom">
|
||||
{{ userInfo.usernameShow }}
|
||||
</div>
|
||||
<div class="waterMark waterMark-right-bottom">
|
||||
{{ userInfo.realNameShow }}
|
||||
</div>
|
||||
<!--地图上点击之后弹出的操作弹窗-->
|
||||
<camera-popup-on-map :camera-Data-List="cameraDataList" :selected-flag="selectedFlag"></camera-popup-on-map>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--地图上点击之后弹出的操作弹窗-->
|
||||
<camera-popup-on-map
|
||||
:camera-Data-List="cameraDataList"
|
||||
></camera-popup-on-map>
|
||||
</a-modal>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2266,9 +2246,7 @@
|
|||
}
|
||||
|
||||
//地图视频操作弹窗
|
||||
const operationPopupFlag = ref(false)//地图操作弹窗显示标志位
|
||||
//是否为视频选择地图弹窗
|
||||
const selectedFlag = ref(false)
|
||||
const operationPopupFlag = ref(false) //地图操作弹窗显示标志位
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.infrastructrueBox {
|
||||
|
@ -2734,19 +2712,6 @@
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
.video-cover-new {
|
||||
width: 798px;
|
||||
height: 600px;
|
||||
position: absolute;
|
||||
left: 85px;
|
||||
top: 15px;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background: transparent;
|
||||
z-index: 99999999;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.batch-video-cover {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
</a-carousel>
|
||||
<div class="operation-content" style="position:ab">
|
||||
<div class="video-content">
|
||||
<h5-player :video-url="videoUrl" :stop-flag="selectedFlag"></h5-player>
|
||||
<h5-player :video-url="videoUrl" ref="hPlayer"></h5-player>
|
||||
</div>
|
||||
<div class="text-label">
|
||||
<span>{{defaultIndex+1}}</span>/<span>{{cameraDataList.length}}</span>
|
||||
|
@ -70,10 +70,6 @@
|
|||
return {}
|
||||
},
|
||||
},
|
||||
selectedFlag:{
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.getVideoUrl(this.cameraDataList[this.defaultIndex]);
|
||||
|
@ -194,9 +190,8 @@
|
|||
},
|
||||
//查看下一个
|
||||
handleNext(){
|
||||
let lastIndex = this.cameraDataList.length-1;
|
||||
if(this.defaultIndex === Number(lastIndex)){
|
||||
this.defaultIndex = 0;
|
||||
if(this.defaultIndex === this.cameraDataList.length){
|
||||
this.defaultIndex = this.cameraDataList.length;
|
||||
console.log('opopopop',this.cameraDataList[0]);
|
||||
this.getVideoUrl(this.cameraDataList[0]);
|
||||
}else{
|
||||
|
|
|
@ -431,7 +431,7 @@ import { ElMessage } from 'element-plus'
|
|||
}
|
||||
}
|
||||
}
|
||||
//params.type='0';
|
||||
params.type='0';
|
||||
getCameraByCondition(params).then((res) => {
|
||||
//console.log('根据parent查询摄像头44444', res.data.data)
|
||||
if(type=='map'){
|
||||
|
@ -441,11 +441,11 @@ import { ElMessage } from 'element-plus'
|
|||
mybus.emit('getListByMap', params);
|
||||
}
|
||||
this.pointAllData = res.data.data;
|
||||
if(this.mapSearchParam.type!=0)
|
||||
if(this.mapSearchParam.type!=0){
|
||||
this.addResourceTomap('videoMap', res.data.data)
|
||||
|
||||
}
|
||||
else
|
||||
this.addResourceTomap('videoMap', []) //查询全部时不打点}
|
||||
{this.addResourceTomap('videoMap', []) } //查询全部时不打点}
|
||||
|
||||
})
|
||||
}
|
||||
|
@ -615,7 +615,7 @@ import { ElMessage } from 'element-plus'
|
|||
this.getMapPoint(dataEvent, 'icon_camare.png', type)
|
||||
},
|
||||
getMapPoint(data, img, type) {
|
||||
//this.hiMapFun.clearAllLayers();
|
||||
this.hiMapFun.clearAllLayers();
|
||||
const features = data
|
||||
// debugger
|
||||
this.hiMapFun.addResourceOnMapWithoutSuperMapCluster(
|
||||
|
|
Loading…
Reference in New Issue