From 2a59c2713711324c7a4f14598a0879984475473e Mon Sep 17 00:00:00 2001 From: Flow <958079825@qq.com> Date: Thu, 12 Jun 2025 16:14:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=BB=91=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/deviceuser/index.ts | 1 + src/views/person/devicebind.vue | 234 ++++++++++++++++++++++++++++++++ src/views/person/index.vue | 32 ++--- 3 files changed, 250 insertions(+), 17 deletions(-) create mode 100644 src/views/person/devicebind.vue diff --git a/src/api/deviceuser/index.ts b/src/api/deviceuser/index.ts index 865d8b41..90725e38 100644 --- a/src/api/deviceuser/index.ts +++ b/src/api/deviceuser/index.ts @@ -10,6 +10,7 @@ export interface DeviceuserVO { createby: string // 创建人 updateby: string // 更新人 username: string // 用户姓名 + devicetype: string // 设备类型 } // 设备人员关联 API diff --git a/src/views/person/devicebind.vue b/src/views/person/devicebind.vue new file mode 100644 index 00000000..8a83b296 --- /dev/null +++ b/src/views/person/devicebind.vue @@ -0,0 +1,234 @@ + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + {{ getDeviceStatusLabel(scope.row.devicestatus) }} + + + + + + + 绑定 + + + + + + + + + + + + + + diff --git a/src/views/person/index.vue b/src/views/person/index.vue index ddbaee88..69ebcaaf 100644 --- a/src/views/person/index.vue +++ b/src/views/person/index.vue @@ -115,6 +115,9 @@ + + 绑定设备 + 修改 @@ -141,12 +144,15 @@ + +