Browse Source

行车诱导提交

wangqin
Joe 1 year ago
parent
commit
7c8a5c53ba
  1. 39
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/index.vue

39
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/index.vue

@ -9,6 +9,9 @@
<template #direction>
{{ { 1: '上行(菏泽方向)', 2: '中', 3: '下行(济南方向)' }[dialogData.direction] }}
</template>
<template #device_state>
{{ { 0: '异常', 1: '正常' }[dialogData.device_state] }}
</template>
</Descriptions>
</ElTabPane>
<ElTabPane label="设备参数" name="second">摄相机参数</ElTabPane>
@ -76,31 +79,33 @@ export default {
},
{
label: '设备状态',
key: "useState",
key: "device_state",
},
{
label: '设备厂商',
key: "deviceVendors",
key: "brand",
},
]
}
},
// watch: {
// v: {
// immediate: true,
// handler() {
// request({
// url: `/business/stakeMark/${this.dialogData.stakeMarkId}`,
// method: "get",
// })
// .then((result) => {
// console.log(result)
// }).catch((err) => {
watch: {
dialogData: {
immediate: true,
handler() {
request({
url: `/business/product/${this.dialogData.product_id}`,
method: "get",
})
.then(({ code, data }) => {
if (code != 200) return;
this.dialogData.brand = data.brand;
}).catch((err) => {
// });
// }
// }
// },
});
}
}
},
methods: {
handleClickTabs() { }
}

Loading…
Cancel
Save