From 3703cd438e8bbeb2f71500b2d52fc43b53cf2860 Mon Sep 17 00:00:00 2001 From: lvfengfree Date: Wed, 21 Jan 2026 21:33:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20AMT=E8=AE=BE=E5=A4=87=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=89=B9=E9=87=8F=E8=8E=B7=E5=8F=96/?= =?UTF-8?q?=E6=9B=B4=E6=96=B0UUID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adminSystem/src/api/amt.ts | 8 ++ adminSystem/src/views/amt/devices.vue | 42 +++++++- .../Controllers/DevicesController.cs | 100 ++++++++++++++++++ 3 files changed, 149 insertions(+), 1 deletion(-) diff --git a/adminSystem/src/api/amt.ts b/adminSystem/src/api/amt.ts index 215097b..cb864f8 100644 --- a/adminSystem/src/api/amt.ts +++ b/adminSystem/src/api/amt.ts @@ -105,6 +105,14 @@ export const deviceApi = { data: data, showSuccessMessage: true }) + }, + + // 批量获取/更新设备 UUID + batchFetchUuid(deviceIds: number[]) { + return request.post({ + url: '/api/devices/batch-fetch-uuid', + data: { deviceIds } + }) } } diff --git a/adminSystem/src/views/amt/devices.vue b/adminSystem/src/views/amt/devices.vue index aa3a781..fca6813 100644 --- a/adminSystem/src/views/amt/devices.vue +++ b/adminSystem/src/views/amt/devices.vue @@ -35,6 +35,10 @@ 请勾选设备进行操作
+ + + 获取UUID + 配置AMT账号 @@ -171,7 +175,7 @@