From 54afd4555df594ca5057a320d542b92ae3ddc31c Mon Sep 17 00:00:00 2001 From: Administrator <425053404@qq.com> Date: Fri, 17 Oct 2025 00:13:48 +0800 Subject: [PATCH 1/6] =?UTF-8?q?iot=E4=BA=A7=E5=93=81=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E9=97=AE=E9=A2=98=201.=E4=BF=AE=E5=A4=8D=E7=89=A9=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E5=88=97=E8=A1=A8=E6=97=A0=E9=99=90=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=202.=E4=BF=AE=E5=A4=8D=E7=89=A9?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=EF=BC=8CTSL=EF=BC=8C=E7=BC=96=E8=BE=91=EF=BC=8C?= =?UTF-8?q?=E5=88=A0=E9=99=A4=EF=BC=8C=E5=8A=9F=E8=83=BD=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E9=80=89=E9=A1=B9=E5=8A=9F=E8=83=BD=E4=B8=8D=E7=94=A8=E9=97=AE?= =?UTF-8?q?=E9=A2=98=203.=E4=BF=AE=E5=A4=8DTSL=E6=8C=89=E9=92=AE=E7=89=A9?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E6=8E=A5=E5=8F=A3=E6=B2=A1=E6=9C=89=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=204.=E4=BF=AE=E5=A4=8D=E7=89=A9=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E6=96=B0=E5=A2=9E=E7=BC=96=E8=BE=91=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=9A=84=E5=B1=9E=E6=80=A7=E4=B8=8D=E8=83=BD=E6=AD=A3=E5=B8=B8?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98=E7=BE=8E?= =?UTF-8?q?=E5=8C=96=E6=98=BE=E7=A4=BA=20iot=E8=AE=BE=E5=A4=87=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=97=AE=E9=A2=98=201.=E4=BF=AE=E5=A4=8D=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E7=BC=96=E8=BE=91=E9=A1=B5=E9=9D=A2=E7=BC=BA=E5=B0=91?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E7=9B=B8=E5=85=B3=E7=BB=84=E4=BB=B6=202.?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=BE=E5=A4=87=E8=AF=A6=E6=83=85=E4=B8=AD?= =?UTF-8?q?=E5=AD=90=E9=A1=B5=E9=9D=A2=E4=B8=8D=E6=98=BE=E7=A4=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98=203.=E4=BF=AE=E5=A4=8D=E8=AE=BE=E5=A4=87=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E5=AD=90=E9=A1=B5=E9=9D=A2=E7=89=A9=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E9=A1=B5=E9=9D=A2=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98=204.=E4=BF=AE=E5=A4=8D=E6=A8=A1=E6=8B=9F?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E5=8F=B3=E4=BE=A7=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20=E5=8F=B3=E4=BE=A7=E6=BA=A2=E5=87=BA?= =?UTF-8?q?=EF=BC=8C=E6=94=B9=E4=B8=BA=E4=B8=8A=E4=B8=8B=E5=88=86=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Administrator <425053404@qq.com> --- .../src/views/iot/alert/config/index.vue | 6 +- .../src/views/iot/alert/record/index.vue | 4 +- .../src/views/iot/device/device/data.ts | 20 +- .../iot/device/device/modules/DeviceForm.vue | 12 +- .../modules/detail/DeviceDetailConfig.vue | 100 ++++++-- .../modules/detail/DeviceDetailsInfo.vue | 2 +- .../modules/detail/DeviceDetailsMessage.vue | 230 +++++++++--------- .../modules/detail/DeviceDetailsSimulator.vue | 117 ++++++--- .../modules/detail/DeviceDetailsSubDevice.vue | 44 ++++ .../detail/DeviceDetailsThingModel.vue | 19 +- .../detail/DeviceDetailsThingModelEvent.vue | 1 + ...DeviceDetailsThingModelPropertyHistory.vue | 76 ++++-- .../detail/DeviceDetailsThingModelService.vue | 1 + .../device/device/modules/detail/index.vue | 86 ++++--- .../src/views/iot/device/group/index.vue | 6 +- .../src/views/iot/ota/firmware/index.vue | 6 +- apps/web-antd/src/views/iot/ota/index.vue | 6 +- .../product/modules/ProductCardView.vue | 45 +++- .../product/product/modules/ProductForm.vue | 15 +- .../modules/detail/ProductDetailsInfo.vue | 2 +- .../src/views/iot/rule/data/index.vue | 6 +- .../src/views/iot/rule/data/rule/index.vue | 6 +- .../src/views/iot/rule/data/sink/index.vue | 6 +- .../src/views/iot/rule/scene/index.vue | 8 +- .../web-antd/src/views/iot/thingmodel/data.ts | 11 +- .../src/views/iot/thingmodel/index.vue | 117 ++++++--- .../thingmodel/modules/ThingModelEvent.vue | 10 +- .../iot/thingmodel/modules/ThingModelForm.vue | 111 ++++++--- .../modules/ThingModelInputOutputParam.vue | 53 ++-- .../thingmodel/modules/ThingModelProperty.vue | 75 +++--- .../thingmodel/modules/ThingModelService.vue | 12 +- .../iot/thingmodel/modules/ThingModelTSL.vue | 121 ++++++--- .../modules/components/DataDefinition.vue | 67 +++-- .../dataSpecs/ThingModelArrayDataSpecs.vue | 8 +- .../dataSpecs/ThingModelEnumDataSpecs.vue | 133 ++-------- .../dataSpecs/ThingModelNumberDataSpecs.vue | 170 ++++--------- .../dataSpecs/ThingModelStructDataSpecs.vue | 70 +++--- 37 files changed, 1010 insertions(+), 772 deletions(-) create mode 100644 apps/web-antd/src/views/iot/device/device/modules/detail/DeviceDetailsSubDevice.vue diff --git a/apps/web-antd/src/views/iot/alert/config/index.vue b/apps/web-antd/src/views/iot/alert/config/index.vue index 4797250dc..0e25afb69 100644 --- a/apps/web-antd/src/views/iot/alert/config/index.vue +++ b/apps/web-antd/src/views/iot/alert/config/index.vue @@ -21,7 +21,7 @@ const [FormModal, formModalApi] = useVbenModal({ }); /** 刷新表格 */ -function handleRefresh() { +function onRefresh() { gridApi.query(); } @@ -82,7 +82,7 @@ async function handleDelete(row: AlertConfigApi.AlertConfig) { message.success({ content: $t('ui.actionMessage.deleteSuccess', [row.name]), }); - handleRefresh(); + onRefresh(); } finally { hideLoading(); } @@ -121,7 +121,7 @@ const [Grid, gridApi] = useVbenVxeGrid({