examinerInfo修改
This commit is contained in:
		
							parent
							
								
									d5ca96818f
								
							
						
					
					
						commit
						27583fb77d
					
				| @ -109,7 +109,7 @@ struct Index { | |||||||
|                     try { |                     try { | ||||||
|                       // TODO |                       // TODO | ||||||
|                       examinerLogin(param).then((res: ESObject) => { |                       examinerLogin(param).then((res: ESObject) => { | ||||||
|                         AppStorage.setOrCreate('examinerInfo', res?.examinerLoginRsp?.body) |                         // AppStorage.setOrCreate('examinerInfo', res?.examinerLoginRsp?.body) | ||||||
|                         console.log('res?.examinerLoginRsp?.head?.resultCode', res?.examinerLoginRsp?.head?.resultCode, |                         console.log('res?.examinerLoginRsp?.head?.resultCode', res?.examinerLoginRsp?.head?.resultCode, | ||||||
|                           JSON.stringify(res)) |                           JSON.stringify(res)) | ||||||
|                         this.errorDialog.close() |                         this.errorDialog.close() | ||||||
| @ -132,7 +132,7 @@ struct Index { | |||||||
|                         console.log('res11', JSON.stringify(res)) |                         console.log('res11', JSON.stringify(res)) | ||||||
|                         const examinerLoginInfo: ExaminerLoginInfo = res.examinerLoginRsp.body |                         const examinerLoginInfo: ExaminerLoginInfo = res.examinerLoginRsp.body | ||||||
|                         examinerLoginInfo.username = this.inputTextArr[0] |                         examinerLoginInfo.username = this.inputTextArr[0] | ||||||
|                         AppStorage.setOrCreate<ExaminerLoginInfo>('examinerLoginInfo', examinerLoginInfo) |                         AppStorage.setOrCreate<ExaminerLoginInfo>('examinerInfo', examinerLoginInfo) | ||||||
|                       }).catch((err: BusinessError) => { |                       }).catch((err: BusinessError) => { | ||||||
|                         console.log('jiangsong12', JSON.stringify(err)) |                         console.log('jiangsong12', JSON.stringify(err)) | ||||||
|                         this.errorDialog.close() |                         this.errorDialog.close() | ||||||
|  | |||||||
| @ -220,7 +220,7 @@ struct UserInfo { | |||||||
|     this.currentUser = EmptyCandidateObject |     this.currentUser = EmptyCandidateObject | ||||||
|     this.filePhoto = new FilePhoto(this.context); |     this.filePhoto = new FilePhoto(this.context); | ||||||
|     this.singlePlay = AppStorage.get<boolean>('singlePlay') |     this.singlePlay = AppStorage.get<boolean>('singlePlay') | ||||||
|     this.examinerLoginInfo = AppStorage.get<ExaminerLoginInfo>('examinerLoginInfo') |     this.examinerLoginInfo = AppStorage.get<ExaminerLoginInfo>('examinerInfo') | ||||||
|     this.carInfo = AppStorage.get<CarInfoType>('carInfo') |     this.carInfo = AppStorage.get<CarInfoType>('carInfo') | ||||||
|     //语音功能on |     //语音功能on | ||||||
|     // new WebRTCVoice(this.context); |     // new WebRTCVoice(this.context); | ||||||
| @ -340,7 +340,7 @@ struct UserInfo { | |||||||
|         }, 200) |         }, 200) | ||||||
| 
 | 
 | ||||||
|         this.examinerLoginInfo.ksyh = res.ksy1sfzmhm |         this.examinerLoginInfo.ksyh = res.ksy1sfzmhm | ||||||
|         AppStorage.setOrCreate('examinerLoginInfo', this.examinerLoginInfo) |         AppStorage.setOrCreate('examinerInfo', this.examinerLoginInfo) | ||||||
|         AppStorage.setOrCreate('lsh', res.lsh) |         AppStorage.setOrCreate('lsh', res.lsh) | ||||||
|         // const { examSubject } = this.carInfo; |         // const { examSubject } = this.carInfo; | ||||||
|         if (this.singlePlay) { |         if (this.singlePlay) { | ||||||
| @ -455,7 +455,7 @@ struct UserInfo { | |||||||
| 
 | 
 | ||||||
|       this.lsh = this.currentUser.lsh |       this.lsh = this.currentUser.lsh | ||||||
|       this.examinerLoginInfo.ksyh = this.currentUser.ksy1sfzmhm |       this.examinerLoginInfo.ksyh = this.currentUser.ksy1sfzmhm | ||||||
|       AppStorage.setOrCreate('examinerLoginInfo', this.examinerLoginInfo) |       AppStorage.setOrCreate('examinerInfo', this.examinerLoginInfo) | ||||||
|       AppStorage.setOrCreate('lsh', this.lsh) |       AppStorage.setOrCreate('lsh', this.lsh) | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| @ -747,7 +747,7 @@ struct UserInfo { | |||||||
|             this.currentUser.ksy2 = this.examinerLoginInfo.kgxm |             this.currentUser.ksy2 = this.examinerLoginInfo.kgxm | ||||||
|             AppStorage.setOrCreate('lsh', this.currentUser.lsh) |             AppStorage.setOrCreate('lsh', this.currentUser.lsh) | ||||||
|             this.examinerLoginInfo.ksyh = this.currentUser.ksy1sfzmhm |             this.examinerLoginInfo.ksyh = this.currentUser.ksy1sfzmhm | ||||||
|             AppStorage.setOrCreate('examinerLoginInfo', this.examinerLoginInfo) |             AppStorage.setOrCreate('examinerInfo', this.examinerLoginInfo) | ||||||
|           }, 200) |           }, 200) | ||||||
|         } else { |         } else { | ||||||
|           this.currentUser = EmptyCandidateObject |           this.currentUser = EmptyCandidateObject | ||||||
| @ -1054,7 +1054,7 @@ struct UserInfo { | |||||||
|     const temp = await writeObjectOut(param); |     const temp = await writeObjectOut(param); | ||||||
|     AppStorage.setOrCreate('lsh', this.currentUser.lsh) |     AppStorage.setOrCreate('lsh', this.currentUser.lsh) | ||||||
|     this.examinerLoginInfo.ksyh = this.currentUser.ksy1sfzmhm |     this.examinerLoginInfo.ksyh = this.currentUser.ksy1sfzmhm | ||||||
|     AppStorage.setOrCreate('examinerLoginInfo', this.examinerLoginInfo) |     AppStorage.setOrCreate('examinerInfo', this.examinerLoginInfo) | ||||||
|     return temp |     return temp | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user