|
@ -8,10 +8,10 @@ |
|
|
<Descriptions :list="list" :data="data" style="gap: 18px" /> |
|
|
<Descriptions :list="list" :data="data" style="gap: 18px" /> |
|
|
</ElTabPane> |
|
|
</ElTabPane> |
|
|
<ElTabPane label="设备参数" name="second"> |
|
|
<ElTabPane label="设备参数" name="second"> |
|
|
<div class="content-second"> |
|
|
<div class="content-second" style="height: 185px;"> |
|
|
<RadioGroup v-model="roadType" :options="roadTypeList" /> |
|
|
<RadioGroup v-model="roadType" :options="roadTypeList" /> |
|
|
<span>当前车流量: 999辆</span> |
|
|
<span>当前车流量: 999辆</span> |
|
|
<LineChartForTraffic v-if="activeName === 'second'" /> |
|
|
<LineChartForTraffic style="flex: 1;" v-if="activeName === 'second'" /> |
|
|
</div> |
|
|
</div> |
|
|
</ElTabPane> |
|
|
</ElTabPane> |
|
|
<ElTabPane label="在线统计率" name="third"> |
|
|
<ElTabPane label="在线统计率" name="third"> |
|
@ -125,8 +125,6 @@ export default { |
|
|
const roadInfo = await getRoadInfoByStakeMark(this.dialogData.stakeMark); |
|
|
const roadInfo = await getRoadInfoByStakeMark(this.dialogData.stakeMark); |
|
|
|
|
|
|
|
|
if (roadInfo) this.data.roadName = roadInfo.roadName; |
|
|
if (roadInfo) this.data.roadName = roadInfo.roadName; |
|
|
}, |
|
|
|
|
|
methods: { |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
@ -169,6 +167,7 @@ div.switcher { |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
height: 100%; |
|
|
height: 100%; |
|
|
|
|
|
overflow: hidden; |
|
|
gap: 9px; |
|
|
gap: 9px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|