Browse Source

shoufeizhan video change

develop
mbp 1 month ago
parent
commit
e2dfb22777
  1. 3
      ruoyi-ui/src/views/JiHeExpressway/components/VideoMulti/index.vue
  2. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/index.vue

3
ruoyi-ui/src/views/JiHeExpressway/components/VideoMulti/index.vue

@ -90,7 +90,8 @@ export default {
async playVideo() {
this.player?.destroy();
let reqCamrea = null;
if(facilityType && facilityType === 1){ //
console.log(this.facilityType)
if(this.facilityType && this.facilityType === 1){ //
reqCamrea = await getNearCameraNewStation(this.pileNum).catch(() => ({}));
} else {
reqCamrea = await getNearCameraNew(this.pileNum).catch(() => ({}));

4
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/index.vue

@ -7,7 +7,7 @@
<div class="panelParent" style="display:flex;">
<div class="RoadNetworkFacilities">
<div class="header">
<Video @facilityType="facilityType" ref="refVideo" class="video-stream" @nearload="bindNearLoad" :pileNum="dialogData.stakeMark" :rangeIndex="dialogData.facilityType === 1?'all':'upCamera'" :showHeader="false" />
<Video :facilityType="dialogData.facilityType" ref="refVideo" class="video-stream" @nearload="bindNearLoad" :pileNum="dialogData.stakeMark" :rangeIndex="dialogData.facilityType === 1?'all':'upCamera'" :showHeader="false" />
</div>
<div class="SolarEnergy">
<ElTabs v-model="activeName" class="tabs">
@ -118,7 +118,6 @@ export default {
isCameraMap:false,
imgSrc:'',
cameraMaps:[],
facilityType: ''
};
},
watch: {
@ -189,7 +188,6 @@ export default {
this.isCameraMap = false;
this.cameraMaps = [];
if(dData.facilityType === 1){
this.facilityType = 1;
// console.log('')
if(dData.facilityName === '大学城收费站'){
this.imgSrc = require('@screen/images/shoufeiz/大学城收费站.jpg')

Loading…
Cancel
Save