fix bug
This commit is contained in:
@ -194,38 +194,20 @@ export class UserCenterComponentsDriverConfigComponent implements OnInit {
|
||||
// { title: '', type: 'checkbox', className: 'text-center' },
|
||||
{ title: '司机姓名', className: 'text-center', index: 'name' },
|
||||
{ title: '手机号', className: 'text-center', index: 'mobile' },
|
||||
{ title: '身份证号', className: 'text-center', index: 'identityNo' },
|
||||
{
|
||||
title: '实名认证状态',
|
||||
className: 'text-center',
|
||||
index: 'identityStatus',
|
||||
type: 'badge',
|
||||
badge: {
|
||||
'-1': { text: '未提交', color: 'default' },
|
||||
0: { text: '待审核', color: 'processing' },
|
||||
1: { text: '审核通过', color: 'success' },
|
||||
2: { text: '驳回', color: 'warning' }
|
||||
}
|
||||
},
|
||||
{ title: '推广业务员', className: 'text-center', render: 'promotersTelephone' },
|
||||
{ title: '注册渠道', className: 'text-center', index: 'source', type: 'enum', enum: { 1: '用户注册', 2: '货主添加' , 3: '运营添加'} },
|
||||
{ title: '注册时间', className: 'text-center', index: 'createTime' },
|
||||
{ title: '类型', className: 'text-center', render: 'isCaptain' },
|
||||
{ title: '月承运金额上限(元)', className: 'text-center', render: 'monthFreightAmount' },
|
||||
{ title: '日提现金额上限(元)', className: 'text-center', render: 'dayWithdrawalAmount', },
|
||||
{ title: '月提现金额上限(元)', className: 'text-center', render: 'monthWithdrawalAmount' },
|
||||
{ title: '月收款金额上限(元)', className: 'text-center', render: 'monthReceivableAmount' },
|
||||
{
|
||||
title: '操作',
|
||||
width: '170px',
|
||||
className: 'text-center',
|
||||
buttons: [
|
||||
{
|
||||
text: '查看',
|
||||
click: item => {
|
||||
this.router.navigate(['/usercenter/driver/captain/detail', item.appUserId]);
|
||||
},
|
||||
acl: { ability: ['USERCENTER-DRIVER-CAPTAIN-view'] }
|
||||
},
|
||||
{
|
||||
text: '基础设置',
|
||||
text: '配置',
|
||||
click: item => this.settingAction(item),
|
||||
acl: { ability: ['USERCENTER-DRIVER-CAPTAIN-basicSetting'] }
|
||||
acl: { ability: ['USERCENTER-DRIVER-CONFIG-config'] }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user