From 019634423996f1db8d87e2bbd61d0d01c7cfd626 Mon Sep 17 00:00:00 2001 From: lvfengfree Date: Wed, 21 Jan 2026 21:43:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=94=AF=E6=8C=81=E6=89=B9=E9=87=8FAMT?= =?UTF-8?q?=E7=BB=91=E5=AE=9A=EF=BC=88=E9=80=9A=E8=BF=87UUID=E6=88=96IP?= =?UTF-8?q?=E5=8C=B9=E9=85=8D=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adminSystem/src/api/amt.ts | 8 ++ .../src/views/desktop-manage/devices.vue | 36 ++++- .../Controllers/OsDevicesController.cs | 134 ++++++++++++++++++ 3 files changed, 177 insertions(+), 1 deletion(-) 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 @@