预检测描述

This commit is contained in:
sjl
2025-08-13 15:52:48 +08:00
parent 1ec8cce63e
commit 0025895696
2 changed files with 5 additions and 8 deletions

View File

@@ -273,7 +273,7 @@ watch(webMsgSend, function (newValue, oldValue) {
} else if (newValue.code == 25002) { //单个监测点失败 } else if (newValue.code == 25002) { //单个监测点失败
step2InitLog.value.push({ step2InitLog.value.push({
type: 'error', type: 'error',
log: '模型一致性检验失败!', log: newValue.data +'模型一致性检验失败!',
}) })
}else if (newValue.code == 25001) { //最终成功 }else if (newValue.code == 25001) { //最终成功
step2.value = 'success' step2.value = 'success'
@@ -304,7 +304,7 @@ watch(webMsgSend, function (newValue, oldValue) {
}else if (newValue.code == 25002) { //单个监测点失败 }else if (newValue.code == 25002) { //单个监测点失败
step3InitLog.value.push({ step3InitLog.value.push({
type: 'error', type: 'error',
log: '实时数据对齐检验失败!', log: newValue.data + '实时数据对齐检验失败!',
}) })
}else if (newValue.code == 25001 && newValue.data) { //最终成功 }else if (newValue.code == 25001 && newValue.data) { //最终成功
isShowDialog.value = true isShowDialog.value = true
@@ -338,14 +338,10 @@ watch(webMsgSend, function (newValue, oldValue) {
} else if(newValue.code == 25002){ } else if(newValue.code == 25002){
step4InitLog.value.push({ step4InitLog.value.push({
type: 'error', type: 'error',
log: '相序校验失败!', log: newValue.data + '相序校验失败!',
}) })
} else if (newValue.code == 25003) { } else if (newValue.code == 25003) {
step4.value = 'error' step4.value = 'error'
step4InitLog.value.push({
type: 'error',
log: '相序校验未通过!',
})
ts.value = 'error' ts.value = 'error'
step5.value = 'error' step5.value = 'error'
} else if (newValue.code == 25001) { } else if (newValue.code == 25001) {

View File

@@ -190,7 +190,7 @@
:titles="['未绑定被检设备', '已绑定被检设备']" :titles="['未绑定被检设备', '已绑定被检设备']"
> >
<template #default="{ option }"> <template #default="{ option }">
<div style="display: flex; align-items: center; justify-content: space-between"> <div style="display: flex; align-items: center; justify-content:space-between">
<span> <span>
{{ JSON.parse(option.label).manufacturer }} - {{ JSON.parse(option.label).name }} {{ JSON.parse(option.label).manufacturer }} - {{ JSON.parse(option.label).name }}
</span> </span>
@@ -364,6 +364,7 @@ const generateData = () => {
const filterMethod = (query: string, item: { label?: string }) => { const filterMethod = (query: string, item: { label?: string }) => {
const dataJSON = item.label ? JSON.parse(item.label) : {} const dataJSON = item.label ? JSON.parse(item.label) : {}
return ( return (
(dataJSON.name?.toLowerCase().includes(query.toLowerCase()) || (dataJSON.name?.toLowerCase().includes(query.toLowerCase()) ||
dataJSON.manufacturer?.toLowerCase().includes(query.toLowerCase()) || dataJSON.manufacturer?.toLowerCase().includes(query.toLowerCase()) ||