大车科目三

This commit is contained in:
lixiao 2025-03-11 16:28:19 +08:00
parent 12bb386379
commit cc1f4a6630
2 changed files with 7 additions and 4 deletions

View File

@ -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 + ''),
//是否考过了

View File

@ -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[]