From f59f287b63c21c157b30565372c35c20ebf4e239 Mon Sep 17 00:00:00 2001 From: hongawen <83944980@qq.com> Date: Thu, 7 Aug 2025 08:55:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E4=BC=98=E5=8C=96=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/home/components/table.vue | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/src/views/home/components/table.vue b/frontend/src/views/home/components/table.vue index 24d70a8..832d5e3 100644 --- a/frontend/src/views/home/components/table.vue +++ b/frontend/src/views/home/components/table.vue @@ -198,7 +198,6 @@ import { ResultEnum } from '@/enums/httpEnum' const checkStore = useCheckStore() let devNum = 0//当前选取的被检设备数量 let devChannelsNum = 0//当前选择的被检设备通道总数 -let devTestedNum = 0//当前选择的已完成检测的被检设备数量 const tableKey = ref(0) const tableHeight = ref(0) @@ -206,7 +205,6 @@ const dataCheckPopupRef = ref>() const selectTestItemPopupRef = ref>() const writeTHPopupRef = ref>() const deviceConnectionPopupRef = ref>() -const matchDialogVisible = ref(false) const dialogTitle = ref('手动检测') const checkStateTable = ref([0, 1, 2]) const modeStore = useModeStore() @@ -531,7 +529,6 @@ const handleSelectionChange = (selection: any[]) => { } // 统计已完成检测的设备数量 - devTestedNum = selection.filter((item) => item.checkState === 2).length const result = selection.filter((item) => item.checkResult != 0) if (result.length > 0) { testType = 'test' @@ -662,7 +659,6 @@ function refreshStatusList() { // 重置设备选择统计信息 devNum = 0 devChannelsNum = 0 - devTestedNum = 0 // 清空查询表单 form.value.search = null form.value.checkStatus = null//检测状态默认为未检