Compare commits
2 Commits
f71297583b
...
ea4e8d8da2
| Author | SHA1 | Date | |
|---|---|---|---|
| ea4e8d8da2 | |||
| 81bfb2ebf8 |
Binary file not shown.
@ -60,7 +60,7 @@ export const getMessageHeartbeat = async (msg) => {
|
||||
const {fourInOneScreen:{gpsDigit}} = judgeConfig
|
||||
const asclshArr = stringToASC(fillZero(
|
||||
globalThis.singlePlay
|
||||
? '1111111111111'
|
||||
? '0000000000000'
|
||||
: globalThis.lsh,
|
||||
13));
|
||||
const ascksyhArr = stringToASC(fillZero(examSubject == 2 ? '0000000000000':'1111111111111', 13))
|
||||
|
||||
@ -26,7 +26,7 @@ import { examJudgeVersion } from './judgeSDK/api';
|
||||
@Component
|
||||
struct Index {
|
||||
@State carNum: string = ''
|
||||
@State version: string = '2025.04.25.01'
|
||||
@State version: string = '2025.04.28.01'
|
||||
@State judgeVersion: string = ''
|
||||
@State url: string = ''
|
||||
@State hasAuth: boolean = false;
|
||||
|
||||
@ -260,7 +260,8 @@ struct Index {
|
||||
//真实监管下发的项目
|
||||
let kStringArr: string[] = (currentParams.kString?.split(',') || []).filter(item => item);
|
||||
this.mockLight = kStringArr.includes("41700")
|
||||
console.info('surenjun kStringArr', JSON.stringify(kStringArr))
|
||||
console.log("lixiao mockLight", this.mockLight)
|
||||
console.info('lixiao kStringArr', JSON.stringify(kStringArr))
|
||||
|
||||
let isInExam = kStringArr.length > 0;
|
||||
const {isTrajectoryOpen} = judgeConfig
|
||||
@ -311,7 +312,7 @@ struct Index {
|
||||
allItems = decodeURIComponent(systemParm.txt1).split(',').filter(txt => txt !== '')
|
||||
} else if (this.mode == 5 && no1 == 3 && no2 == Number(carNo) && no3 == 63) {
|
||||
// 满分学习项目
|
||||
let data = decodeURI(systemParm.txt1)?.split("^").filter(item => item)
|
||||
let data = decodeURI(systemParm.txt1)?.split("^")
|
||||
allItems = data[0]?.split(",") || []
|
||||
}
|
||||
if (no1 == 6) {
|
||||
@ -321,7 +322,7 @@ struct Index {
|
||||
return
|
||||
}
|
||||
// 模拟夜间驾驶
|
||||
if (this.mode !== 3 && this.mode !== 5 && no2 == 41) {
|
||||
if (!this.mockLight && no2 == 41) {
|
||||
return
|
||||
}
|
||||
let isRequired = allItems.includes(no2 + '')
|
||||
@ -918,7 +919,8 @@ struct Index {
|
||||
showBack: false,
|
||||
scaleNum: 1.8,
|
||||
msgStr: this.judge.plcStr || '',
|
||||
showTrajectory: globalThis.singlePlay ? true : (this.syssetParam623),
|
||||
// showTrajectory: globalThis.singlePlay ? true : (this.syssetParam623),
|
||||
showTrajectory: true,
|
||||
}).margin({ top: 100 })
|
||||
|
||||
Row() {
|
||||
@ -1252,10 +1254,11 @@ struct Index {
|
||||
const projectName = this.artSubject3Projects[index];
|
||||
const projectCode = this.artSubject3ProjectsCodesArr[index];
|
||||
const type = this.projectsObj[projectCode].type
|
||||
const ykType = this.projectsObj[projectCode].ykType
|
||||
if (type == '2') {
|
||||
return projectName
|
||||
}
|
||||
return (type == '3' || type == '4') ? `${projectName}_red` : `${projectName}_green`;
|
||||
return (type == '3' || type == '4' || ykType == '3' || ykType == '4') ? `${projectName}_red` : `${projectName}_green`;
|
||||
}
|
||||
// 获取是否能进行人工评判
|
||||
getIsManualKf = () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user