diff --git a/src/components/line-app/states/PlatformState.vue b/src/components/line-app/states/PlatformState.vue
index 0234d41..0f4d4f6 100644
--- a/src/components/line-app/states/PlatformState.vue
+++ b/src/components/line-app/states/PlatformState.vue
@@ -27,19 +27,17 @@
bordered
padding
class="rounded-borders q-my-sm"
- v-if="isEmpjInfoShow || isSpksInfoShow || isMkxInfoShow"
+ v-if="isSpksInfoShow || isMkxInfoShow"
>
-
-
-
-
-
+
+
+
Spks继电器状态
@@ -145,13 +143,6 @@ const isMkxInfoShow = computed(() => {
return platform.states.mkxJState?.replyState?.length !== 0;
});
-const isEmpjInfoShow = computed(() => {
- const selected = lineStore.selectedGraphics;
- if (!selected) return;
- const platform = selected[0] as Platform;
- return platform.states.empj;
-});
-
function setPlatformState(platform: Platform) {
platformState.value = {
id: platform.datas.id,
diff --git a/src/stores/ibp-store.ts b/src/stores/ibp-store.ts
index e86501b..7c8c86d 100644
--- a/src/stores/ibp-store.ts
+++ b/src/stores/ibp-store.ts
@@ -46,8 +46,9 @@ export const useIbpStore = defineStore('ibp', {
const stations = lineScene.queryStore
.queryByType(Station.Type)
.filter(
- (station) =>
- station.datas.kilometerSystem.coordinateSystem === 'MAIN_LINE'
+ (s) =>
+ s.datas.kilometerSystem.coordinateSystem ===
+ station.datas.kilometerSystem.coordinateSystem
)
.sort(
(a, b) =>