| | |
| | | |
| | | import { markRaw } from 'vue'; |
| | | |
| | | import { DICT_TYPE } from '..\..\..\packages\constants\src'; |
| | | import { getDictOptions } from '..\..\..\packages\effects\hooks\src'; |
| | | import { useUserStore } from '..\..\..\packages\stores\src'; |
| | | import { DICT_TYPE } from '@vben/constants'; |
| | | import { getDictOptions } from '@vben/hooks'; |
| | | import { useUserStore } from '@vben/stores'; |
| | | |
| | | import { getSimpleUserList } from '#/api/system/user'; |
| | | import { AreaCascader } from '#/components/area'; |
| | |
| | | component: 'DatePicker', |
| | | componentProps: { |
| | | showTime: true, |
| | | format: 'YYYY-MM-DD HH:mm:ss', |
| | | valueFormat: 'x', |
| | | format: 'YYYY-MM-DD', |
| | | valueFormat: 'YYYY-MM-DD HH:mm:ss', |
| | | placeholder: '请选择下次联系时间', |
| | | }, |
| | | }, |
| | |
| | | component: 'RangePicker', |
| | | componentProps: { |
| | | ...getRangePickerDefaultProps(), |
| | | format: 'YYYY-MM-DD', |
| | | allowClear: true, |
| | | placeholder: ['开始日期', '结束日期'], |
| | | }, |
| | |
| | | { |
| | | field: 'contactNextTime', |
| | | title: '下次联系时间', |
| | | formatter: 'formatDateTime', |
| | | formatter: 'formatDate', |
| | | minWidth: 180, |
| | | }, |
| | | { |
| | |
| | | { |
| | | field: 'contactLastTime', |
| | | title: '最后跟进时间', |
| | | formatter: 'formatDateTime', |
| | | formatter: 'formatDate', |
| | | minWidth: 180, |
| | | }, |
| | | { |
| | |
| | | { |
| | | field: 'updateTime', |
| | | title: '更新时间', |
| | | formatter: 'formatDateTime', |
| | | formatter: 'formatDate', |
| | | minWidth: 180, |
| | | }, |
| | | { |
| | | field: 'createTime', |
| | | title: '创建时间', |
| | | formatter: 'formatDateTime', |
| | | formatter: 'formatDate', |
| | | minWidth: 180, |
| | | }, |
| | | { |