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)