车辆对接

This commit is contained in:
wangshiming
2022-01-13 15:43:45 +08:00
parent 5bf20e71c1
commit be43d47341
9 changed files with 63 additions and 33 deletions

View File

@ -217,10 +217,10 @@ export class VehicleComponentsListComponent implements OnInit {
initST() {
this.columns = [
// { title: '', type: 'checkbox', className: 'text-center' },
{ title: '车牌号', className: 'text-center', index: 'carNo' },
{ title: '车牌颜色', className: 'text-center', index: 'carNoColorLabel' },
{ title: '车型-车长-载重', className: 'text-center', render: 'carLength' },
{ title: '运营状态', className: 'text-center', index: 'carStatus',
{ title: '车牌号', width:'150px', className: 'text-center', index: 'carNo' },
{ title: '车牌颜色', width:'150px', className: 'text-center', index: 'carNoColorLabel' },
{ title: '车型-车长-载重',width:'150px', className: 'text-center', render: 'carLength' },
{ title: '运营状态',width:'150px', className: 'text-center', index: 'carStatus',
type: 'badge',
badge: {
true: { text: '运输中', color: 'success' },
@ -229,6 +229,7 @@ export class VehicleComponentsListComponent implements OnInit {
},
{
title: '行驶证到期状态',
width:'180px',
className: 'text-center',
index: 'driverLicenseStatus',
type: 'badge',
@ -240,6 +241,7 @@ export class VehicleComponentsListComponent implements OnInit {
},
{
title: '道运证到期状态',
width:'180px',
className: 'text-center',
index: 'roadTransportStatus',
type: 'badge',
@ -249,15 +251,16 @@ export class VehicleComponentsListComponent implements OnInit {
3: { text: '已到期', color: 'error' },
},
},
{ title: '所有人', className: 'text-center', index: 'carOwner' },
{ title: '是否挂靠', className: 'text-center', render: 'isSelf', },
{ title: '挂靠协议', className: 'text-center', render: 'approvalAuditStatus' },
{ title: '所有人',width:'150px', className: 'text-center', index: 'carOwner' },
{ title: '是否挂靠', width:'150px', className: 'text-center', render: 'isSelf', },
{ title: '挂靠协议', width:'150px', className: 'text-center', render: 'approvalAuditStatus' },
// { title: '是否已备案', className: 'text-center', render: 'putOnRecord', },
{
title: '操作',
width: '170px',
className: 'text-center',
fixed: 'right',
width: '100px',
className: 'text-left',
buttons: [
{
text: '查看',
@ -294,4 +297,8 @@ export class VehicleComponentsListComponent implements OnInit {
this.sf.reset();
this._$expand = false;
}
// 导出
export() {
this.service.downloadFile(this.service.$api_carLicense_export, );
}
}