车队长列表

This commit is contained in:
wangshiming
2021-11-30 20:38:56 +08:00
parent b1814a722f
commit 4d0627ff35
18 changed files with 623 additions and 2228 deletions

View File

@ -96,24 +96,19 @@ export class UserCenterComponentsDriverComponent implements OnInit {
hidden: true,
},
},
storeName: { title: '企业名称', type: 'string', ui: { showRequired: false } },
contactsName: {
title: '联系人',
storeName: { title: '司机姓名', type: 'string', ui: { showRequired: false } },
phone: {
title: '手机号',
type: 'string',
format: 'mobile',
maxLength: 11,
ui: {
showRequired: false,
},
},
unifiedSocialCreditCode: {
title: '税源地',
type: 'string',
ui: {
showRequired: false,
placeholder: '请输入手机号',
},
},
enStatus: {
type: 'string',
title: '货主状态',
title: '实名状态',
enum: [
{ label: '全部', value: '' },
{ label: '正常', value: 0 },
@ -130,7 +125,7 @@ export class UserCenterComponentsDriverComponent implements OnInit {
},
enStatus2: {
type: 'string',
title: 'CRM审核状态',
title: '驾驶证状态',
enum: [
{ label: '全部', value: '' },
{ label: '正常', value: 0 },
@ -145,22 +140,46 @@ export class UserCenterComponentsDriverComponent implements OnInit {
},
},
},
enStatus23: {
type: 'string',
title: '从业资格证状态',
enum: [
{ label: '全部', value: '' },
{ label: '正常', value: 0 },
{ label: '冻结', value: 1 },
{ label: '废弃', value: 2 },
],
default: '',
ui: {
widget: 'select',
visibleIf: {
expand: (value: boolean) => value,
},
},
},
phone2: {
title: '业务员手机号',
type: 'string',
format: 'mobile',
maxLength: 11,
ui: {
placeholder: '请输入手机号',
},
},
},
};
this.ui = { '*': { spanLabelFixed: 90, grid: { span: 8, gutter: 4 }, enter: () => this.st.load() } };
this.ui = { '*': { spanLabelFixed: 180, grid: { span: 8, gutter: 4 }, enter: () => this.st.load() } };
}
initST() {
this.columns = [
// { title: '', type: 'checkbox', className: 'text-center' },
{ title: '企业名称', className: 'text-center', index: 'storeName' },
{ title: '联系人', className: 'text-center', index: 'contactsName' },
{ title: '税源地', className: 'text-center', render: 'enterpriseName' },
{ title: '累计运单金额', className: 'text-center', index: 'unifiedSocialCreditCode' },
{ title: '道运证', className: 'text-center', index: 'contactsPhone',
render: 'contactsPhone'
},
{ title: '企业状态', className: 'text-center', index: 'effectiveDateStr',
{ title: '司机姓名', className: 'text-center', index: 'storeName' },
{ title: '手机号', className: 'text-center', index: 'contactsName' },
{ title: '承运总单量', className: 'text-center', render: 'enterpriseName' },
{ title: '当前车辆', className: 'text-center', index: 'unifiedSocialCreditCode' },
{ title: '实名认证状态', className: 'text-center', index: 'effectiveDateStr',
type: 'badge',
badge: {
: { text: '正常', color: 'success' },
@ -169,7 +188,7 @@ export class UserCenterComponentsDriverComponent implements OnInit {
},
},
{
title: 'CRM审核状态',
title: '驾驶证状态',
className: 'text-center',
index: 'enStatusStr2',
type: 'badge',
@ -180,7 +199,7 @@ export class UserCenterComponentsDriverComponent implements OnInit {
},
},
{
title: '代收权限',
title: '从业资格证状态',
className: 'text-center',
index: 'enStatusStr3',
type: 'badge',
@ -190,8 +209,8 @@ export class UserCenterComponentsDriverComponent implements OnInit {
: { text: '废弃', color: 'default' },
},
},
{ title: '常用服务', className: 'text-center', index: 'unifiedSocialCreditCode3' },
{ title: '推广业务员', className: 'text-center', index: 'unifiedSocialCreditCode2' },
{ title: '注册时间', className: 'text-center', index: 'unifiedSocialCreditCode3' },
{
title: '操作',
width: '170px',