From dcde4b33fa739b09486c39faade9ed19b29a6d7a Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 03 八月 2026 14:58:35 +0800
Subject: [PATCH] feat(srm): 优化供应商选择组件功能
---
src/views/system/notify/my/data.ts | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/src/views/system/notify/my/data.ts b/src/views/system/notify/my/data.ts
index 39590f2..a2789cb 100644
--- a/src/views/system/notify/my/data.ts
+++ b/src/views/system/notify/my/data.ts
@@ -4,9 +4,9 @@
import { h } from 'vue';
-import { DICT_TYPE } from '..\..\..\..\packages\constants\src';
-import { getDictOptions } from '..\..\..\..\packages\effects\hooks\src';
-import { formatDateTime } from '..\..\..\..\packages\utils\src';
+import { DICT_TYPE } from '@vben/constants';
+import { getDictOptions } from '@vben/hooks';
+import { formatDateTime } from '@vben/utils';
import { DictTag } from '#/components/dict-tag';
import { getRangePickerDefaultProps } from '#/utils';
@@ -131,7 +131,19 @@
},
{
field: 'templateContent',
+ label: '涓婚',
+ },
+ {
+ field: 'templateParams',
label: '娑堟伅鍐呭',
+ render: (val) => {
+ try {
+ const params = typeof val === 'string' ? JSON.parse(val) : val;
+ return params?.content || '-';
+ } catch {
+ return String(val);
+ }
+ },
},
];
}
--
Gitblit v1.9.3