安全管理(数字工地)
This commit is contained in:
parent
c6a081c0cb
commit
e2e82c2192
@ -159,6 +159,7 @@ export default {
|
|||||||
if (this.$route.path.indexOf('/firm/towerManage') != -1) {
|
if (this.$route.path.indexOf('/firm/towerManage') != -1) {
|
||||||
this.$emit('getTreeData', this.treeData)
|
this.$emit('getTreeData', this.treeData)
|
||||||
}
|
}
|
||||||
|
console.log('areaTree.vue传递设备列表数据 --- this.activeLive : ',this.activeLive)
|
||||||
if (this.activeLive) {
|
if (this.activeLive) {
|
||||||
this.treeData.forEach(item => {
|
this.treeData.forEach(item => {
|
||||||
if (this.activeLive.devSn == item.serialNumber) {
|
if (this.activeLive.devSn == item.serialNumber) {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
.videoOverview{
|
.videoOverview{
|
||||||
position: relative;
|
// position: relative;
|
||||||
// background-color: #03112b;
|
// background-color: #03112b;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
.videoTop{
|
.videoTop{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
<Card title="数字工地" showRefresh @query="handleQuery" class="mapContent">
|
<Card title="数字工地" showRefresh @query="handleQuery" class="mapContent">
|
||||||
<vue-scroll>
|
<vue-scroll>
|
||||||
<div class="pane mapUrl">
|
<div class="pane mapUrl">
|
||||||
<img :src="imageUrlMap" alt="" class="bgPackImg" ref="bgPackImg" @load="countBoxSize" style="width: 100%; height: auto; position: relative">
|
<img :src="imageUrlMap" alt="" class="bgPackImg" ref="bgPackImg" @load="countBoxSize" style="width: 100%; height: 571; position: relative;top:7px">
|
||||||
<div
|
<div
|
||||||
class="point"
|
class="point"
|
||||||
:class="[`i-video`, { show: tabIndex === 0 || point === tabs[tabIndex].value }]"
|
:class="[`i-video`, { show: tabIndex === 0 || point === tabs[tabIndex].value }]"
|
||||||
@ -18,7 +18,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<FaceGageDialog v-if="gateDialog" :close="() => (gateDialog = false)" :data="faceGateData" />
|
<FaceGageDialog v-if="gateDialog" :close="() => (gateDialog = false)" :data="faceGateData" />
|
||||||
<EnvironmentDialog v-if="environmentDialog" :data="environmentInfo" :close="() => (environmentDialog = false)" />
|
<EnvironmentDialog v-if="environmentDialog" :data="environmentInfo" :close="() => (environmentDialog = false)" />
|
||||||
<VideoDialog v-if="videoDialog" :close="() => (videoDialog = false)" />
|
<VideoDialog v-if="videoDialog" :close="() => (videoDialog = false)" :data="pointdata" />
|
||||||
<ElevatorDialog v-if="elevatorDialog" :close="() => (elevatorDialog = false)" />
|
<ElevatorDialog v-if="elevatorDialog" :close="() => (elevatorDialog = false)" />
|
||||||
<TowerDialog v-if="towerDialog" :close="() => (towerDialog = false)" />
|
<TowerDialog v-if="towerDialog" :close="() => (towerDialog = false)" />
|
||||||
</div>
|
</div>
|
||||||
@ -57,6 +57,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
pointdata:{},
|
||||||
projectSn: this.$store.state.projectSn,
|
projectSn: this.$store.state.projectSn,
|
||||||
tabIndex: 0,
|
tabIndex: 0,
|
||||||
tabs: [
|
tabs: [
|
||||||
@ -112,6 +113,7 @@ export default {
|
|||||||
}
|
}
|
||||||
// 获取设备信息
|
// 获取设备信息
|
||||||
selectDevCoordinateListApi(data).then(res => {
|
selectDevCoordinateListApi(data).then(res => {
|
||||||
|
console.log("获取设备信息 :"+JSON.stringify(res.result));
|
||||||
this.points = res.result
|
this.points = res.result
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@ -129,6 +131,7 @@ export default {
|
|||||||
this.tabIndex = index
|
this.tabIndex = index
|
||||||
},
|
},
|
||||||
handlePoint(point) {
|
handlePoint(point) {
|
||||||
|
this.pointdata = point
|
||||||
this.videoDialog = true
|
this.videoDialog = true
|
||||||
},
|
},
|
||||||
getFaceGateInfo() {
|
getFaceGateInfo() {
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
<AreaTree @playParams="getPlayParams" :activeLive="activeLiveData" :videoType="1"></AreaTree>
|
<AreaTree @playParams="getPlayParams" :activeLive="activeLiveData" :videoType="1"></AreaTree>
|
||||||
<VideoModule
|
<VideoModule
|
||||||
class="playVideoBox playVideoBox2"
|
class="playVideoBox playVideoBox2"
|
||||||
:class="{ isIframe: isIframe }"
|
|
||||||
:value="playList"
|
:value="playList"
|
||||||
:type="'1x1'"
|
:type="'1x1'"
|
||||||
:displayBottomMod="true"
|
:displayBottomMod="true"
|
||||||
@ -28,8 +27,13 @@ import VideoModule from '@/components/videoModule/videoModule'
|
|||||||
export default {
|
export default {
|
||||||
components: { AreaTree, VideoModule },
|
components: { AreaTree, VideoModule },
|
||||||
props: {
|
props: {
|
||||||
close: {
|
data: {
|
||||||
type: Object,
|
type: Object,
|
||||||
|
required: true,
|
||||||
|
default: () => ({})
|
||||||
|
},
|
||||||
|
close: {
|
||||||
|
type: Function,
|
||||||
default: () => false
|
default: () => false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -37,7 +41,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
videoList: [],
|
videoList: [],
|
||||||
playList: [],
|
playList: [],
|
||||||
activeLiveData: { devSn: '' }
|
activeLiveData: { devSn: this.data.devSn}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@ -39,7 +39,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import LeftOne from './leftOne'
|
import LeftOne from './leftOne'
|
||||||
import LeftTwo from './leftTwo'
|
import LeftTwo from './leftTwo'
|
||||||
import LeftThree from './leftThree'
|
import LeftThree from './LeftThree'
|
||||||
import LeftFour from './leftFour'
|
import LeftFour from './leftFour'
|
||||||
import Center from './center'
|
import Center from './center'
|
||||||
import CenterBOne from './centerBOne'
|
import CenterBOne from './centerBOne'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user