From 1dad042c621eaa98a0f6fb7c9a608507e7d2aecc Mon Sep 17 00:00:00 2001 From: fan Date: Thu, 19 Oct 2023 10:36:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E9=87=8C=E6=A0=87=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E6=94=BE=E5=BC=80=E5=A1=AB=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../draw-app/dialogs/KilometerConvertList.vue | 11 +-------- .../properties/AxleCountingProperty.vue | 15 +++--------- .../CurvatureKiloMarkerProperty.vue | 24 +++++-------------- .../properties/KilometerConvertConfig.vue | 15 ++++-------- .../draw-app/properties/SignalProperty.vue | 15 +++--------- .../properties/SlopeKiloMarkerProperty.vue | 24 +++++-------------- .../draw-app/properties/StationProperty.vue | 16 +++---------- .../properties/StopPositionProperty.vue | 15 +++--------- .../properties/TransponderProperty.vue | 16 +++---------- .../draw-app/properties/TurnoutProperty.vue | 24 +++++-------------- src/drawApp/commonApp.ts | 7 ------ 11 files changed, 38 insertions(+), 144 deletions(-) diff --git a/src/components/draw-app/dialogs/KilometerConvertList.vue b/src/components/draw-app/dialogs/KilometerConvertList.vue index 74a1044..d361b9b 100644 --- a/src/components/draw-app/dialogs/KilometerConvertList.vue +++ b/src/components/draw-app/dialogs/KilometerConvertList.vue @@ -51,7 +51,6 @@ import DraggableDialog from 'src/components/common/DraggableDialog.vue'; import { QTable, useQuasar } from 'quasar'; import { errorNotify, successNotify } from 'src/utils/CommonNotify'; import { - CoordinateSystemOptions, deleteKilometerConvert, loadKilometerConvertList, sameTrendOptions, @@ -160,15 +159,7 @@ function getSameTrendName(row: graphicData.KilometerConvert) { } function getKMName(km: KilometerSystem) { - let nameArr = []; - const findCoordinate = CoordinateSystemOptions.find((item) => { - return item.value == km.coordinateSystem; - }); - if (findCoordinate) { - nameArr.push(findCoordinate.label); - } - nameArr.push(km.kilometer); - return nameArr.join('_'); + return km.coordinateSystem + '_' + km.kilometer; } diff --git a/src/components/draw-app/properties/AxleCountingProperty.vue b/src/components/draw-app/properties/AxleCountingProperty.vue index 4a123c4..999f0e7 100644 --- a/src/components/draw-app/properties/AxleCountingProperty.vue +++ b/src/components/draw-app/properties/AxleCountingProperty.vue @@ -22,16 +22,13 @@
公里标配置
- + >
公里标配置
- + >
公里标配置
- + >
坐标A - + > 坐标B - + >
公里标配置
- + >
公里标配置
- + >
公里标配置
- + >