diff --git a/src/app/routes/vehicle/components/audit/audit.component.ts b/src/app/routes/vehicle/components/audit/audit.component.ts index e731e78e..e3cf01b5 100644 --- a/src/app/routes/vehicle/components/audit/audit.component.ts +++ b/src/app/routes/vehicle/components/audit/audit.component.ts @@ -74,7 +74,7 @@ export class VehicleComponentsAuditComponent implements OnInit { title: '车牌颜色', ui: { widget: 'dict-select', - params: { dictKey: 'CarColor' }, + params: { dictKey: 'car:color' }, } }, isSelf: { diff --git a/src/app/routes/vehicle/components/audit/detail/detail.component.ts b/src/app/routes/vehicle/components/audit/detail/detail.component.ts index e746be30..82c5cd1f 100644 --- a/src/app/routes/vehicle/components/audit/detail/detail.component.ts +++ b/src/app/routes/vehicle/components/audit/detail/detail.component.ts @@ -212,9 +212,9 @@ export class VehicleComponentsAuditDetailComponent implements OnInit { } // 获取录单员 getSelectList() { - this.Serveice("CarColor") - this.Serveice("CarModel") - this.Serveice("CarLength") + this.Serveice("car:color") + this.Serveice("car:model") + this.Serveice("car:length") } Serveice(param :any) { let value: any; @@ -222,11 +222,11 @@ export class VehicleComponentsAuditDetailComponent implements OnInit { { dictKey: param }).subscribe((res) => { - if(param === 'CarColor') { + if(param === 'car:color') { this.contenCarNoColor = res; - } else if(param === 'CarModel') { + } else if(param === 'car:model') { this.contencarModel = res; - } else if(param === 'CarLength') { + } else if(param === 'car:length') { this.contenCarLength = res; } }) diff --git a/src/app/routes/vehicle/components/list/detail/detail.component.ts b/src/app/routes/vehicle/components/list/detail/detail.component.ts index 82bfcb6c..8a86a26e 100644 --- a/src/app/routes/vehicle/components/list/detail/detail.component.ts +++ b/src/app/routes/vehicle/components/list/detail/detail.component.ts @@ -153,9 +153,9 @@ export class VehicleComponentsListDetailComponent implements OnInit { } // 获取录单员 getSelectList() { - this.Serveice("CarColor") - this.Serveice("CarModel") - this.Serveice("CarLength") + this.Serveice("car:color") + this.Serveice("car:model") + this.Serveice("car:length") } Serveice(param :any) { let value: any; @@ -163,11 +163,11 @@ export class VehicleComponentsListDetailComponent implements OnInit { { dictKey: param }).subscribe((res) => { - if(param === 'CarColor') { + if(param === 'car:color') { this.contenCarNoColor = res; - } else if(param === 'CarModel') { + } else if(param === 'car:model') { this.contencarModel = res; - } else if(param === 'CarLength') { + } else if(param === 'car:length') { this.contenCarLength = res; } }) diff --git a/src/app/routes/vehicle/components/list/list.component.ts b/src/app/routes/vehicle/components/list/list.component.ts index 9d0cb449..50b7697f 100644 --- a/src/app/routes/vehicle/components/list/list.component.ts +++ b/src/app/routes/vehicle/components/list/list.component.ts @@ -76,7 +76,7 @@ export class VehicleComponentsListComponent implements OnInit { ui: { widget: 'dict-select', containAllLable:true, - params: { dictKey: 'CarColor' }, + params: { dictKey: 'car:color' }, }, }, carStatus: { @@ -98,7 +98,7 @@ export class VehicleComponentsListComponent implements OnInit { type: 'string', ui: { widget: 'dict-select', - params: { dictKey: 'CarModel' }, + params: { dictKey: 'car:model' }, containAllLable:true, visibleIf: { expand: (value: boolean) => value, @@ -110,7 +110,7 @@ export class VehicleComponentsListComponent implements OnInit { type: 'string', ui: { widget: 'dict-select', - params: { dictKey: 'CarLength' }, + params: { dictKey: 'car:length' }, containAllLable:true, visibleIf: { expand: (value: boolean) => value,