微调
This commit is contained in:
@@ -483,7 +483,7 @@ const columns = reactive<ColumnProps<Device.ResPqDev>[]>([
|
||||
sortable: true,
|
||||
isShow: checkStateShow,
|
||||
render: scope => {
|
||||
return scope.row.checkState === 0 ? '未检' : scope.row.checkState === 1 ? '检测中' : '检测完成'
|
||||
return scope.row.checkState === 0 ? '未检' : scope.row.checkState === 1 ? '检测中' : scope.row.checkState === 2 ? '检测完成':'归档'
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -494,10 +494,12 @@ const columns = reactive<ColumnProps<Device.ResPqDev>[]>([
|
||||
render: scope => {
|
||||
if (scope.row.checkResult === 0) {
|
||||
return <el-tag type="danger">不符合</el-tag>
|
||||
} else if (scope.row.checkResult === 0) {
|
||||
return '不符合'
|
||||
} else if (scope.row.checkResult === 1) {
|
||||
return '符合'
|
||||
} else if (scope.row.checkResult === 2) {
|
||||
return '未检'
|
||||
}else if(scope.row.checkResult === 2) {
|
||||
return '未检'
|
||||
}
|
||||
return ''
|
||||
}
|
||||
@@ -1087,7 +1089,7 @@ const openDrawer = async (title: string, row: any) => {
|
||||
|
||||
if (title === '检测数据查询') {
|
||||
checkStore.setShowDetailType(0)
|
||||
if (modeStore.currentMode == '模拟式') {
|
||||
if (modeStore.currentMode == '模拟式'||modeStore.currentMode == '数字式') {
|
||||
dataCheckPopupRef.value?.open(row.id, '-1', null)
|
||||
} else if (modeStore.currentMode == '比对式') {
|
||||
dataCheckSingleChannelSingleTestPopupRef.value?.open(row, null, row.id, 2)
|
||||
@@ -1095,7 +1097,7 @@ const openDrawer = async (title: string, row: any) => {
|
||||
}
|
||||
if (title === '误差体系更换') {
|
||||
checkStore.setShowDetailType(1)
|
||||
if (modeStore.currentMode == '模拟式') {
|
||||
if (modeStore.currentMode == '模拟式'||modeStore.currentMode == '数字式') {
|
||||
dataCheckPopupRef.value?.open(row.id, '-1', null)
|
||||
} else if (modeStore.currentMode == '比对式') {
|
||||
dataCheckSingleChannelSingleTestPopupRef.value?.open(row, null, row.id, 2)
|
||||
|
||||
Reference in New Issue
Block a user