Browse Source

no message

master
xpz2018 8 months ago
parent
commit
1e36ac59a2
2 changed files with 16 additions and 10 deletions
  1. 25
      src/views/market/appointment/data.ts
  2. 1
      src/views/market/task/data.ts

25
src/views/market/appointment/data.ts

@ -1,12 +1,12 @@
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[] = [
{ 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 }) => {
return maritalList.find((find) => find.value === text)?.label
},
@ -16,9 +16,16 @@ export const tableColumns: BasicColumn[] = [
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[] = [

1
src/views/market/task/data.ts

@ -20,7 +20,6 @@ export const tableColumns: BasicColumn[] = [
{ width: 100, title: '服务次数', dataIndex: 'numberOfServices' },
{ width: 100, title: '剩余次数', dataIndex: 'numberOfRemaining' },
{ title: '任务交付凭证', dataIndex: 'deliveryVoucherList', slots: { customRender: 'deliveryVoucherList' } },
]
export const tableFormSchema: FormSchema[] = [

Loading…
Cancel
Save