Browse Source

行车诱导弹窗 完成

wangqin
Joe 10 months ago
parent
commit
bd795f5505
  1. 30
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/index.vue

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

@ -66,7 +66,6 @@ export default {
}, },
{ {
label: '设备桩号', label: '设备桩号',
// key: "deviceStation",
key: "stakeMarkId", key: "stakeMarkId",
}, },
{ {
@ -102,6 +101,35 @@ export default {
this.dialogData.brand = data.brand; this.dialogData.brand = data.brand;
}).catch((err) => { }).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) => {
}); });
} }
} }

Loading…
Cancel
Save