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