diff --git a/entry/src/main/ets/pages/UserInfo.ets b/entry/src/main/ets/pages/UserInfo.ets index 071cffff..d8194797 100644 --- a/entry/src/main/ets/pages/UserInfo.ets +++ b/entry/src/main/ets/pages/UserInfo.ets @@ -160,6 +160,7 @@ struct UserInfo { cancel: () => { }, confirm: () => { + this.prePareExam() } }), customStyle: true, @@ -536,7 +537,6 @@ struct UserInfo { if (sys.v_no === '770') { that.systemParam.Param770Str = sys.v_value; } - // 车上没有缺考功能 if (sys.v_no === '835') { that.systemParam.Param835 = sys.v_value; } @@ -1278,6 +1278,13 @@ struct UserInfo { if (this.systemParam.Param612Str == '1') { 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() }) }