比对模式没有检测次数,数据操作可查看检测中设备

This commit is contained in:
sjl
2025-09-10 14:20:42 +08:00
parent 53813795db
commit d18e34d2c9

View File

@@ -216,6 +216,8 @@ import { documentedPqDev } from '@/api/device/report'
import { ResultEnum } from '@/enums/httpEnum' import { ResultEnum } from '@/enums/httpEnum'
import { getPqMonList } from '@/api/device/monitor/index.ts' import { getPqMonList } from '@/api/device/monitor/index.ts'
const checkStore = useCheckStore() const checkStore = useCheckStore()
let devNum = 0 //当前选取的被检设备数量 let devNum = 0 //当前选取的被检设备数量
let devChannelsNum = 0 //当前选择的被检设备通道总数 let devChannelsNum = 0 //当前选择的被检设备通道总数
@@ -461,7 +463,8 @@ const columns = reactive<ColumnProps<Device.ResPqDev>[]>([
prop: 'recheckNum', prop: 'recheckNum',
label: '检测次数', label: '检测次数',
minWidth: 100, minWidth: 100,
sortable: true sortable: true,
isShow: modeStore.currentMode != '比对式',
}, },
{ {
prop: 'checkState', prop: 'checkState',
@@ -644,7 +647,11 @@ function tableHeaderInit(val: number) {
selectionShow.value = true // 显示选择框 selectionShow.value = true // 显示选择框
break break
case 5: // 数据查询模式 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 columns[columns.length - 1].minWidth = 290
operationShow.value = true // 显示操作列 operationShow.value = true // 显示操作列
documentStateShow.value = true // 显示文档状态 documentStateShow.value = true // 显示文档状态