diff --git a/src/api/Simulation.ts b/src/api/Simulation.ts index 885fa43..a41bae6 100644 --- a/src/api/Simulation.ts +++ b/src/api/Simulation.ts @@ -137,6 +137,24 @@ export async function setRelayState(data: { return await api.post(`${UriBase}/relay/operation`, data); } +interface KilometerRange { + Coordinate: string; + MinCoordinate: number; + MaxCoordinate: number; +} + +/** + * 获取地图公里标范围 + * @param + * @returns + */ +export async function getMapKilometerRange( + id: string +): Promise { + const response = await api.get(`${UriBase}/${id}/getMapKilometerRange`); + return response.data; +} + /** * PSL操作 */ diff --git a/src/components/line-app/infos/TrainInfoEcharts.vue b/src/components/line-app/infos/TrainInfoEcharts.vue index d9a6ab7..cefc178 100644 --- a/src/components/line-app/infos/TrainInfoEcharts.vue +++ b/src/components/line-app/infos/TrainInfoEcharts.vue @@ -3,39 +3,52 @@ seamless title="列车属性曲线图" @show="onDialogShow" - :height="510" + :height="546" :width="710" > -
+
+ + + + +