From 48e9b7d100ddd91a13e79e09bb5d992a62ffd026 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 13 十月 2026 14:34:16 +0800
Subject: [PATCH] fix(crm): 统一日期格式化并添加客户公海配置选项

---
 src/views/crm/statistics/portrait/data.ts |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/views/crm/statistics/portrait/data.ts b/src/views/crm/statistics/portrait/data.ts
index 91ae290..b443f75 100644
--- a/src/views/crm/statistics/portrait/data.ts
+++ b/src/views/crm/statistics/portrait/data.ts
@@ -1,9 +1,9 @@
 import type { VbenFormSchema } from '#/adapter/form';
 import type { VxeTableGridOptions } from '#/adapter/vxe-table';
 
-import { DICT_TYPE } from '../../../../packages/constants/src';
-import { useUserStore } from '../../../../packages/stores/src';
-import { beginOfDay, endOfDay, formatDateTime, handleTree } from '../../../../packages/utils/src';
+import { DICT_TYPE } from '@vben/constants';
+import { useUserStore } from '@vben/stores';
+import { beginOfDay, endOfDay, formatDateTime, handleTree } from '@vben/utils';
 
 import { getSimpleDeptList } from '#/api/system/dept';
 import { getSimpleUserList } from '#/api/system/user';
@@ -39,6 +39,7 @@
       component: 'RangePicker',
       componentProps: {
         ...getRangePickerDefaultProps(),
+        format: 'YYYY-MM-DD',
       },
       defaultValue: [
         formatDateTime(beginOfDay(new Date(Date.now() - 3600 * 1000 * 24 * 7))),

--
Gitblit v1.9.3