From d5b7a291634ad2c485afcf879470762cf0fd2936 Mon Sep 17 00:00:00 2001 From: xudan Date: Tue, 15 Jul 2025 15:02:02 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E5=BA=93?= =?UTF-8?q?=E4=BD=8D=E7=8A=B6=E6=80=81=E7=9B=B8=E5=85=B3=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=EF=BC=8C=E7=AE=80=E5=8C=96=E7=BB=84=E4=BB=B6=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E5=B9=B6=E6=B8=85=E7=90=86=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/map/type.ts | 2 - src/components/card/point-detail-card.vue | 13 ------ src/pages/movement-supervision.vue | 50 ----------------------- src/services/editor.service.ts | 15 ------- 4 files changed, 80 deletions(-) diff --git a/src/apis/map/type.ts b/src/apis/map/type.ts index a56a362..ad284d8 100644 --- a/src/apis/map/type.ts +++ b/src/apis/map/type.ts @@ -16,7 +16,6 @@ export interface MapPen extends Pen { activeAttrs?: Array; // 已激活的额外属性 properties?: unknown; // 第三方附加参数 - storageStatus?: Record; // 库位状态 statusStyle?: string; // 状态颜色 strokeStyle?: string; // 边框颜色 } @@ -49,7 +48,6 @@ export interface MapAreaInfo { routes?: Array; // 绑定线路id集合 maxAmr?: number; // 最大可容纳AMR数 inoutflag?: 1 | 2; // 库区规则 - storageLocations?: Record; // 动作点ID对应的库位信息(内部使用) } //#endregion diff --git a/src/components/card/point-detail-card.vue b/src/components/card/point-detail-card.vue index c255596..73f101a 100644 --- a/src/components/card/point-detail-card.vue +++ b/src/components/card/point-detail-card.vue @@ -52,13 +52,6 @@ const mapAreas = (type: MapAreaType): string => { }; const coArea1 = computed(() => mapAreas(MapAreaType.库区)); const coArea2 = computed(() => mapAreas(MapAreaType.互斥区)); -const storageStatus = computed(() => { - const status = pen.value?.storageStatus; - if (!status) return '暂无'; - return Object.entries(status) - .map(([key, value]) => `${key}: ${value}`) - .join(', '); -}); diff --git a/src/pages/movement-supervision.vue b/src/pages/movement-supervision.vue index 38bf262..5c65a81 100644 --- a/src/pages/movement-supervision.vue +++ b/src/pages/movement-supervision.vue @@ -1,5 +1,4 @@