feat: 优化显示
parent
faa303526d
commit
709501937d
|
@ -154,6 +154,8 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
|
||||||
field: 'name',
|
field: 'name',
|
||||||
title: '客户名称',
|
title: '客户名称',
|
||||||
fixed: 'left',
|
fixed: 'left',
|
||||||
|
align: 'left',
|
||||||
|
minWidth: 280,
|
||||||
slots: {
|
slots: {
|
||||||
default: 'name',
|
default: 'name',
|
||||||
},
|
},
|
||||||
|
@ -161,6 +163,7 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
|
||||||
{
|
{
|
||||||
field: 'source',
|
field: 'source',
|
||||||
title: '客户来源',
|
title: '客户来源',
|
||||||
|
minWidth: 100,
|
||||||
cellRender: {
|
cellRender: {
|
||||||
name: 'CellDict',
|
name: 'CellDict',
|
||||||
props: { type: DICT_TYPE.CRM_CUSTOMER_SOURCE },
|
props: { type: DICT_TYPE.CRM_CUSTOMER_SOURCE },
|
||||||
|
@ -169,22 +172,32 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
|
||||||
{
|
{
|
||||||
field: 'mobile',
|
field: 'mobile',
|
||||||
title: '手机',
|
title: '手机',
|
||||||
|
minWidth: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'telephone',
|
field: 'telephone',
|
||||||
title: '电话',
|
title: '电话',
|
||||||
|
minWidth: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'email',
|
field: 'email',
|
||||||
title: '邮箱',
|
title: '邮箱',
|
||||||
|
minWidth: 100,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'areaName',
|
||||||
|
title: '地址',
|
||||||
|
minWidth: 140,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'detailAddress',
|
field: 'detailAddress',
|
||||||
title: '地址',
|
title: '地址',
|
||||||
|
minWidth: 140,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'industryId',
|
field: 'industryId',
|
||||||
title: '客户行业',
|
title: '客户行业',
|
||||||
|
minWidth: 80,
|
||||||
cellRender: {
|
cellRender: {
|
||||||
name: 'CellDict',
|
name: 'CellDict',
|
||||||
props: { type: DICT_TYPE.CRM_CUSTOMER_INDUSTRY },
|
props: { type: DICT_TYPE.CRM_CUSTOMER_INDUSTRY },
|
||||||
|
@ -193,6 +206,7 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
|
||||||
{
|
{
|
||||||
field: 'level',
|
field: 'level',
|
||||||
title: '客户级别',
|
title: '客户级别',
|
||||||
|
minWidth: 120,
|
||||||
cellRender: {
|
cellRender: {
|
||||||
name: 'CellDict',
|
name: 'CellDict',
|
||||||
props: { type: DICT_TYPE.CRM_CUSTOMER_LEVEL },
|
props: { type: DICT_TYPE.CRM_CUSTOMER_LEVEL },
|
||||||
|
@ -201,30 +215,36 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
|
||||||
{
|
{
|
||||||
field: 'ownerUserName',
|
field: 'ownerUserName',
|
||||||
title: '负责人',
|
title: '负责人',
|
||||||
|
minWidth: 80,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'ownerUserDeptName',
|
field: 'ownerUserDeptName',
|
||||||
title: '所属部门',
|
title: '所属部门',
|
||||||
|
minWidth: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'contactNextTime',
|
field: 'contactNextTime',
|
||||||
title: '下次联系时间',
|
title: '下次联系时间',
|
||||||
formatter: 'formatDateTime',
|
formatter: 'formatDateTime',
|
||||||
|
minWidth: 160,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'contactLastTime',
|
field: 'contactLastTime',
|
||||||
title: '最后跟进时间',
|
title: '最后跟进时间',
|
||||||
formatter: 'formatDateTime',
|
formatter: 'formatDateTime',
|
||||||
|
minWidth: 160,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'updateTime',
|
field: 'updateTime',
|
||||||
title: '更新时间',
|
title: '更新时间',
|
||||||
formatter: 'formatDateTime',
|
formatter: 'formatDateTime',
|
||||||
|
minWidth: 160,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'createTime',
|
field: 'createTime',
|
||||||
title: '创建时间',
|
title: '创建时间',
|
||||||
formatter: 'formatDateTime',
|
formatter: 'formatDateTime',
|
||||||
|
minWidth: 160,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
|
|
Loading…
Reference in New Issue