diff --git a/adminSystem/src/api/amt.ts b/adminSystem/src/api/amt.ts index cb864f8..e0566a0 100644 --- a/adminSystem/src/api/amt.ts +++ b/adminSystem/src/api/amt.ts @@ -415,6 +415,14 @@ export const osDeviceApi = { }) }, + // 批量 AMT 绑定 + batchBindAmt(deviceIds: number[]) { + return request.post({ + url: '/api/os-devices/batch-bind-amt', + data: { deviceIds } + }) + }, + // 设置 Windows 登录凭据 setCredentials(id: number, credentials: { username: string; password: string }) { return request.put({ diff --git a/adminSystem/src/views/desktop-manage/devices.vue b/adminSystem/src/views/desktop-manage/devices.vue index 48f1740..37a0cf8 100644 --- a/adminSystem/src/views/desktop-manage/devices.vue +++ b/adminSystem/src/views/desktop-manage/devices.vue @@ -35,6 +35,10 @@ 请勾选设备进行操作
+ + + AMT绑定 + 配置Windows账号 @@ -171,7 +175,7 @@