From b5c1614fe473330ceca8b7cff0f1802e19bd5039 Mon Sep 17 00:00:00 2001 From: Sanakey <714737083@qq.com> Date: 星期一, 30 九月 2024 13:39:08 +0800 Subject: [PATCH] feat:添加部分线索接口,完善客户相关页面 --- src/views/clues/components/tableData.tsx | 198 +++++++++++++++++++++++++----------------------- 1 files changed, 103 insertions(+), 95 deletions(-) diff --git a/src/views/clues/components/tableData.tsx b/src/views/clues/components/tableData.tsx index 82f1766..7642bd3 100644 --- a/src/views/clues/components/tableData.tsx +++ b/src/views/clues/components/tableData.tsx @@ -1,7 +1,6 @@ import { FormProps, BasicColumn } from '@/components/Table'; import {treeOptionsListApi} from "@/api/demo/tree"; -import {getAdvanceSchema} from "@/views/customer/components/tableData"; export function getEditCellColumns(): BasicColumn[] { return [ @@ -11,82 +10,6 @@ dataIndex: 'cluesName', sorter: true, width: 200 - }, - { - title: '瀛樻。鏃堕棿', - dataIndex: 'archiveTime', - sorter: true, - width: 200, - }, - { - title: '鐘舵�乮d', - dataIndex: 'statusId', - width: 200, - }, - { - title: '鐘舵�佸唴瀹�', - dataIndex: 'status', - width: 200, - }, - { - title: '璺熻繘鏃堕棿', - dataIndex: 'followUpTime', - width: 200, - }, - { - title: '鏃犳晥绫诲瀷', - dataIndex: 'failType', - width: 200, - }, - { - title: '鏃犳晥鐘舵��', - dataIndex: 'failStatus', - width: 200, - }, - { - title: '鏃犳晥鐘舵�佸唴瀹�', - dataIndex: 'failStatusName', - width: 200, - }, - { - title: '鏃犳晥鍘熷洜', - dataIndex: 'failReason', - width: 200, - }, - { - title: '杩涘叆绉佹捣鏃堕棿', - dataIndex: 'privateTime', - width: 200, - }, - { - title: '杩涘叆鍏捣鏃堕棿', - dataIndex: 'publicTime', - width: 200, - }, - { - title: '鏄惁涓哄叕娴风嚎绱�', - dataIndex: 'isPublic', - width: 200, - }, - { - title: '璇勫垎', - dataIndex: 'star', - width: 200, - }, - { - title: '涓嬫璺熻繘鏃堕棿', - dataIndex: 'nextFollowUpTime', - width: 200, - }, - { - title: '鏄惁鏈夐噸澶嶅唴瀹�', - dataIndex: 'duplicateFlag', - width: 200, - }, - { - title: '鏍囩', - dataIndex: 'tagList', - width: 200, }, { title: '鍏徃缃戝潃', @@ -231,7 +154,82 @@ }, width: 200, }, - + { + title: '瀛樻。鏃堕棿', + dataIndex: 'archiveTime', + sorter: true, + width: 200, + }, + { + title: '鐘舵�乮d', + dataIndex: 'statusId', + width: 200, + }, + { + title: '鐘舵�佸唴瀹�', + dataIndex: 'status', + width: 200, + }, + { + title: '璺熻繘鏃堕棿', + dataIndex: 'followUpTime', + width: 200, + }, + { + title: '鏃犳晥绫诲瀷', + dataIndex: 'failType', + width: 200, + }, + { + title: '鏃犳晥鐘舵��', + dataIndex: 'failStatus', + width: 200, + }, + { + title: '鏃犳晥鐘舵�佸唴瀹�', + dataIndex: 'failStatusName', + width: 200, + }, + { + title: '鏃犳晥鍘熷洜', + dataIndex: 'failReason', + width: 200, + }, + { + title: '杩涘叆绉佹捣鏃堕棿', + dataIndex: 'privateTime', + width: 200, + }, + { + title: '杩涘叆鍏捣鏃堕棿', + dataIndex: 'publicTime', + width: 200, + }, + { + title: '鏄惁涓哄叕娴风嚎绱�', + dataIndex: 'isPublic', + width: 200, + }, + { + title: '璇勫垎', + dataIndex: 'star', + width: 200, + }, + { + title: '涓嬫璺熻繘鏃堕棿', + dataIndex: 'nextFollowUpTime', + width: 200, + }, + { + title: '鏄惁鏈夐噸澶嶅唴瀹�', + dataIndex: 'duplicateFlag', + width: 200, + }, + { + title: '鏍囩', + dataIndex: 'tagList', + width: 200, + }, { title: '杩滅▼涓嬫媺鏍�', dataIndex: 'name8', @@ -250,20 +248,30 @@ -export function getFormConfig(): Partial<FormProps> { - return { - labelWidth: 100, - schemas: [ - ...getAdvanceSchema(1), - { - field: `field11`, - label: ``, - slot: 'custom', - colProps: { - xl: 12, - xxl: 8, - }, - }, - ], - }; -} +// export function getFormConfig(): Partial<FormProps> { +// return { +// labelWidth: 100, +// layout: 'horizontal', +// rowProps: { +// justify: 'end', +// }, +// showResetButton: false, +// showSubmitButton: false, +// schemas: [ +// { +// field: `cluesKeyword`, +// label: `鎼滅储`, +// component: 'InputSearch', +// colProps: { +// xl: 12, +// xxl: 8, +// }, +// componentProps: { +// onSearch: (value) => { +// console.log(value); +// }, +// }, +// }, +// ], +// }; +// } -- Gitblit v1.8.0