10550处理
This commit is contained in:
@@ -266,8 +266,26 @@ watch(webMsgSend, function (newValue, oldValue) {
|
||||
step1.value = 'success'
|
||||
step2.value = 'process'
|
||||
}
|
||||
if(newValue.code == 10550){
|
||||
step1InitLog.value = [{
|
||||
type: 'error',
|
||||
log: '设备通讯校验时,设备连接异常!',
|
||||
}];
|
||||
step1.value = 'error'
|
||||
ts.value = 'error'
|
||||
step5.value = 'error'
|
||||
}
|
||||
break;
|
||||
case 'record_wave_step1':
|
||||
if(newValue.code == 10550){
|
||||
step1InitLog.value = [{
|
||||
type: 'error',
|
||||
log: '录波校验时,设备连接异常!',
|
||||
}];
|
||||
step1.value = 'error'
|
||||
ts.value = 'error'
|
||||
step5.value = 'error'
|
||||
}
|
||||
if (newValue.code == 25002) { //某一路录波校验失败
|
||||
step1InitLog.value.push({
|
||||
type: 'error',
|
||||
@@ -293,6 +311,15 @@ watch(webMsgSend, function (newValue, oldValue) {
|
||||
log: '正在进行模型一致性校验.....',
|
||||
}];
|
||||
}
|
||||
if(newValue.code == 10550){
|
||||
step2InitLog.value = [{
|
||||
type: 'error',
|
||||
log: '模型一致性校验时,设备连接异常!',
|
||||
}];
|
||||
step2.value = 'error'
|
||||
ts.value = 'error'
|
||||
step5.value = 'error'
|
||||
}
|
||||
if (newValue.code == 25002) { //单个监测点失败
|
||||
step2InitLog.value.push({
|
||||
type: 'error',
|
||||
@@ -324,6 +351,15 @@ watch(webMsgSend, function (newValue, oldValue) {
|
||||
log: '正在进行数据对齐检验.....',
|
||||
}];
|
||||
}
|
||||
if(newValue.code == 10550){
|
||||
step3InitLog.value = [{
|
||||
type: 'error',
|
||||
log: '实时数据对齐时,设备连接异常!',
|
||||
}];
|
||||
step3.value = 'error'
|
||||
ts.value = 'error'
|
||||
step5.value = 'error'
|
||||
}
|
||||
if (newValue.code == 25002) { //单个监测点失败
|
||||
|
||||
step3InitLog.value.push({
|
||||
@@ -361,6 +397,15 @@ watch(webMsgSend, function (newValue, oldValue) {
|
||||
log: '正在进行相序性检.....',
|
||||
}];
|
||||
}
|
||||
if(newValue.code == 10550){
|
||||
step4InitLog.value = [{
|
||||
type: 'error',
|
||||
log: '相序校验时,设备连接异常!',
|
||||
}];
|
||||
step4.value = 'error'
|
||||
ts.value = 'error'
|
||||
step5.value = 'error'
|
||||
}
|
||||
if (newValue.code == 25002) {
|
||||
step4InitLog.value.push({
|
||||
type: 'error',
|
||||
|
||||
Reference in New Issue
Block a user