edit
This commit is contained in:
@ -23,7 +23,6 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
|
|||||||
detailData: any;
|
detailData: any;
|
||||||
userDetail: any;
|
userDetail: any;
|
||||||
contencarModel: any;
|
contencarModel: any;
|
||||||
changeSub = new Subject<string>();
|
|
||||||
facetext: any;
|
facetext: any;
|
||||||
faceStatus: any = 0;
|
faceStatus: any = 0;
|
||||||
userIdentityDetail: any = {};
|
userIdentityDetail: any = {};
|
||||||
@ -76,7 +75,6 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
|
|||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.initData();
|
this.initData();
|
||||||
this.initDetailByCode();
|
this.initDetailByCode();
|
||||||
this.changeEndKmAction();
|
|
||||||
}
|
}
|
||||||
initData() {
|
initData() {
|
||||||
// 获取司机头部信息
|
// 获取司机头部信息
|
||||||
@ -210,16 +208,11 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
|
|||||||
|
|
||||||
/** 审核通过驾驶员信息 */
|
/** 审核通过驾驶员信息 */
|
||||||
approveDriver() {
|
approveDriver() {
|
||||||
|
|
||||||
this.nzModalService.confirm({
|
this.nzModalService.confirm({
|
||||||
nzTitle: '审核通过',
|
nzTitle: '审核通过',
|
||||||
nzContent: `<p>驾驶证号:${this.driverDetail?.licenseNo}</p><p>从业资格证号:${this.licenseDetail?.licenseNo}</p><p>是否确认通过审核`,
|
nzContent: `<p>驾驶证号:${this.driverDetail?.licenseNo}</p><p>从业资格证号:${this.licenseDetail?.licenseNo}</p><p>是否确认通过审核`,
|
||||||
nzOnOk: () => {
|
nzOnOk: () => {
|
||||||
this.changeEndKmAction();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
changeEndKmAction() {
|
|
||||||
this.changeSub.pipe(debounceTime(500)).subscribe((res: string) => {
|
|
||||||
this.adjuctDriverLicense(
|
this.adjuctDriverLicense(
|
||||||
{
|
{
|
||||||
approvalStatus: 20,
|
approvalStatus: 20,
|
||||||
@ -227,8 +220,10 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
'审核成功'
|
'审核成功'
|
||||||
);
|
);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 驳回驾驶员信息 */
|
/** 驳回驾驶员信息 */
|
||||||
rejectedDriver() {
|
rejectedDriver() {
|
||||||
this.approvalOpinion = '';
|
this.approvalOpinion = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user