From cbf3816814a70cdd8bc59c1bc5d4ba2ac1c4d53c Mon Sep 17 00:00:00 2001 From: chenshuichuan <1154693969@qq.com> Date: Sat, 29 Jun 2024 18:44:35 +0800 Subject: [PATCH] fix worker org --- src/api/mes/organization/index.ts | 8 +- src/views/mes/organization/WorkerIndex.vue | 219 +++++++++--------- .../organization/components/WorkerRight.vue | 175 ++++++++++++++ 3 files changed, 287 insertions(+), 115 deletions(-) create mode 100644 src/views/mes/organization/components/WorkerRight.vue diff --git a/src/api/mes/organization/index.ts b/src/api/mes/organization/index.ts index ceec5ed2..3114ef1e 100644 --- a/src/api/mes/organization/index.ts +++ b/src/api/mes/organization/index.ts @@ -11,9 +11,9 @@ export interface OrganizationVO { phone: string // 联系电话 email: string // 邮箱 isEnable: boolean // 是否启用 - status: number // 组织状态 - orgClass: number // 组织等级 - orgType: number // 组织类型 + status: string // 组织状态 + orgClass: string // 组织等级 + orgType: string // 组织类型 } // 产线工位 API @@ -47,4 +47,4 @@ export const OrganizationApi = { exportOrganization: async (params) => { return await request.download({ url: `/mes/organization/export-excel`, params }) } -} \ No newline at end of file +} diff --git a/src/views/mes/organization/WorkerIndex.vue b/src/views/mes/organization/WorkerIndex.vue index cd1db88f..37ad004a 100644 --- a/src/views/mes/organization/WorkerIndex.vue +++ b/src/views/mes/organization/WorkerIndex.vue @@ -8,46 +8,73 @@ class="-mb-15px" label-width="68px" > - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 重置 - - + - - + - + - + - + + - - + - + - - - - - - - - - - - - - - - - - + @@ -183,20 +169,22 @@ diff --git a/src/views/mes/organization/components/WorkerRight.vue b/src/views/mes/organization/components/WorkerRight.vue new file mode 100644 index 00000000..dc6bcfa2 --- /dev/null +++ b/src/views/mes/organization/components/WorkerRight.vue @@ -0,0 +1,175 @@ + + +