fix bug
This commit is contained in:
@ -31,6 +31,7 @@ export class VehicleComponentsAuditDetailComponent implements OnInit, OnDestroy
|
||||
contenCarNoColor: any;
|
||||
contencarModel: any;
|
||||
contenCarLength: any;
|
||||
contenCarEnergy: any;
|
||||
isEdit = false;
|
||||
approvalOpinion = '';
|
||||
uploadURl = apiConf.waterFileUpload;
|
||||
@ -243,6 +244,7 @@ export class VehicleComponentsAuditDetailComponent implements OnInit, OnDestroy
|
||||
this.Serveice('car:color');
|
||||
this.Serveice('car:model');
|
||||
this.Serveice('car:length');
|
||||
this.Serveice('car:energy:type');
|
||||
}
|
||||
Serveice(param: any) {
|
||||
let value: any;
|
||||
@ -257,6 +259,8 @@ export class VehicleComponentsAuditDetailComponent implements OnInit, OnDestroy
|
||||
this.contencarModel = res;
|
||||
} else if (param === 'car:length') {
|
||||
this.contenCarLength = res;
|
||||
} else if (param === 'car:energy:type') {
|
||||
this.contenCarEnergy = res;
|
||||
}
|
||||
});
|
||||
return value;
|
||||
|
||||
Reference in New Issue
Block a user