From 0c9ae46268cfab0833b8c1ef6133e9aae4bc5db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E7=A3=8A?= <45566618@qq.com> Date: Wed, 15 Apr 2026 18:00:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E8=81=94=E8=AE=BE=E5=A4=87BUG?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../integration/components/HumidForm.vue | 7 +- .../manager/components/log/DeviceLogList.vue | 91 ++++++++++++++++++- .../device/manager/components/log/log.data.ts | 6 ++ .../preview/AddDepartPreviewForm.vue | 7 +- .../components/preview/AddNuPreviewForm.vue | 6 +- 5 files changed, 104 insertions(+), 13 deletions(-) diff --git a/src/views/device/manager/components/integration/components/HumidForm.vue b/src/views/device/manager/components/integration/components/HumidForm.vue index 9ee31bc..cb75a6f 100644 --- a/src/views/device/manager/components/integration/components/HumidForm.vue +++ b/src/views/device/manager/components/integration/components/HumidForm.vue @@ -209,7 +209,6 @@ function getInfo(record){ getDeviceInfo({ "sn":record.sn }).then(res=> { - console.log(res); nextTick(() => { resetFields(); //赋值 @@ -230,10 +229,10 @@ function getInfo(record){ * @param record */ function readParameters(sn){ + confirmLoading.value = true; getDeviceParameters({ "sn":sn }).then(res=> { - console.log(res); nextTick(() => { resetFields(); //赋值 @@ -246,7 +245,9 @@ function readParameters(sn){ //赋值 Object.assign(formData, tmpData); }); - }) + }).finally(() => { + confirmLoading.value = false; + }); } diff --git a/src/views/device/manager/components/log/DeviceLogList.vue b/src/views/device/manager/components/log/DeviceLogList.vue index 433fa82..499cc9b 100644 --- a/src/views/device/manager/components/log/DeviceLogList.vue +++ b/src/views/device/manager/components/log/DeviceLogList.vue @@ -1,5 +1,42 @@