Revert "Revert "fix:新增503参数""
This reverts commit 6de9d4bdcb42c67f9533b693f3d70a04b0e8391d.
This commit is contained in:
parent
6de9d4bdcb
commit
6b54e9da5c
@ -91,6 +91,7 @@ struct UserInfo {
|
||||
'Param398': '0', //考前上车准备
|
||||
'Param835': '0', //考前上车准备
|
||||
'Param850': '0', //考前上车准备
|
||||
'Param853': '0', //未熄火不能开始考试
|
||||
}
|
||||
@State startExam: boolean = false
|
||||
// 过程照片拍照
|
||||
@ -537,6 +538,9 @@ struct UserInfo {
|
||||
if (sys.v_no === '770') {
|
||||
that.systemParam.Param770Str = sys.v_value;
|
||||
}
|
||||
if(sys.v_no === '853'){
|
||||
that.systemParam.Param853 = sys.v_value;
|
||||
}
|
||||
if (sys.v_no === '835') {
|
||||
that.systemParam.Param835 = sys.v_value;
|
||||
}
|
||||
@ -946,7 +950,8 @@ struct UserInfo {
|
||||
const {isCheckFireOpen} = judgeConfig
|
||||
const {systemParam,isBoardPrePareSetPopupOpen} = this;
|
||||
const Param803Str = systemParam.Param803Str
|
||||
if (Param803Str === '') {
|
||||
const Param853Str = systemParam.Param853
|
||||
if (Param803Str === '' && Param853Str != '1') {
|
||||
return true
|
||||
}
|
||||
return new Promise((resolve, reject) => {
|
||||
@ -963,6 +968,14 @@ struct UserInfo {
|
||||
const ygd = msgArr[8];
|
||||
const ssc = msgArr[13];
|
||||
const dw = msgArr[28];
|
||||
if(Param853Str == '1'){
|
||||
this.avPlayer.playAudio(['voice/熄火.mp3'])
|
||||
promptAction.showToast({
|
||||
message: '请熄火',
|
||||
duration: 4000
|
||||
})
|
||||
reject(false)
|
||||
}
|
||||
// 开始考试信号检测
|
||||
if (Param803Str !== '') {
|
||||
//安全带
|
||||
@ -1482,4 +1495,5 @@ type systemParam = {
|
||||
'Param398': string, //考前上车准备
|
||||
'Param835': string, //考前上车准备
|
||||
'Param850': string, //考前上车准备
|
||||
'Param853': string, //未熄火不能开始考试
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user