From 8ca57f2d3def2082454212ba9586146e7a246f7a Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期二, 01 九月 2026 16:33:20 +0800
Subject: [PATCH] fix(mes): 设计任务详情提交审批后默认显示设计资料页签,修复下方内容空白

---
 src/views/system/notify/my/data.ts |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/views/system/notify/my/data.ts b/src/views/system/notify/my/data.ts
index b31d437..a2789cb 100644
--- a/src/views/system/notify/my/data.ts
+++ b/src/views/system/notify/my/data.ts
@@ -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