From 1499e65ecf7d2dde3e24912e6443c716744026fa Mon Sep 17 00:00:00 2001 From: lv <1344032923@qq.com> Date: Tue, 1 Apr 2025 14:33:20 +0800 Subject: [PATCH] =?UTF-8?q?835yycs=E6=8F=90=E7=A4=BA=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/UserInfo.ets | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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() }) }