edit
This commit is contained in:
		| @ -334,7 +334,7 @@ | ||||
|         {{ userIdentityDetail?.name }} | ||||
|       </se> | ||||
|       <se [col]="1" label="备注" required> | ||||
|         <textarea nz-input rows="3" style="width: 325px;margin-left: 14px;" maxlength="120" [(ngModel)]="approvalOpinion"></textarea> | ||||
|         <textarea nz-input rows="3" style="width: 325px;margin-left: 14px;" maxlength="120" [(ngModel)]="approvalOpinion" placeholder="请输入驳回原因"></textarea> | ||||
|       </se> | ||||
|     </div> | ||||
|   </div> | ||||
|  | ||||
| @ -76,7 +76,7 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit { | ||||
|   ngOnInit() { | ||||
|     this.initData(); | ||||
|     this.initDetailByCode(); | ||||
|     this.changeEndKmAction() | ||||
|     this.changeEndKmAction(); | ||||
|   } | ||||
|   initData() { | ||||
|     // 获取司机头部信息 | ||||
| @ -191,6 +191,7 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit { | ||||
|       nzContent: this.redectModal, | ||||
|       nzOnOk: () => { | ||||
|         if (!this.approvalOpinion) { | ||||
|           this.service.msgSrv.warning('请填写备注'); | ||||
|           return false; | ||||
|         } | ||||
|         this.adjuctUser( | ||||
| @ -213,7 +214,7 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit { | ||||
|       nzTitle: '审核通过', | ||||
|       nzContent: `<p>驾驶证号:${this.driverDetail?.licenseNo}</p><p>从业资格证号:${this.licenseDetail?.licenseNo}</p><p>是否确认通过审核`, | ||||
|       nzOnOk: () => { | ||||
|         this.changeEndKmAction() | ||||
|         this.changeEndKmAction(); | ||||
|       } | ||||
|     }); | ||||
|   } | ||||
| @ -226,7 +227,7 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit { | ||||
|         }, | ||||
|         '审核成功' | ||||
|       ); | ||||
|     }) | ||||
|     }); | ||||
|   } | ||||
|   /** 驳回驾驶员信息 */ | ||||
|   rejectedDriver() { | ||||
| @ -331,16 +332,22 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit { | ||||
|         return; | ||||
|       } | ||||
|     } | ||||
|     if (!driverDetail.licenseNo  || !driverDetail.driverModel || !driverDetail.validStartTime || !driverDetail.signingOrganization || !driverDetail.certificatePhotoWatermark) { | ||||
|     if ( | ||||
|       !driverDetail.licenseNo || | ||||
|       !driverDetail.driverModel || | ||||
|       !driverDetail.validStartTime || | ||||
|       !driverDetail.signingOrganization || | ||||
|       !driverDetail.certificatePhotoWatermark | ||||
|     ) { | ||||
|       this.service.msgSrv.warning('请完善驾驶证信息'); | ||||
|       return; | ||||
|     } | ||||
|  | ||||
|     if (!licenseDetail.licenseNo  || !licenseDetail.validStartTime || !licenseDetail.certificatePhotoWatermark) { | ||||
|     if (!licenseDetail.licenseNo || !licenseDetail.validStartTime || !licenseDetail.certificatePhotoWatermark) { | ||||
|       this.service.msgSrv.warning('请完善从业资格证信息'); | ||||
|       return; | ||||
|     } | ||||
|   | ||||
|  | ||||
|     const params: any = { | ||||
|       userId: this.route.snapshot.params.id, | ||||
|       mobile: this.userDetail?.phone, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user