From 65001fe851234d264f1f759945f75e3d54cf64c4 Mon Sep 17 00:00:00 2001 From: liutao <790864623@qq.com> Date: Wed, 22 Apr 2026 17:36:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E9=9B=86=E8=AE=BE=E5=A4=87=E7=82=B9?= =?UTF-8?q?=E4=BD=8D=E7=95=8C=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/iot/device/DevicePoint.vue | 1214 ++++++++++++++++++++++++++ src/views/iot/device/index.vue | 12 +- 2 files changed, 1224 insertions(+), 2 deletions(-) create mode 100644 src/views/iot/device/DevicePoint.vue diff --git a/src/views/iot/device/DevicePoint.vue b/src/views/iot/device/DevicePoint.vue new file mode 100644 index 00000000..8f03049a --- /dev/null +++ b/src/views/iot/device/DevicePoint.vue @@ -0,0 +1,1214 @@ + + + + + {{ t('DataCollection.Device.currentDeviceLabel') }}{{ attributeDeviceName || '-' }} + + + + {{ t('DataCollection.Device.alarmHistoryTitle') }} + + + + + + + + + + + + + + + + + + + + + {{ t('DataCollection.DeviceModel.ruleSearch') }} + + + {{ t('DataCollection.DeviceModel.ruleReset') }} + + + + + + + 新增产量 + + + {{ t('DataCollection.DeviceModel.ruleCreateButton') }} + + + + + + + + + + + + + {{ t('DataCollection.DeviceModel.ruleEditRuleButton') }} + + + {{ t('DataCollection.DeviceModel.ruleDeleteRuleButton') }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 按“四则运算规则”添加顺序从上到下依次计算,不按乘除优先。 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ t('DataCollection.DeviceModel.ruleDeleteRuleButton') }} + + + + + + + + + + {{ t('DataCollection.DeviceModel.ruleCreateButton') }} + + + + + + + {{ t('DataCollection.DeviceModel.dialogCancel') }} + {{ t('DataCollection.DeviceModel.dialogOk') }} + + + + + + + + + + + + + + + + + + + + + + + + {{ t('DataCollection.DeviceModel.dialogCancel') }} + + {{ t('DataCollection.DeviceModel.dialogOk') }} + + + + + + + + + + + + + + + + + + + + + + + + + {{ t('DataCollection.Device.search') }} + + + + {{ t('DataCollection.Device.reset') }} + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/iot/device/index.vue b/src/views/iot/device/index.vue index 29a77974..acd67889 100644 --- a/src/views/iot/device/index.vue +++ b/src/views/iot/device/index.vue @@ -322,7 +322,7 @@ - + { const handleShowAttribute = (row: any) => { attributeDeviceId.value = row?.id attributeDeviceName.value = row?.deviceName ?? '' + router.push({ + path: '/iot/pointManagement', + query: { + id: row?.id, + name: row?.deviceName + } + }); + } const ruleLoading = ref(false)