解决冲突

This commit is contained in:
wangshiming
2022-02-09 17:48:55 +08:00
parent 208f7f7c8e
commit f538024bf3
2 changed files with 22 additions and 7 deletions

View File

@ -1,3 +1,13 @@
<!--
* @Description :
* @Version : 1.0
* @Author : Shiming
* @Date : 2022-01-12 13:35:56
* @LastEditors : Shiming
* @LastEditTime : 2022-02-09 17:41:57
* @FilePath : \\tms-obc-web\\src\\app\\routes\\usercenter\\components\\driver\\driver.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
<!-- 页头 -->
<page-header-wrapper [title]="'司机列表'"></page-header-wrapper>
<nz-card>
@ -26,7 +36,7 @@
</nz-tabset>
<!-- 数据列表 -->
<st #st [columns]="columns" [data]='service.$api_get_driver_list'
<st #st [columns]="columns" [scroll]="{x: '1200px'}" [data]='service.$api_get_driver_list'
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"

View File

@ -248,9 +248,10 @@ export class UserCenterComponentsDriverComponent implements OnInit {
private initST(): STColumn[] {
return [
{ title: '司机姓名', className: 'text-center', index: 'name' },
{ title: '手机号', className: 'text-center', index: 'mobile' },
{ title: '当前车辆', className: 'text-center', index: 'carNo' },
{ title: '司机姓名', className: 'text-center', index: 'name' , width: 150},
{ title: '手机号', className: 'text-center', index: 'mobile',width: 150 },
{ title: '身份证号码', className: 'text-center', index: 'identityNo', width: 200 },
{ title: '当前车辆', className: 'text-center', index: 'carNo' , width: 200},
{
title: '实名认证状态',
className: 'text-center',
@ -262,6 +263,8 @@ export class UserCenterComponentsDriverComponent implements OnInit {
1: { text: '通过', color: 'success' },
2: { text: '驳回', color: 'warning' }
}
, width: 180
},
{
title: '驾驶证状态',
@ -275,6 +278,7 @@ export class UserCenterComponentsDriverComponent implements OnInit {
30: { text: '驳回', color: 'warning' },
40: { text: '证件过期', color: 'error' }
}
, width: 180
},
{
title: '从业资格证状态',
@ -288,10 +292,11 @@ export class UserCenterComponentsDriverComponent implements OnInit {
30: { text: '驳回', color: 'warning' },
40: { text: '证件过期', color: 'error' }
}
, width: 180
},
{ title: '推广业务员', className: 'text-center', render: 'promotersTelephone' },
{ title: '注册渠道', className: 'text-center', index: 'source', type: 'enum', enum: { 1: '用户注册', 2: '货主添加' } },
{ title: '注册时间', className: 'text-center', index: 'createTime' },
{ title: '推广业务员', className: 'text-center', render: 'promotersTelephone' , width: 180},
{ title: '注册渠道', className: 'text-center', index: 'source', type: 'enum', enum: { 1: '用户注册', 2: '货主添加' }, width: 150 },
{ title: '注册时间', className: 'text-center', index: 'createTime', width: 200 },
{
title: '操作',
width: '110px',