fix:项目状态修改
This commit is contained in:
		
							parent
							
								
									1a64e356c4
								
							
						
					
					
						commit
						b81ce1baf2
					
				| @ -499,8 +499,7 @@ struct JudgePage { | |||||||
|         TXT3: decodeURIComponent(systemParm.txt3 || ""), |         TXT3: decodeURIComponent(systemParm.txt3 || ""), | ||||||
|       }) |       }) | ||||||
|     }) |     }) | ||||||
|     dConsole.info(JudgeTag, '考试项目', JSON.stringify(this.ddxkKsxmArr)) |     dConsole.log(JudgeTag, "考试项目", JSON.stringify(this.projects)) | ||||||
|     dConsole.log(JudgeTag, "考试项目", this.projects) |  | ||||||
|     if (!this.projects.length) { |     if (!this.projects.length) { | ||||||
|       Prompt.showToast({ |       Prompt.showToast({ | ||||||
|         message: '读取数据库信息失败,请重新联网更新!', |         message: '读取数据库信息失败,请重新联网更新!', | ||||||
|  | |||||||
| @ -190,7 +190,7 @@ export default struct JudgeAndProjectComponent { | |||||||
|                   ListItem() { |                   ListItem() { | ||||||
|                     Text(project.name) { |                     Text(project.name) { | ||||||
|                     } |                     } | ||||||
|                     .fontColor(this.getProjectColor(project)) |                     .fontColor(this.getProjectColor(Reflect.get(this.projectsObj,project.projectCode))) | ||||||
|                     .margin({ bottom: 2 }) |                     .margin({ bottom: 2 }) | ||||||
|                     .fontSize(24) |                     .fontSize(24) | ||||||
|                   }.margin({ bottom: 2 }) |                   }.margin({ bottom: 2 }) | ||||||
|  | |||||||
| @ -1095,14 +1095,6 @@ export default class Judge { | |||||||
|         const project: ProjectInfo = Reflect.get(projectsObj, xmdm) |         const project: ProjectInfo = Reflect.get(projectsObj, xmdm) | ||||||
|         const code = project.projectCodeCenter; |         const code = project.projectCodeCenter; | ||||||
|         const isEnd = project.isEnd; |         const isEnd = project.isEnd; | ||||||
|       // const kmCode = getKmProjectVoice(code, 1, judgeConfigObj, lane, xmxh) |  | ||||||
|       // if (!ignoreVoiceCodeArr.includes(code)) { |  | ||||||
|       //   if(examSubject == 2 && ((xmdm == 0 && f == 2) || (xmdm == 1 && s == 2) || xmdm == 3)){ |  | ||||||
|       //     //倒出入库、桩考\进项目语音控制 |  | ||||||
|       //   }else{ |  | ||||||
|       //     kmCode && avPlayer.playAudio([`voice/${kmCode}.mp3`],true) |  | ||||||
|       //   } |  | ||||||
|       // } |  | ||||||
|         setTimeout(() => { |         setTimeout(() => { | ||||||
|           if (Reflect.get(param512, 7) != 0) { |           if (Reflect.get(param512, 7) != 0) { | ||||||
|             clearTimeout(this.deductedPopShowTimer) |             clearTimeout(this.deductedPopShowTimer) | ||||||
| @ -1124,7 +1116,7 @@ export default class Judge { | |||||||
|             isDelay: true |             isDelay: true | ||||||
|           }) |           }) | ||||||
|           project.isUpload = true; |           project.isUpload = true; | ||||||
|           Reflect.set(this.judgeUI.projects, xmdm, project) |           // Reflect.set(this.judgeUI.projectsObj, xmdm, project) | ||||||
|         } |         } | ||||||
|         break; |         break; | ||||||
| 
 | 
 | ||||||
| @ -1158,7 +1150,7 @@ export default class Judge { | |||||||
|           }, (Reflect.get(param512!, 5) || 0) * 1000) |           }, (Reflect.get(param512!, 5) || 0) * 1000) | ||||||
|         } |         } | ||||||
|         project.isEnd = true; |         project.isEnd = true; | ||||||
|         Reflect.set(this.judgeUI.projects, xmdm, project) |         // Reflect.set(this.judgeUI.projectsObj, xmdm, project) | ||||||
|         break; |         break; | ||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user