云
昨天 48e9b7d100ddd91a13e79e09bb5d992a62ffd026
src/views/crm/followup/data.ts
@@ -6,7 +6,7 @@
import { DICT_TYPE } from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
import { formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { getBusinessPageByCustomer } from '#/api/crm/business';
import { getContactPageByCustomer } from '#/api/crm/contact';
@@ -48,7 +48,7 @@
      component: 'DatePicker',
      componentProps: {
        showTime: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
        placeholder: '请选择下次联系时间',
      },
@@ -128,7 +128,7 @@
    {
      field: 'createTime',
      title: '创建时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    { field: 'creatorName', title: '跟进人' },
    {
@@ -143,7 +143,7 @@
    {
      field: 'nextTime',
      title: '下次联系时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'contacts',
@@ -179,7 +179,7 @@
    {
      field: 'contactLastTime',
      label: '最后跟进时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'creatorName',
@@ -188,12 +188,12 @@
    {
      field: 'createTime',
      label: '创建时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'updateTime',
      label: '更新时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
  ];
}