From 1160de5142cd2bc08ebc61c247a4857f0c4ab7f1 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期五, 22 五月 2026 10:45:11 +0800
Subject: [PATCH] 特色功能:丰富报销清单并添加审批流程详情——新增功能以丰富报销清单行内容,为费用和差旅报销提供审批流程详情。——引入新的实用函数来处理审批流程节点和汇总信息。——更新组件以利用丰富后的审批流程数据,从而更好地展示审批进度。
---
src/views/officeProcessAutomation/EnterpriseNews/news-manage/enterpriseNewsMappers.js | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/views/officeProcessAutomation/EnterpriseNews/news-manage/enterpriseNewsMappers.js b/src/views/officeProcessAutomation/EnterpriseNews/news-manage/enterpriseNewsMappers.js
index 5ef1a19..27cb9bc 100644
--- a/src/views/officeProcessAutomation/EnterpriseNews/news-manage/enterpriseNewsMappers.js
+++ b/src/views/officeProcessAutomation/EnterpriseNews/news-manage/enterpriseNewsMappers.js
@@ -2,7 +2,7 @@
createEmptyForm,
normalizeEnterpriseNewsStatus,
publishStatusLabel,
- PUBLISH_STATUS_OPTIONS,
+ publishStatusTag,
} from "./enterpriseNewsUtils.js";
/** formPayload 涓瓨鏀惧畬鏁翠紒涓氭柊闂讳笟鍔℃暟鎹殑閿紙瀹℃壒瀹炰緥淇濆瓨鐢級 */
@@ -204,10 +204,7 @@
width: 100,
dataType: "tag",
formatData: (v) => publishStatusLabel(v),
- formatType: (v) => {
- const hit = PUBLISH_STATUS_OPTIONS.find((x) => x.value === v);
- return hit?.tag || "info";
- },
+ formatType: (v) => publishStatusTag(v),
},
{ label: "鍒涘缓浜�", prop: "publisherName", width: 110 },
{ label: "鍒涘缓鏃堕棿", prop: "createTime", width: 170 },
--
Gitblit v1.9.3