车辆对接

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: '车牌颜色', title: '车牌颜色',
ui: { ui: {
widget: 'dict-select', widget: 'dict-select',
params: { dictKey: 'CarColor' }, params: { dictKey: 'car:color' },
} }
}, },
isSelf: { isSelf: {

View File

@ -212,9 +212,9 @@ export class VehicleComponentsAuditDetailComponent implements OnInit {
} }
// 获取录单员 // 获取录单员
getSelectList() { getSelectList() {
this.Serveice("CarColor") this.Serveice("car:color")
this.Serveice("CarModel") this.Serveice("car:model")
this.Serveice("CarLength") this.Serveice("car:length")
} }
Serveice(param :any) { Serveice(param :any) {
let value: any; let value: any;
@ -222,11 +222,11 @@ export class VehicleComponentsAuditDetailComponent implements OnInit {
{ {
dictKey: param dictKey: param
}).subscribe((res) => { }).subscribe((res) => {
if(param === 'CarColor') { if(param === 'car:color') {
this.contenCarNoColor = res; this.contenCarNoColor = res;
} else if(param === 'CarModel') { } else if(param === 'car:model') {
this.contencarModel = res; this.contencarModel = res;
} else if(param === 'CarLength') { } else if(param === 'car:length') {
this.contenCarLength = res; this.contenCarLength = res;
} }
}) })

View File

@ -153,9 +153,9 @@ export class VehicleComponentsListDetailComponent implements OnInit {
} }
// 获取录单员 // 获取录单员
getSelectList() { getSelectList() {
this.Serveice("CarColor") this.Serveice("car:color")
this.Serveice("CarModel") this.Serveice("car:model")
this.Serveice("CarLength") this.Serveice("car:length")
} }
Serveice(param :any) { Serveice(param :any) {
let value: any; let value: any;
@ -163,11 +163,11 @@ export class VehicleComponentsListDetailComponent implements OnInit {
{ {
dictKey: param dictKey: param
}).subscribe((res) => { }).subscribe((res) => {
if(param === 'CarColor') { if(param === 'car:color') {
this.contenCarNoColor = res; this.contenCarNoColor = res;
} else if(param === 'CarModel') { } else if(param === 'car:model') {
this.contencarModel = res; this.contencarModel = res;
} else if(param === 'CarLength') { } else if(param === 'car:length') {
this.contenCarLength = res; this.contenCarLength = res;
} }
}) })

View File

@ -76,7 +76,7 @@ export class VehicleComponentsListComponent implements OnInit {
ui: { ui: {
widget: 'dict-select', widget: 'dict-select',
containAllLable:true, containAllLable:true,
params: { dictKey: 'CarColor' }, params: { dictKey: 'car:color' },
}, },
}, },
carStatus: { carStatus: {
@ -98,7 +98,7 @@ export class VehicleComponentsListComponent implements OnInit {
type: 'string', type: 'string',
ui: { ui: {
widget: 'dict-select', widget: 'dict-select',
params: { dictKey: 'CarModel' }, params: { dictKey: 'car:model' },
containAllLable:true, containAllLable:true,
visibleIf: { visibleIf: {
expand: (value: boolean) => value, expand: (value: boolean) => value,
@ -110,7 +110,7 @@ export class VehicleComponentsListComponent implements OnInit {
type: 'string', type: 'string',
ui: { ui: {
widget: 'dict-select', widget: 'dict-select',
params: { dictKey: 'CarLength' }, params: { dictKey: 'car:length' },
containAllLable:true, containAllLable:true,
visibleIf: { visibleIf: {
expand: (value: boolean) => value, expand: (value: boolean) => value,