|
|
|
@ -322,7 +322,7 @@
|
|
|
|
<!-- 表单弹窗:添加/修改 -->
|
|
|
|
<!-- 表单弹窗:添加/修改 -->
|
|
|
|
<DeviceForm ref="formRef" @success="getList" />
|
|
|
|
<DeviceForm ref="formRef" @success="getList" />
|
|
|
|
<!-- 子表的列表 -->
|
|
|
|
<!-- 子表的列表 -->
|
|
|
|
<ContentWrap v-if="ifShow">
|
|
|
|
<!-- <ContentWrap v-if="ifShow">
|
|
|
|
<template v-if="attributeDeviceId">
|
|
|
|
<template v-if="attributeDeviceId">
|
|
|
|
<div class="mb-10px flex items-center justify-between text-sm text-gray-500">
|
|
|
|
<div class="mb-10px flex items-center justify-between text-sm text-gray-500">
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
@ -711,7 +711,7 @@
|
|
|
|
</el-tabs>
|
|
|
|
</el-tabs>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<el-empty v-else :description="t('DataCollection.Device.emptyDescription')" />
|
|
|
|
<el-empty v-else :description="t('DataCollection.Device.emptyDescription')" />
|
|
|
|
</ContentWrap>
|
|
|
|
</ContentWrap>-->
|
|
|
|
|
|
|
|
|
|
|
|
<Dialog :title="t('DataCollection.Device.alarmHistoryTitle')" v-model="deviceAlarmDialogVisible" width="1200px">
|
|
|
|
<Dialog :title="t('DataCollection.Device.alarmHistoryTitle')" v-model="deviceAlarmDialogVisible" width="1200px">
|
|
|
|
<el-form
|
|
|
|
<el-form
|
|
|
|
@ -1141,6 +1141,14 @@ const deviceRuleTabLabel = computed(() => {
|
|
|
|
const handleShowAttribute = (row: any) => {
|
|
|
|
const handleShowAttribute = (row: any) => {
|
|
|
|
attributeDeviceId.value = row?.id
|
|
|
|
attributeDeviceId.value = row?.id
|
|
|
|
attributeDeviceName.value = row?.deviceName ?? ''
|
|
|
|
attributeDeviceName.value = row?.deviceName ?? ''
|
|
|
|
|
|
|
|
router.push({
|
|
|
|
|
|
|
|
path: '/iot/pointManagement',
|
|
|
|
|
|
|
|
query: {
|
|
|
|
|
|
|
|
id: row?.id,
|
|
|
|
|
|
|
|
name: row?.deviceName
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const ruleLoading = ref(false)
|
|
|
|
const ruleLoading = ref(false)
|
|
|
|
|