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 @@ + +