|
|
@ -1,12 +1,12 @@ |
|
|
import { BasicColumn, FormSchema } from '/@/components/Table' |
|
|
import { BasicColumn, FormSchema } from '/@/components/Table' |
|
|
import { genderList, incomeList, maritalList, appointmentStatusList } from '/@/enums/customerEnum' |
|
|
|
|
|
|
|
|
import { genderList, incomeList, maritalList, appointmentStatusList, educationList } from '/@/enums/customerEnum' |
|
|
|
|
|
|
|
|
export const tableColumns: BasicColumn[] = [ |
|
|
export const tableColumns: BasicColumn[] = [ |
|
|
{ width: 120, title: '用户名称', dataIndex: 'nickName' }, |
|
|
|
|
|
{ width: 90, title: '用户性别', dataIndex: 'genderCode', customRender: ({ text }) => { return genderList.find((find) => find.value === text)?.label} }, |
|
|
|
|
|
{ width: 120, title: '手机号码', dataIndex: 'phone' }, |
|
|
|
|
|
{ width: 80, title: '年龄', dataIndex: 'age' }, |
|
|
|
|
|
{ width: 90, title: '婚姻状态', dataIndex: 'maritalStatusCode', |
|
|
|
|
|
|
|
|
{ width: 100, title: '用户名称', dataIndex: 'nickName' }, |
|
|
|
|
|
{ width: 80, title: '用户性别', dataIndex: 'genderCode', customRender: ({ text }) => { return genderList.find((find) => find.value === text)?.label} }, |
|
|
|
|
|
{ width: 110, title: '手机号码', dataIndex: 'phone' }, |
|
|
|
|
|
{ width: 60, title: '年龄', dataIndex: 'age' }, |
|
|
|
|
|
{ width: 80, title: '婚姻状态', dataIndex: 'maritalStatusCode', |
|
|
customRender: ({ text }) => { |
|
|
customRender: ({ text }) => { |
|
|
return maritalList.find((find) => find.value === text)?.label |
|
|
return maritalList.find((find) => find.value === text)?.label |
|
|
}, |
|
|
}, |
|
|
@ -16,9 +16,16 @@ export const tableColumns: BasicColumn[] = [ |
|
|
return incomeList.find((find) => find.value === text)?.label |
|
|
return incomeList.find((find) => find.value === text)?.label |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ width: 120, title: '面谈销售', dataIndex: 'salesConsultantName' }, |
|
|
|
|
|
{ width: 160, title: '预约时间', dataIndex: 'appointmentTime' }, |
|
|
|
|
|
{ title: '跟进进度', dataIndex: 'datingStoreAppointmentStatus', slots: { customRender: 'datingStoreAppointmentStatus' } }, |
|
|
|
|
|
|
|
|
{ width: 80, title: '学历', dataIndex: 'educationCode', |
|
|
|
|
|
customRender: ({ text }) => { |
|
|
|
|
|
return educationList.find((find) => find.value === text)?.label |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ width: 100, title: '面谈销售', dataIndex: 'salesConsultantName' }, |
|
|
|
|
|
{ width: 150, title: '预约时间', dataIndex: 'appointmentTime' }, |
|
|
|
|
|
{ width: 100, title: '跟进进度', dataIndex: 'datingStoreAppointmentStatus', slots: { customRender: 'datingStoreAppointmentStatus' } }, |
|
|
|
|
|
{ width: 150, title: '最后跟进时间', dataIndex: 'finalFollowTime' }, |
|
|
|
|
|
{ width: 150, title: '最后到店时间', dataIndex: 'finalArrivalTime' }, |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
export const tableFormSchema: FormSchema[] = [ |
|
|
export const tableFormSchema: FormSchema[] = [ |
|
|
|