预检测描述
This commit is contained in:
@@ -273,7 +273,7 @@ watch(webMsgSend, function (newValue, oldValue) {
|
||||
} else if (newValue.code == 25002) { //单个监测点失败
|
||||
step2InitLog.value.push({
|
||||
type: 'error',
|
||||
log: '模型一致性检验失败!',
|
||||
log: newValue.data +'模型一致性检验失败!',
|
||||
})
|
||||
}else if (newValue.code == 25001) { //最终成功
|
||||
step2.value = 'success'
|
||||
@@ -304,7 +304,7 @@ watch(webMsgSend, function (newValue, oldValue) {
|
||||
}else if (newValue.code == 25002) { //单个监测点失败
|
||||
step3InitLog.value.push({
|
||||
type: 'error',
|
||||
log: '实时数据对齐检验失败!',
|
||||
log: newValue.data + '实时数据对齐检验失败!',
|
||||
})
|
||||
}else if (newValue.code == 25001 && newValue.data) { //最终成功
|
||||
isShowDialog.value = true
|
||||
@@ -338,14 +338,10 @@ watch(webMsgSend, function (newValue, oldValue) {
|
||||
} else if(newValue.code == 25002){
|
||||
step4InitLog.value.push({
|
||||
type: 'error',
|
||||
log: '相序校验失败!',
|
||||
log: newValue.data + '相序校验失败!',
|
||||
})
|
||||
} else if (newValue.code == 25003) {
|
||||
step4.value = 'error'
|
||||
step4InitLog.value.push({
|
||||
type: 'error',
|
||||
log: '相序校验未通过!',
|
||||
})
|
||||
ts.value = 'error'
|
||||
step5.value = 'error'
|
||||
} else if (newValue.code == 25001) {
|
||||
|
||||
@@ -364,6 +364,7 @@ const generateData = () => {
|
||||
|
||||
const filterMethod = (query: string, item: { label?: string }) => {
|
||||
const dataJSON = item.label ? JSON.parse(item.label) : {}
|
||||
|
||||
return (
|
||||
(dataJSON.name?.toLowerCase().includes(query.toLowerCase()) ||
|
||||
dataJSON.manufacturer?.toLowerCase().includes(query.toLowerCase()) ||
|
||||
|
||||
Reference in New Issue
Block a user