diff --git a/apps/web-antd/src/views/crm/business/data.ts b/apps/web-antd/src/views/crm/business/data.ts index 6993b9af3..2a0642e46 100644 --- a/apps/web-antd/src/views/crm/business/data.ts +++ b/apps/web-antd/src/views/crm/business/data.ts @@ -157,69 +157,83 @@ export function useGridColumns(): VxeTableGridOptions['columns'] { field: 'name', title: '商机名称', fixed: 'left', + minWidth: 240, slots: { default: 'name' }, }, { field: 'customerName', title: '客户名称', fixed: 'left', + minWidth: 240, slots: { default: 'customerName' }, }, { field: 'totalPrice', title: '商机金额(元)', + minWidth: 140, formatter: 'formatAmount2', }, { field: 'dealTime', title: '预计成交日期', formatter: 'formatDate', + minWidth: 180, }, { field: 'remark', title: '备注', + minWidth: 200, }, { field: 'contactNextTime', title: '下次联系时间', formatter: 'formatDate', + minWidth: 180, }, { field: 'ownerUserName', title: '负责人', + minWidth: 120, }, { field: 'ownerUserDeptName', title: '所属部门', + minWidth: 120, }, { field: 'contactLastTime', title: '最后跟进时间', formatter: 'formatDateTime', - }, - { - field: 'updateTime', - title: '更新时间', - formatter: 'formatDateTime', + minWidth: 180, }, { field: 'createTime', title: '创建时间', formatter: 'formatDateTime', + minWidth: 180, }, { field: 'creatorName', title: '创建人', + minWidth: 120, + }, + { + field: 'updateTime', + title: '更新时间', + formatter: 'formatDateTime', + minWidth: 180, }, { field: 'statusTypeName', title: '商机状态组', fixed: 'right', + minWidth: 120, }, { field: 'statusName', title: '商机阶段', fixed: 'right', + minWidth: 120, }, { title: '操作', diff --git a/apps/web-antd/src/views/crm/clue/data.ts b/apps/web-antd/src/views/crm/clue/data.ts index ef35115ba..e3b31da22 100644 --- a/apps/web-antd/src/views/crm/clue/data.ts +++ b/apps/web-antd/src/views/crm/clue/data.ts @@ -164,6 +164,7 @@ export function useGridColumns(): VxeTableGridOptions['columns'] { field: 'name', title: '线索名称', fixed: 'left', + minWidth: 240, slots: { default: 'name', }, @@ -171,6 +172,7 @@ export function useGridColumns(): VxeTableGridOptions['columns'] { { field: 'source', title: '线索来源', + minWidth: 120, cellRender: { name: 'CellDict', props: { type: DICT_TYPE.CRM_CUSTOMER_SOURCE }, @@ -179,22 +181,27 @@ export function useGridColumns(): VxeTableGridOptions['columns'] { { field: 'mobile', title: '手机', + minWidth: 120, }, { field: 'telephone', title: '电话', + minWidth: 120, }, { field: 'email', title: '邮箱', + minWidth: 120, }, { field: 'detailAddress', title: '地址', + minWidth: 120, }, { field: 'industryId', title: '客户行业', + minWidth: 120, cellRender: { name: 'CellDict', props: { type: DICT_TYPE.CRM_CUSTOMER_INDUSTRY }, @@ -203,6 +210,7 @@ export function useGridColumns(): VxeTableGridOptions['columns'] { { field: 'level', title: '客户级别', + minWidth: 120, cellRender: { name: 'CellDict', props: { type: DICT_TYPE.CRM_CUSTOMER_LEVEL }, @@ -211,34 +219,41 @@ export function useGridColumns(): VxeTableGridOptions['columns'] { { field: 'ownerUserName', title: '负责人', + minWidth: 120, }, { field: 'ownerUserDeptName', title: '所属部门', + minWidth: 120, }, { field: 'contactNextTime', title: '下次联系时间', formatter: 'formatDateTime', + minWidth: 180, }, { field: 'contactLastTime', title: '最后跟进时间', formatter: 'formatDateTime', + minWidth: 180, }, { field: 'updateTime', title: '更新时间', formatter: 'formatDateTime', + minWidth: 180, }, { field: 'createTime', title: '创建时间', formatter: 'formatDateTime', + minWidth: 120, }, { field: 'creatorName', title: '创建人', + minWidth: 120, }, { title: '操作', diff --git a/apps/web-antd/src/views/crm/contact/data.ts b/apps/web-antd/src/views/crm/contact/data.ts index 4addb322a..e6a168004 100644 --- a/apps/web-antd/src/views/crm/contact/data.ts +++ b/apps/web-antd/src/views/crm/contact/data.ts @@ -188,17 +188,20 @@ export function useGridColumns(): VxeTableGridOptions['columns'] { field: 'name', title: '联系人姓名', fixed: 'left', + minWidth: 240, slots: { default: 'name' }, }, { field: 'customerName', title: '客户名称', fixed: 'left', + minWidth: 240, slots: { default: 'customerName' }, }, { field: 'sex', title: '性别', + minWidth: 120, cellRender: { name: 'CellDict', props: { type: DICT_TYPE.SYSTEM_USER_SEX }, @@ -207,26 +210,32 @@ export function useGridColumns(): VxeTableGridOptions['columns'] { { field: 'mobile', title: '手机', + minWidth: 120, }, { field: 'telephone', title: '电话', + minWidth: 120, }, { field: 'email', title: '邮箱', + minWidth: 120, }, { field: 'post', title: '职位', + minWidth: 120, }, { field: 'detailAddress', title: '地址', + minWidth: 120, }, { field: 'master', title: '关键决策人', + minWidth: 120, cellRender: { name: 'CellDict', props: { type: DICT_TYPE.INFRA_BOOLEAN_STRING }, @@ -235,34 +244,41 @@ export function useGridColumns(): VxeTableGridOptions['columns'] { { field: 'parentId', title: '直属上级', + minWidth: 120, slots: { default: 'parentId' }, }, { field: 'ownerUserName', title: '负责人', + minWidth: 120, }, { field: 'ownerUserDeptName', title: '所属部门', + minWidth: 120, }, { field: 'contactNextTime', title: '下次联系时间', formatter: 'formatDateTime', + minWidth: 180, }, { field: 'remark', title: '备注', + minWidth: 200, }, { field: 'createTime', title: '创建时间', formatter: 'formatDateTime', + minWidth: 180, }, { field: 'updateTime', title: '更新时间', formatter: 'formatDateTime', + minWidth: 180, }, { title: '操作', diff --git a/apps/web-antd/src/views/crm/product/data.ts b/apps/web-antd/src/views/crm/product/data.ts index b51855cb8..9658081c8 100644 --- a/apps/web-antd/src/views/crm/product/data.ts +++ b/apps/web-antd/src/views/crm/product/data.ts @@ -124,15 +124,18 @@ export function useGridColumns(): VxeTableGridOptions['columns'] { { field: 'name', title: '产品名称', + minWidth: 240, slots: { default: 'name' }, }, { field: 'categoryName', title: '产品类型', + minWidth: 120, }, { field: 'unit', title: '产品单位', + minWidth: 120, cellRender: { name: 'CellDict', props: { type: DICT_TYPE.CRM_PRODUCT_UNIT }, @@ -141,15 +144,18 @@ export function useGridColumns(): VxeTableGridOptions['columns'] { { field: 'no', title: '产品编码', + minWidth: 120, }, { field: 'price', title: '价格(元)', formatter: 'formatAmount2', + minWidth: 120, }, { field: 'description', title: '产品描述', + minWidth: 200, }, { field: 'status', @@ -158,24 +164,29 @@ export function useGridColumns(): VxeTableGridOptions['columns'] { name: 'CellDict', props: { type: DICT_TYPE.CRM_PRODUCT_STATUS }, }, + minWidth: 120, }, { field: 'ownerUserName', title: '负责人', + minWidth: 120, }, { field: 'updateTime', title: '更新时间', formatter: 'formatDateTime', + minWidth: 180, }, { field: 'creatorName', title: '创建人', + minWidth: 120, }, { field: 'createTime', title: '创建时间', formatter: 'formatDateTime', + minWidth: 180, }, { title: '操作',