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//检测状态默认为未检