|
@ -1,11 +1,15 @@ |
|
|
<template> |
|
|
<template> |
|
|
<Dialog v-model="obverseVisible" title="行车诱导"> |
|
|
<Dialog v-model="obverseVisible" title="行车诱导"> |
|
|
<div class="DrivingGuidance"> |
|
|
<div class="DrivingGuidance"> |
|
|
<CustomControlVideo class="camera-video" /> |
|
|
<!-- <CustomControlVideo class="camera-video" /> --> |
|
|
|
|
|
|
|
|
<ElTabs v-model="activeName" @tab-click="handleClickTabs" class="tabs"> |
|
|
<ElTabs v-model="activeName" @tab-click="handleClickTabs" class="tabs"> |
|
|
<ElTabPane label="详细设计" name="first"> |
|
|
<ElTabPane label="详细设计" name="first"> |
|
|
<Descriptions :list="list" :data="data" style="gap: 18px" /> |
|
|
<Descriptions :list="list" :data="dialogData" style="gap: 18px"> |
|
|
|
|
|
<template #direction> |
|
|
|
|
|
{{ { 1: '上行(菏泽方向)', 2: '中', 3: '下行(济南方向)' }[dialogData.direction] }} |
|
|
|
|
|
</template> |
|
|
|
|
|
</Descriptions> |
|
|
</ElTabPane> |
|
|
</ElTabPane> |
|
|
<ElTabPane label="设备参数" name="second">摄相机参数</ElTabPane> |
|
|
<ElTabPane label="设备参数" name="second">摄相机参数</ElTabPane> |
|
|
</ElTabs> |
|
|
</ElTabs> |
|
@ -15,7 +19,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<DeviceControlDialog v-model="deviceControlVisible" /> |
|
|
<DeviceControlDialog v-model="deviceControlVisible" :deviceId="dialogData.iotDeviceId" /> |
|
|
</Dialog> |
|
|
</Dialog> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
@ -25,6 +29,7 @@ import Button from "@screen/components/Buttons/Button.vue" |
|
|
import Descriptions from '@screen/components/Descriptions.vue'; |
|
|
import Descriptions from '@screen/components/Descriptions.vue'; |
|
|
import CustomControlVideo from '@screen/components/CustomControlVideo/index.vue'; |
|
|
import CustomControlVideo from '@screen/components/CustomControlVideo/index.vue'; |
|
|
import DeviceControlDialog from "./components/DeviceControlDialog.vue" |
|
|
import DeviceControlDialog from "./components/DeviceControlDialog.vue" |
|
|
|
|
|
import request from "@/utils/request"; |
|
|
|
|
|
|
|
|
import { dialogDelayVisible } from "./../mixin" |
|
|
import { dialogDelayVisible } from "./../mixin" |
|
|
|
|
|
|
|
@ -53,12 +58,13 @@ export default { |
|
|
}, |
|
|
}, |
|
|
list: [ |
|
|
list: [ |
|
|
{ |
|
|
{ |
|
|
label: '设备类型', |
|
|
label: '设备名称', |
|
|
key: "deviceType", |
|
|
key: "deviceName", |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '设备桩号', |
|
|
label: '设备桩号', |
|
|
key: "deviceStation", |
|
|
// key: "deviceStation", |
|
|
|
|
|
key: "stakeMarkId", |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '道路名称', |
|
|
label: '道路名称', |
|
@ -66,11 +72,11 @@ export default { |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '设备方向', |
|
|
label: '设备方向', |
|
|
key: "deviceDirection", |
|
|
key: "direction", |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '设备状态', |
|
|
label: '设备状态', |
|
|
key: "deviceStatus", |
|
|
key: "useState", |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '设备厂商', |
|
|
label: '设备厂商', |
|
@ -79,6 +85,22 @@ export default { |
|
|
] |
|
|
] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
// watch: { |
|
|
|
|
|
// v: { |
|
|
|
|
|
// immediate: true, |
|
|
|
|
|
// handler() { |
|
|
|
|
|
// request({ |
|
|
|
|
|
// url: `/business/stakeMark/${this.dialogData.stakeMarkId}`, |
|
|
|
|
|
// method: "get", |
|
|
|
|
|
// }) |
|
|
|
|
|
// .then((result) => { |
|
|
|
|
|
// console.log(result) |
|
|
|
|
|
// }).catch((err) => { |
|
|
|
|
|
|
|
|
|
|
|
// }); |
|
|
|
|
|
// } |
|
|
|
|
|
// } |
|
|
|
|
|
// }, |
|
|
methods: { |
|
|
methods: { |
|
|
handleClickTabs() { } |
|
|
handleClickTabs() { } |
|
|
} |
|
|
} |
|
@ -88,7 +110,7 @@ export default { |
|
|
<style lang='scss' scoped> |
|
|
<style lang='scss' scoped> |
|
|
.DrivingGuidance { |
|
|
.DrivingGuidance { |
|
|
width: 600px; |
|
|
width: 600px; |
|
|
height: 510px; |
|
|
height: 240px; |
|
|
color: #fff; |
|
|
color: #fff; |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|