feat:【antd】【crm】contact 列表的优化

This commit is contained in:
YunaiV
2025-09-25 23:39:44 +08:00
parent 655940bc4f
commit 3c0723d82f
4 changed files with 62 additions and 49 deletions

View File

@@ -203,15 +203,6 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
minWidth: 240,
slots: { default: 'customerName' },
},
{
field: 'sex',
title: '性别',
minWidth: 120,
cellRender: {
name: 'CellDict',
props: { type: DICT_TYPE.SYSTEM_USER_SEX },
},
},
{
field: 'mobile',
title: '手机',
@@ -220,12 +211,12 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
{
field: 'telephone',
title: '电话',
minWidth: 120,
minWidth: 130,
},
{
field: 'email',
title: '邮箱',
minWidth: 120,
minWidth: 180,
},
{
field: 'post',
@@ -233,10 +224,15 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
minWidth: 120,
},
{
field: 'detailAddress',
field: 'areaName',
title: '地址',
minWidth: 120,
},
{
field: 'detailAddress',
title: '详细地址',
minWidth: 180,
},
{
field: 'master',
title: '关键决策人',
@@ -252,6 +248,32 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
minWidth: 120,
slots: { default: 'parentId' },
},
{
field: 'contactNextTime',
title: '下次联系时间',
formatter: 'formatDateTime',
minWidth: 180,
},
{
field: 'sex',
title: '性别',
minWidth: 120,
cellRender: {
name: 'CellDict',
props: { type: DICT_TYPE.SYSTEM_USER_SEX },
},
},
{
field: 'remark',
title: '备注',
minWidth: 200,
},
{
field: 'contactLastTime',
title: '最后跟进时间',
formatter: 'formatDateTime',
minWidth: 180,
},
{
field: 'ownerUserName',
title: '负责人',
@@ -263,16 +285,11 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
minWidth: 120,
},
{
field: 'contactNextTime',
title: '下次联系时间',
field: 'updateTime',
title: '更新时间',
formatter: 'formatDateTime',
minWidth: 180,
},
{
field: 'remark',
title: '备注',
minWidth: 200,
},
{
field: 'createTime',
title: '创建时间',
@@ -280,10 +297,9 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
minWidth: 180,
},
{
field: 'updateTime',
title: '更新时间',
formatter: 'formatDateTime',
minWidth: 180,
field: 'creatorName',
title: '创建人',
minWidth: 120,
},
{
title: '操作',