|
|
@ -7,19 +7,11 @@ |
|
|
|
<Descriptions :list="list" :data="data" style="gap: 18px"> |
|
|
|
<template #content-deviceName> |
|
|
|
<span>{{ dialogData.deviceName || "-" }}</span> |
|
|
|
<img |
|
|
|
@click="controlDialogVisible = true" |
|
|
|
v-if=" |
|
|
|
[0, '0'].includes( |
|
|
|
dialogData.parseOtherConfig && |
|
|
|
dialogData.parseOtherConfig.ptzCtrl |
|
|
|
) |
|
|
|
" |
|
|
|
src="@screen/images/camera-control-icon.svg" |
|
|
|
width="18px" |
|
|
|
height="18px" |
|
|
|
style="cursor: pointer" |
|
|
|
/> |
|
|
|
<img @click="controlDialogVisible = true" v-if="[0, '0'].includes( |
|
|
|
dialogData.parseOtherConfig && |
|
|
|
dialogData.parseOtherConfig.ptzCtrl |
|
|
|
) |
|
|
|
" src="@screen/images/camera-control-icon.svg" width="18px" height="18px" style="cursor: pointer" /> |
|
|
|
</template> |
|
|
|
</Descriptions> |
|
|
|
</ElTabPane> |
|
|
@ -33,10 +25,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<CameraControlDialog |
|
|
|
:deviceId="dialogData.iotDeviceId" |
|
|
|
v-model="controlDialogVisible" |
|
|
|
/> |
|
|
|
<CameraControlDialog :deviceId="dialogData.iotDeviceId" v-model="controlDialogVisible" /> |
|
|
|
</Dialog> |
|
|
|
</template> |
|
|
|
|
|
|
@ -79,14 +68,14 @@ export default { |
|
|
|
label: "道路名称", |
|
|
|
key: "roadName", |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "设备编号", |
|
|
|
key: "deviceCode", |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "所属机构", |
|
|
|
key: "organizationName", |
|
|
|
}, |
|
|
|
// { |
|
|
|
// label: "设备编号", |
|
|
|
// key: "deviceCode", |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// label: "所属机构", |
|
|
|
// key: "organizationName", |
|
|
|
// }, |
|
|
|
{ |
|
|
|
label: "设备桩号", |
|
|
|
key: "stakeMark", |
|
|
@ -126,6 +115,7 @@ export default { |
|
|
|
const roadInfo = await getRoadInfoByStakeMark(this.dialogData.stakeMark); |
|
|
|
|
|
|
|
if (roadInfo) this.data.roadName = roadInfo.roadName; |
|
|
|
console.log(this.data, "this.data"); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
visibleClose(bool) { |
|
|
@ -190,7 +180,7 @@ export default { |
|
|
|
align-items: center; |
|
|
|
justify-content: end; |
|
|
|
|
|
|
|
> div { |
|
|
|
>div { |
|
|
|
font-size: 16px; |
|
|
|
padding: 6px 12px; |
|
|
|
} |
|
|
|