From b0548b329d33325856764d4bf627b9c29ac34d6a Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 16 Feb 2026 15:47:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(mes):=20=E4=BC=98=E5=8C=96=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E7=AB=99=E6=A8=A1=E5=9D=97=EF=BC=8C=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E8=BD=A6=E9=97=B4=E5=88=97=E8=A1=A8=E5=92=8C?= =?UTF-8?q?=E8=BD=A6=E9=97=B4=20Map=20=E6=96=B9=E6=B3=95=EF=BC=8C=E9=87=8D?= =?UTF-8?q?=E6=9E=84=E8=A1=A8=E5=8D=95=E5=BC=B9=E7=AA=97=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/md/workstation/index.ts | 2 - .../mes/md/workstation/WorkstationForm.vue | 6 +- .../WorkstationMachinePanel.vue | 58 +++++++++---- .../{components => }/WorkstationToolPanel.vue | 87 +++++++++++-------- .../WorkstationWorkerPanel.vue | 85 +++++++++--------- src/views/mes/md/workstation/index.vue | 12 ++- 6 files changed, 144 insertions(+), 106 deletions(-) rename src/views/mes/md/workstation/{components => }/WorkstationMachinePanel.vue (74%) rename src/views/mes/md/workstation/{components => }/WorkstationToolPanel.vue (71%) rename src/views/mes/md/workstation/{components => }/WorkstationWorkerPanel.vue (74%) diff --git a/src/api/mes/md/workstation/index.ts b/src/api/mes/md/workstation/index.ts index f102b49c2..7ffdd4f6c 100644 --- a/src/api/mes/md/workstation/index.ts +++ b/src/api/mes/md/workstation/index.ts @@ -1,7 +1,5 @@ import request from '@/config/axios' -// DONE @AI:【遵守我说的!】是不是每个 VO 独立文件;例如说 tool/ 、worker/、machine/ 等等 - // MES 工作站 VO export interface MdWorkstationVO { id: number // 工作站编号 diff --git a/src/views/mes/md/workstation/WorkstationForm.vue b/src/views/mes/md/workstation/WorkstationForm.vue index 2077ed574..ef07b3682 100644 --- a/src/views/mes/md/workstation/WorkstationForm.vue +++ b/src/views/mes/md/workstation/WorkstationForm.vue @@ -90,9 +90,9 @@ import { MdWorkstationApi, MdWorkstationVO } from '@/api/mes/md/workstation' import { MdWorkshopApi, MdWorkshopVO } from '@/api/mes/md/workstation/workshop' import { CommonStatusEnum } from '@/utils/constants' import { generateRandomStr } from '@/utils' -import WorkstationMachinePanel from './components/WorkstationMachinePanel.vue' -import WorkstationToolPanel from './components/WorkstationToolPanel.vue' -import WorkstationWorkerPanel from './components/WorkstationWorkerPanel.vue' +import WorkstationMachinePanel from './WorkstationMachinePanel.vue' +import WorkstationToolPanel from './WorkstationToolPanel.vue' +import WorkstationWorkerPanel from './WorkstationWorkerPanel.vue' defineOptions({ name: 'WorkstationForm' }) diff --git a/src/views/mes/md/workstation/components/WorkstationMachinePanel.vue b/src/views/mes/md/workstation/WorkstationMachinePanel.vue similarity index 74% rename from src/views/mes/md/workstation/components/WorkstationMachinePanel.vue rename to src/views/mes/md/workstation/WorkstationMachinePanel.vue index 5e8f7ce39..eeaa80fc0 100644 --- a/src/views/mes/md/workstation/components/WorkstationMachinePanel.vue +++ b/src/views/mes/md/workstation/WorkstationMachinePanel.vue @@ -1,6 +1,6 @@