This commit is contained in:
Taric Xin
2022-02-16 16:47:19 +08:00
parent 331c3207a7
commit 56068f5337
7 changed files with 45 additions and 54 deletions

View File

@ -81,13 +81,11 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
});
this.service.request(this.service.$api_getDictValue, { dictKey: 'driverModel' }).subscribe(res => {
if (res) {
console.log(res);
this.contencarModel = res;
}
});
// 获取人脸识别结果
this.service.request(this.service.$api_getFaceFlowQuery, { id: this.route.snapshot.params.id }).subscribe(res => {
console.log(res);
if (res) {
this.faceStatus = res.status;
if (res.status == 4) {
@ -106,7 +104,6 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
this.service.request(this.service.$api_get_driver_license, { appUserId: this.route.snapshot.params.id }).subscribe(res => {
if (res?.id) {
Object.assign(res, { driverModel: res.driverModel ? res.driverModel.split(',') : [] });
console.log('driverDetail', res);
this.driverDetail = res;
this.tempalateDriverData = { ...this.driverDetail };
@ -116,7 +113,6 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
this.service.request(this.service.$api_get_driver_practice_seniority, { appUserId: this.route.snapshot.params.id }).subscribe(res => {
if (res?.id) {
this.licenseDetail = res;
console.log(res);
this.tempalateLicenseDetail = { ...this.licenseDetail };
}
});
@ -132,7 +128,6 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
.subscribe(res => {
if (res) {
this.billEvaluateList = res;
console.log(this.billEvaluateList);
}
});
}
@ -261,7 +256,6 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
*/
ratify(type: number) {
if (type) {
console.log(this.driverDetail);
this.isEditDriver = true;
} else {
this.isEditUser = true;
@ -291,7 +285,6 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
initDetailByCode() {
// 根据地区code查询地区详情
this.service.request(this.service.$api_get_region_by_code, { regionCode: '' }).subscribe((res: any) => {
console.log(res);
this.adressCodeList = res;
});
}