From dbbe31cd41c534c1929d9ddcd3f2e9e975160ea4 Mon Sep 17 00:00:00 2001 From: lvyuankang <1344032923@qq.com> Date: Thu, 19 Sep 2024 09:49:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=BA=E5=BA=8F=E8=80=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/UserInfo.ets | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/entry/src/main/ets/pages/UserInfo.ets b/entry/src/main/ets/pages/UserInfo.ets index a9777a50..100e8e75 100644 --- a/entry/src/main/ets/pages/UserInfo.ets +++ b/entry/src/main/ets/pages/UserInfo.ets @@ -77,6 +77,7 @@ struct UserInfo { @State FaceOpenStatue: string = '0'; //是否开启人脸识别 @State faceCatchImg: string = '' @State Param803Str: string = '' + @State Param341Str: string = '' private title = '' private type = '2' // 过程照片拍照 @@ -407,6 +408,10 @@ struct UserInfo { if (sys.v_no === '803') { this.Param803Str = sys.v_value + ''; } + //判断是否考生是否按顺序考试 + if (sys.v_no === '341'&&decodeURIComponent(sys.v_value) == '1') { + this.Param341Str= true + } }) // faceParam?.[0]?.v_value || @@ -935,7 +940,7 @@ struct UserInfo { .backgroundImage(item.sfzmhm != this.currentUser.sfzmhm ? $r('app.media.userbox2') : $r('app.media.userboxbg')) .backgroundImageSize({ width: '100%', height: '100%' }) .onClick(() => { - if (this.isExamStart && !globalThis.singlePlay) { + if (this.isExamStart && !globalThis.singlePlay&&this.Param341Str) { return } this.currentUser=EmptyCandidateObject