车辆对接
This commit is contained in:
@ -74,7 +74,7 @@ export class VehicleComponentsAuditComponent implements OnInit {
|
||||
title: '车牌颜色',
|
||||
ui: {
|
||||
widget: 'dict-select',
|
||||
params: { dictKey: 'CarColor' },
|
||||
params: { dictKey: 'car:color' },
|
||||
}
|
||||
},
|
||||
isSelf: {
|
||||
|
||||
@ -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;
|
||||
}
|
||||
})
|
||||
|
||||
@ -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;
|
||||
}
|
||||
})
|
||||
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user