From 1e36ac59a2710d6d791c277c0978745493cc39ed Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Sat, 26 Jul 2025 11:23:45 +0800 Subject: [PATCH] no message --- src/views/market/appointment/data.ts | 25 ++++++++++++++++--------- src/views/market/task/data.ts | 1 - 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/src/views/market/appointment/data.ts b/src/views/market/appointment/data.ts index 4c9ce46..703d982 100644 --- a/src/views/market/appointment/data.ts +++ b/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[] = [ diff --git a/src/views/market/task/data.ts b/src/views/market/task/data.ts index 568727d..c37b403 100644 --- a/src/views/market/task/data.ts +++ b/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[] = [