From f9e06c5f09ab99663d48eb80c93b0db8cb985a8f Mon Sep 17 00:00:00 2001 From: fan Date: Mon, 22 Jan 2024 11:30:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=AD=94=E5=99=A8=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=8F=8A=E7=8A=B6=E6=80=81=E6=98=BE=E7=A4=BA=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bj-rtss-message | 2 +- src/api/Simulation.ts | 3 +- .../dialogs/UpdateMessageTransponder.vue | 65 ++++++++++++++++--- .../properties/TransponderProperty.vue | 4 +- .../line-app/states/TransponderState.vue | 20 +++--- .../graphics/TransponderInteraction.ts | 25 ++++--- src/graphics/transponder/Transponder.ts | 20 +++--- .../transponder/TransponderDrawAssistant.ts | 9 +-- src/layouts/DrawLayout.vue | 6 +- src/protos/device_state.ts | 51 +++++++++++---- src/protos/stationLayoutGraphics.ts | 28 ++++---- 11 files changed, 161 insertions(+), 72 deletions(-) diff --git a/bj-rtss-message b/bj-rtss-message index 3180214..3a30efc 160000 --- a/bj-rtss-message +++ b/bj-rtss-message @@ -1 +1 @@ -Subproject commit 3180214b105526abc5bc2c5ea67d431a38863c89 +Subproject commit 3a30efc9fe949cd5ab9898073f00a093716f279e diff --git a/src/api/Simulation.ts b/src/api/Simulation.ts index 490e97a..8d6c3c2 100644 --- a/src/api/Simulation.ts +++ b/src/api/Simulation.ts @@ -275,7 +275,8 @@ export async function screenDoorOperate(data: { export async function updateMessageTransponder(data: { simulationId: string; mapId: number; - telegram: string; + fixedTelegram: string; + fixedUserTelegram: string; baliseId: number; }) { return await api.put(`${UriBase}/balise/telegram/modify`, data); diff --git a/src/components/draw-app/dialogs/UpdateMessageTransponder.vue b/src/components/draw-app/dialogs/UpdateMessageTransponder.vue index 82d5d78..a356857 100644 --- a/src/components/draw-app/dialogs/UpdateMessageTransponder.vue +++ b/src/components/draw-app/dialogs/UpdateMessageTransponder.vue @@ -4,11 +4,11 @@ seamless title="修改应答器报文" v-model="showUpdateMessage" - :width="300" + :width="350" :height="0" >