|
|
@ -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) => { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|