Compare commits

..

2 Commits

Author SHA1 Message Date
lv
1499e65ecf 835yycs提示添加 2025-04-01 14:33:20 +08:00
lv
7861dacb29 835参数 2025-04-01 13:28:05 +08:00

View File

@ -89,6 +89,7 @@ struct UserInfo {
'Param830Str': '0', //同一学员连续第二次考试时不再验证身份 'Param830Str': '0', //同一学员连续第二次考试时不再验证身份
'Param364': '0', //考前上车准备 'Param364': '0', //考前上车准备
'Param398': '0', //考前上车准备 'Param398': '0', //考前上车准备
'Param835': '0', //考前上车准备
} }
@State startExam: boolean = false @State startExam: boolean = false
// 过程照片拍照 // 过程照片拍照
@ -159,6 +160,7 @@ struct UserInfo {
cancel: () => { cancel: () => {
}, },
confirm: () => { confirm: () => {
this.prePareExam()
} }
}), }),
customStyle: true, customStyle: true,
@ -535,6 +537,9 @@ struct UserInfo {
if (sys.v_no === '770') { if (sys.v_no === '770') {
that.systemParam.Param770Str = sys.v_value; that.systemParam.Param770Str = sys.v_value;
} }
if (sys.v_no === '835') {
that.systemParam.Param835 = sys.v_value;
}
// 开始考试前必须解开安全带或关车门 // 开始考试前必须解开安全带或关车门
if (sys.v_no === '803') { if (sys.v_no === '803') {
that.systemParam.Param803Str = sys.v_value + ''; that.systemParam.Param803Str = sys.v_value + '';
@ -1273,6 +1278,13 @@ struct UserInfo {
if (this.systemParam.Param612Str == '1') { if (this.systemParam.Param612Str == '1') {
return return
} }
if(Number(this.systemParam.Param835)<=Number(this.currentUser.yycs)){
this.type='3'
this.title='当前考生预约考试次数为'+this.currentUser.yycs
this.errorDialog.open()
return
}
await this.prePareExam() await this.prePareExam()
}) })
} }
@ -1428,4 +1440,5 @@ type systemParam = {
'Param830Str': string, //同一学员连续第二次考试时不再验证身份 'Param830Str': string, //同一学员连续第二次考试时不再验证身份
'Param364': string, //考前上车准备 'Param364': string, //考前上车准备
'Param398': string, //考前上车准备 'Param398': string, //考前上车准备
'Param835': string, //考前上车准备
} }