From 6563b24045eb94a4343b3e2965bd9353c136abcd Mon Sep 17 00:00:00 2001 From: ChenYi <296215406@outlook.com> Date: Mon, 14 Jul 2025 10:32:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=AE=BE=E5=A4=87=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/views/dataManger/deviceData/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/web-antd/src/views/dataManger/deviceData/index.vue b/apps/web-antd/src/views/dataManger/deviceData/index.vue index f915860..8711c43 100644 --- a/apps/web-antd/src/views/dataManger/deviceData/index.vue +++ b/apps/web-antd/src/views/dataManger/deviceData/index.vue @@ -165,9 +165,9 @@ const gridOptions: VxeGridProps = { ? Number(deviceTypeValue) : undefined; - const ioTDataTypeValue = formValues.IoTDataType; + const ioTDataTypeValue = formValues.IoTDataType; - console.log('=== API调用开始 ===2', ioTDataTypeValue); + console.log('=== API调用开始 ===2', ioTDataTypeValue); // 处理DeviceId,当设备类型为集中器(10)时,使用focusId let finalDeviceId = 0; @@ -184,8 +184,8 @@ const gridOptions: VxeGridProps = { pageSize: page.pageSize, // 优先使用表单中的值,如果没有则使用路由参数 DeviceType: deviceTypeNumber, - DeviceId: finalDeviceId, - FocusAddress: formValues.FocusAddress || FocusAddress, + DeviceId: finalDeviceId.toString(), + FocusAddress: deviceInfo.focusAddress, // 添加其他表单参数 SystemName: formValues.SystemName, IoTDataType: ioTDataTypeValue,