大车科目三
This commit is contained in:
parent
f41b01421e
commit
208c3cc14d
@ -5,9 +5,9 @@
|
|||||||
"name": "default",
|
"name": "default",
|
||||||
"material": {
|
"material": {
|
||||||
"certpath": "C:\\Users\\93218\\.ohos\\config\\openharmony\\auto_ohos_default_subject-two_com.oh.dts.cer",
|
"certpath": "C:\\Users\\93218\\.ohos\\config\\openharmony\\auto_ohos_default_subject-two_com.oh.dts.cer",
|
||||||
"storePassword": "0000001B97BEB2EE7195C23EF422C88D2667F5DA9FBEF061A0B4F4408449BB70E434D55EDC654CEF091D55",
|
"storePassword": "0000001B2A00299F2F964B3C04F19B0796024C495343D6FF2CE368715D6364C2B6AD2BD37913CAA61F8E45",
|
||||||
"keyAlias": "debugKey",
|
"keyAlias": "debugKey",
|
||||||
"keyPassword": "0000001BB3DA252CEA81031DF8420F8DD5970B43B58EF60C83BF57122B704A6B6F82CEE4008827EA85CFD0",
|
"keyPassword": "0000001B8D03DE7F46ED71467CD089AB5A788EEDCDD4781FAF40D175CD76F1ED2508E09C2AEBD90F0E9729",
|
||||||
"profile": "C:\\Users\\93218\\.ohos\\config\\openharmony\\auto_ohos_default_subject-two_com.oh.dts.p7b",
|
"profile": "C:\\Users\\93218\\.ohos\\config\\openharmony\\auto_ohos_default_subject-two_com.oh.dts.p7b",
|
||||||
"signAlg": "SHA256withECDSA",
|
"signAlg": "SHA256withECDSA",
|
||||||
"storeFile": "C:\\Users\\93218\\.ohos\\config\\openharmony\\auto_ohos_default_subject-two_com.oh.dts.p12"
|
"storeFile": "C:\\Users\\93218\\.ohos\\config\\openharmony\\auto_ohos_default_subject-two_com.oh.dts.p12"
|
||||||
|
|||||||
@ -280,7 +280,6 @@ struct Index {
|
|||||||
this.carlist = carNo
|
this.carlist = carNo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//获取及格分数线
|
//获取及格分数线
|
||||||
if (no1 == 3 && no3 == 3 && Number(carNo) === no2) {
|
if (no1 == 3 && no3 == 3 && Number(carNo) === no2) {
|
||||||
this.passingScore = Number(txt1) || 0;
|
this.passingScore = Number(txt1) || 0;
|
||||||
|
|||||||
@ -439,7 +439,7 @@ struct UserInfo {
|
|||||||
async getExamMode(kStringArr: string[]) {
|
async getExamMode(kStringArr: string[]) {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
// 满分学习
|
// 满分学习
|
||||||
if(this.currentUser.czlx === 1) {
|
if (this.currentUser.czlx === 1) {
|
||||||
this.mode === 5
|
this.mode === 5
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -459,8 +459,9 @@ struct UserInfo {
|
|||||||
})
|
})
|
||||||
let now = new Date(await systemDateTime.getCurrentTime())
|
let now = new Date(await systemDateTime.getCurrentTime())
|
||||||
let hour = now.getHours()
|
let hour = now.getHours()
|
||||||
|
console.log("lixiao nightTime", nightTime)
|
||||||
if (kStringArr.length === 0) {
|
if (kStringArr.length === 0) {
|
||||||
if (hour < 5 || hour >= Number(nightTime.split(":")[0]) || 24) {
|
if (hour < 5 || hour >= Number(nightTime.split(":")[0] || 24)) {
|
||||||
// 夜考
|
// 夜考
|
||||||
this.mode = 2
|
this.mode = 2
|
||||||
} else {
|
} else {
|
||||||
@ -940,9 +941,11 @@ struct UserInfo {
|
|||||||
await upDateTableByArray('USER', [this.currentUser])
|
await upDateTableByArray('USER', [this.currentUser])
|
||||||
this.stepFlag = false
|
this.stepFlag = false
|
||||||
this.isLoadingPopupVisible = false
|
this.isLoadingPopupVisible = false
|
||||||
let kStringArr = decodeURIComponent(keystr || '').split(",")
|
let kStringArr = decodeURIComponent(keystr || '').split(",").filter(item => item)
|
||||||
|
console.log("lixiao kStringArr", JSON.stringify(kStringArr))
|
||||||
await this.getExamMode(kStringArr)
|
await this.getExamMode(kStringArr)
|
||||||
if(this.mode === 2 && !examItems?.getExaminationItemRsp?.body?.jdxx) {
|
console.log("lixiao model", this.mode)
|
||||||
|
if (this.mode === 2 && !examItems?.getExaminationItemRsp?.body?.jdxx) {
|
||||||
promptAction.showToast({
|
promptAction.showToast({
|
||||||
message: "当前尚未进行白考,无法开始夜考!"
|
message: "当前尚未进行白考,无法开始夜考!"
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user