|
|
@ -5,7 +5,7 @@ |
|
|
|
|
|
|
|
<ElTabs v-model="activeName" @tab-click="handleClickTabs" class="tabs"> |
|
|
|
<ElTabPane label="详细设计" name="first"> |
|
|
|
<Descriptions :list="list" :data="dialogData" style="gap: 18px" /> |
|
|
|
<Descriptions :list="list" :data="data" style="gap: 18px" /> |
|
|
|
</ElTabPane> |
|
|
|
<ElTabPane label="设备参数" name="second">设备参数</ElTabPane> |
|
|
|
</ElTabs> |
|
|
@ -84,7 +84,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
async created() { |
|
|
|
this.dialogData.roadName = "G35济泽高速"; |
|
|
|
this.data = { ...this.dialogData, roadName: null } |
|
|
|
|
|
|
|
request({ |
|
|
|
url: `/business/product/${this.dialogData.productId}`, |
|
|
@ -100,8 +100,9 @@ export default { |
|
|
|
}); |
|
|
|
|
|
|
|
const roadInfo = await getRoadInfoByStakeMark(this.dialogData.stakeMarkId); |
|
|
|
console.log("%c [ roadInfo ]-103-「index.vue」", "font-size:15px; background:#36347c; color:#7a78c0;", roadInfo.roadName); |
|
|
|
|
|
|
|
if (roadInfo) this.dialogData.roadName = roadInfo.dcRoad; |
|
|
|
if (roadInfo) this.data.roadName = roadInfo.roadName; |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
handleClickTabs() { } |
|
|
|