预检测新增录波
This commit is contained in:
@@ -218,7 +218,7 @@ watch(webMsgSend, function (newValue, oldValue) {
|
|||||||
if (newValue.code == 10200) {
|
if (newValue.code == 10200) {
|
||||||
step1InitLog.value.push({
|
step1InitLog.value.push({
|
||||||
type: 'info',
|
type: 'info',
|
||||||
log: newValue.data + '设备通讯校验成功!',
|
log: newValue.data,
|
||||||
})
|
})
|
||||||
|
|
||||||
} else if (newValue.code == 10201) {
|
} else if (newValue.code == 10201) {
|
||||||
@@ -249,6 +249,44 @@ watch(webMsgSend, function (newValue, oldValue) {
|
|||||||
step2.value = 'process'
|
step2.value = 'process'
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 'INIT_GATHER$03':
|
||||||
|
if (newValue.code == 10200) {
|
||||||
|
step1InitLog.value.push({
|
||||||
|
type: 'info',
|
||||||
|
log: newValue.data,
|
||||||
|
})
|
||||||
|
}else if (newValue.code == 25001) {
|
||||||
|
step1InitLog.value.push({
|
||||||
|
type: 'info',
|
||||||
|
log: newValue.data,
|
||||||
|
})
|
||||||
|
activeIndex.value = 1
|
||||||
|
step1.value = 'success'
|
||||||
|
step2.value = 'process'
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 'DATA_REQUEST$03':
|
||||||
|
if (newValue.code == 25001) {
|
||||||
|
activeIndex.value = 1
|
||||||
|
step1.value = 'success'
|
||||||
|
step2.value = 'process'
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 'record_wave_step2':
|
||||||
|
switch (newValue.operateCode) {
|
||||||
|
case 'DATA_REQUEST$03':
|
||||||
|
if (newValue.code == 25002) { //某一路录波校验失败
|
||||||
|
step1InitLog.value.push({
|
||||||
|
type: 'error',
|
||||||
|
log: newValue.data ,
|
||||||
|
})
|
||||||
|
}else if (newValue.code == 25003) { //最终失败
|
||||||
|
step1.value = 'error'
|
||||||
|
ts.value = 'error'
|
||||||
|
step5.value = 'error'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'yjc_mxyzxjy':
|
case 'yjc_mxyzxjy':
|
||||||
|
|||||||
Reference in New Issue
Block a user