From d18e34d2c95c9c6191443f1147635ab2e70d765f Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Wed, 10 Sep 2025 14:20:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=94=E5=AF=B9=E6=A8=A1=E5=BC=8F=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E6=A3=80=E6=B5=8B=E6=AC=A1=E6=95=B0=EF=BC=8C=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=93=8D=E4=BD=9C=E5=8F=AF=E6=9F=A5=E7=9C=8B=E6=A3=80?= =?UTF-8?q?=E6=B5=8B=E4=B8=AD=E8=AE=BE=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/home/components/table.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/home/components/table.vue b/frontend/src/views/home/components/table.vue index 6a14935..aecfa56 100644 --- a/frontend/src/views/home/components/table.vue +++ b/frontend/src/views/home/components/table.vue @@ -216,6 +216,8 @@ import { documentedPqDev } from '@/api/device/report' import { ResultEnum } from '@/enums/httpEnum' import { getPqMonList } from '@/api/device/monitor/index.ts' + + const checkStore = useCheckStore() let devNum = 0 //当前选取的被检设备数量 let devChannelsNum = 0 //当前选择的被检设备通道总数 @@ -461,7 +463,8 @@ const columns = reactive[]>([ prop: 'recheckNum', label: '检测次数', minWidth: 100, - sortable: true + sortable: true, + isShow: modeStore.currentMode != '比对式', }, { prop: 'checkState', @@ -644,7 +647,11 @@ function tableHeaderInit(val: number) { selectionShow.value = true // 显示选择框 break case 5: // 数据查询模式 - checkStateTable.value = [2, 3] // 显示检测完成和归档状态 + if(modeStore.currentMode === '比对式'){ + checkStateTable.value = [1,2, 3] // 显示检测中,检测完成和归档状态 + }else{ + checkStateTable.value = [2, 3] // 显示检测完成和归档状态 + } columns[columns.length - 1].minWidth = 290 operationShow.value = true // 显示操作列 documentStateShow.value = true // 显示文档状态