车辆对接

This commit is contained in:
wangshiming
2021-12-16 21:17:37 +08:00
parent 1642ef2334
commit 6d65ead997
4 changed files with 16 additions and 16 deletions

View File

@ -74,7 +74,7 @@ export class VehicleComponentsAuditComponent implements OnInit {
title: '车牌颜色',
ui: {
widget: 'dict-select',
params: { dictKey: 'CarColor' },
params: { dictKey: 'car:color' },
}
},
isSelf: {

View File

@ -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;
}
})

View File

@ -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;
}
})

View File

@ -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,