预检测重复初始化拦截
This commit is contained in:
@@ -407,6 +407,17 @@ watch(
|
|||||||
stopTimeCount()
|
stopTimeCount()
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 'yjc_sbtxjy' :
|
||||||
|
switch (newValue.operateCode) {
|
||||||
|
case 'INIT_GATHER$02':
|
||||||
|
ElMessageBox.alert('重复的初始化操作!', '检测失败', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
type: 'error',
|
||||||
|
})
|
||||||
|
setLogList('error', '重复的初始化操作!')
|
||||||
|
stopTimeCount()
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
if (checkStore.selectTestItems.preTest == false && newValue.requestId != 'formal_real') {
|
if (checkStore.selectTestItems.preTest == false && newValue.requestId != 'formal_real') {
|
||||||
if (testLogList[0].log == '正在检测,请稍等...' || testLogList[0].log == '暂无数据,等待检测开始') {
|
if (testLogList[0].log == '正在检测,请稍等...' || testLogList[0].log == '暂无数据,等待检测开始') {
|
||||||
@@ -439,6 +450,7 @@ watch(
|
|||||||
stopTimeCount()
|
stopTimeCount()
|
||||||
if (newValue.requestId == 'YJC_xujy') setLogList('info', '初始化失败!')
|
if (newValue.requestId == 'YJC_xujy') setLogList('info', '初始化失败!')
|
||||||
break
|
break
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 预监测 正式检测
|
// 预监测 正式检测
|
||||||
|
|||||||
Reference in New Issue
Block a user