Compare commits

..

3 Commits

Author SHA1 Message Date
f71297583b 问题修改 2025-04-27 11:02:47 +08:00
d344066c6a 问题修改 2025-04-27 10:31:11 +08:00
8bf90e5b9e 问题修改 2025-04-27 10:30:34 +08:00
2 changed files with 10 additions and 8 deletions

View File

@ -38,6 +38,7 @@ struct Index {
// 考试模式 1:白考,2:夜考,3:增驾(模拟灯光未考),4:增驾(模拟灯光已考),5:满分学习
private mode: number = 1
private isYkkf: boolean = false
private mockLight: boolean = false
async aboutToDisappear() {
clearInterval(this.mileageTimer)
@ -258,6 +259,7 @@ struct Index {
}
//真实监管下发的项目
let kStringArr: string[] = (currentParams.kString?.split(',') || []).filter(item => item);
this.mockLight = kStringArr.includes("41700")
console.info('surenjun kStringArr', JSON.stringify(kStringArr))
let isInExam = kStringArr.length > 0;
@ -1169,7 +1171,7 @@ struct Index {
}
//只做一次的项目已经做过,后续不能人工触发
if (param307.includes(projectCode) && this.mode !== 5) {
if (param307.includes(projectCode)) {
if (this.mode === 2) {
return !(ykType == '3' || ykType == '4' || projectType == '3' || projectType == '4')
} else {

View File

@ -416,12 +416,12 @@ export default class Judge {
if (examSubject == 3 && (param342 == 0 || param342 == 2) && (param302 != 6 || param302 != 7 || param302 != 8)) {
if (param512[7] != 0) {
clearTimeout(this.deductedPopShowTimer)
this.judgeUI.isDeductedPopShow = false
avPlayer.playAudio(['voice/综合评判.mp3'])
this.judgeUI.isDeductedPopShow = true
this.judgeUI.defaultTabIndex = 1
this.isEndTip = true
// clearTimeout(this.deductedPopShowTimer)
// this.judgeUI.isDeductedPopShow = false
// avPlayer.playAudio(['voice/综合评判.mp3'])
// this.judgeUI.isDeductedPopShow = true
// this.judgeUI.defaultTabIndex = 1
// this.isEndTip = true
}
} else {
await examJudgeEndExam()
@ -810,7 +810,7 @@ export default class Judge {
sczb: (sczb === undefined || sczb == 0) ? 0 : 1,
sczbkf: kfdm,
// 大车是否模拟灯光参数
dmndg: judgeUI.mode === 3 || judgeUI.mode === 5,
dmndg: judgeUI.mockLight,
// 是否满分学习
mfxx: judgeUI.mode === 5,
// 是否增驾