| | |
| | | |
| | | import { FormProps, BasicColumn } from '@/components/Table'; |
| | | import {treeOptionsListApi} from "@/api/demo/tree"; |
| | | import {getAdvanceSchema} from "@/views/customer/components/tableData"; |
| | | |
| | | export function getEditCellColumns(): BasicColumn[] { |
| | | return [ |
| | |
| | | dataIndex: 'cluesName', |
| | | sorter: true, |
| | | width: 200 |
| | | }, |
| | | { |
| | | title: '存档时间', |
| | | dataIndex: 'archiveTime', |
| | | sorter: true, |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: '状态id', |
| | | 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: '公司网址', |
| | |
| | | }, |
| | | width: 200, |
| | | }, |
| | | |
| | | { |
| | | title: '存档时间', |
| | | dataIndex: 'archiveTime', |
| | | sorter: true, |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: '状态id', |
| | | 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', |
| | |
| | | |
| | | |
| | | |
| | | 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); |
| | | // }, |
| | | // }, |
| | | // }, |
| | | // ], |
| | | // }; |
| | | // } |