From bd795f5505e15aba727d6f72b8c0ca50a040ac3b Mon Sep 17 00:00:00 2001 From: Joe <1712833832@qq.com> Date: Thu, 18 Jan 2024 09:23:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=8C=E8=BD=A6=E8=AF=B1=E5=AF=BC=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=20=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dialogs/DrivingGuidance/index.vue | 30 ++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) 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) => { + }); } }