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 13ef63c6..88c1f41b 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 @@ -66,7 +66,6 @@ export default { }, { label: '设备桩号', - // key: "deviceStation", key: "stakeMarkId", }, { @@ -102,6 +101,35 @@ export default { this.dialogData.brand = data.brand; }).catch((err) => { + }); + + request({ + url: `/business/stakeMark/${this.dialogData.stakeMarkId}`, + method: "get", + }) + .then(({ code, data }) => { + if (code != 200) return; + + request({ + url: `/business/roadSection/${data.section_id}`, + method: "get", + }) + .then(({ code, data }) => { + if (code != 200) return; + + request({ + url: `/business/road/${data.road_id}`, + method: "get", + }) + .then(({ code, data }) => { + if (code != 200) return; + + this.dialogData.roadName = data.dc_road; + }) + }) + + }).catch((err) => { + }); } }