采集设备点位界面优化

pull/3/head
liutao 4 weeks ago
parent c09cb6fe14
commit 65001fe851

File diff suppressed because it is too large Load Diff

@ -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)

Loading…
Cancel
Save