diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/index.vue index 3b5074f2..13ef63c6 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/index.vue @@ -9,6 +9,9 @@ + 摄相机参数 @@ -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() { } }