From cc1f4a6630d5b02bb9afe1040b6e00a0507b89aa Mon Sep 17 00:00:00 2001 From: lixiao <932184220@qq.com> Date: Tue, 11 Mar 2025 16:28:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E8=BD=A6=E7=A7=91=E7=9B=AE=E4=B8=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/Judge.ets | 5 +---- entry/src/main/ets/pages/UserInfo.ets | 6 ++++++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/entry/src/main/ets/pages/Judge.ets b/entry/src/main/ets/pages/Judge.ets index df7fec92..efb2bc1d 100644 --- a/entry/src/main/ets/pages/Judge.ets +++ b/entry/src/main/ets/pages/Judge.ets @@ -251,7 +251,6 @@ struct Index { const {carName,carType,examSubject, mode} = this; this.mode = mode //小车车型列表 - const sCarTypes = ['C1', 'C2', 'C5'] if (globalThis.singlePlay) { this.wayno = currentParams.wayno || 1; } @@ -304,15 +303,13 @@ struct Index { } if (examSubject == 3 && no1 == 6) { - const name = decodeURI(systemParm.txt1) - const currentProject: Project = { name, abbreviation: decodeURI(systemParm.txt3), projectCode: no2 + '', projectCodeCenter: txt2, - //是否是必考 加减档设置成非必考 + // 是否是必考 加减档设置成非必考 // 白考夜间行驶非必考 isRequired: (no2 == 14 || (this.mode === 1 && no2 == 17)) ? false : allItems.includes(no2 + ''), //是否考过了 diff --git a/entry/src/main/ets/pages/UserInfo.ets b/entry/src/main/ets/pages/UserInfo.ets index 74d7cf8d..c277d1d8 100644 --- a/entry/src/main/ets/pages/UserInfo.ets +++ b/entry/src/main/ets/pages/UserInfo.ets @@ -437,6 +437,12 @@ struct UserInfo { } async getExamMode(kStringArr: string[]) { + // @ts-ignore + // 满分学习 + if(this.currentUser.czlx === 1) { + this.mode === 5 + return + } let nightTime = '' const syssetParams = await getSyncData('MA_SYSSET'); const systemParams: SYSTEMPARMARR[] = (await getSyncData('MA_SYSTEMPARM')) as SYSTEMPARMARR[]