From e4debe98827b39f521b8461ac184ee793a026fdd Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 28 九月 2026 23:30:57 +0800
Subject: [PATCH] feat(utils): 添加日期格式化工具函数并统一应用到各个组件
---
src/views/collaborativeApproval/rulesRegulationsManagement/index.vue | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/views/collaborativeApproval/rulesRegulationsManagement/index.vue b/src/views/collaborativeApproval/rulesRegulationsManagement/index.vue
index 4699820..c43fd8d 100644
--- a/src/views/collaborativeApproval/rulesRegulationsManagement/index.vue
+++ b/src/views/collaborativeApproval/rulesRegulationsManagement/index.vue
@@ -144,7 +144,7 @@
<el-descriptions-item label="鍒嗙被">{{ getCategoryText(currentRegulationDetail.category) }}</el-descriptions-item>
<el-descriptions-item label="鐗堟湰">{{ currentRegulationDetail.version }}</el-descriptions-item>
<el-descriptions-item label="鍙戝竷浜�">{{ currentRegulationDetail.createUserName }}</el-descriptions-item>
- <el-descriptions-item label="鍙戝竷鏃堕棿">{{ currentRegulationDetail.createTime }}</el-descriptions-item>
+ <el-descriptions-item label="鍙戝竷鏃堕棿">{{ dateOnly(currentRegulationDetail.createTime) }}</el-descriptions-item>
</el-descriptions>
<div class="mt-20">
<h4>鍒跺害鍐呭</h4>
@@ -169,7 +169,8 @@
width="100" />
<el-table-column prop="updateTime"
label="鏇存柊鏃堕棿"
- width="180" />
+ width="180"
+ :formatter="formatDateColumn" />
<el-table-column prop="createUserName"
label="鏇存柊浜�"
width="120" />
@@ -197,10 +198,12 @@
width="150" />
<el-table-column prop="createTime"
label="闃呰鏃堕棿"
- width="180" />
+ width="180"
+ :formatter="formatDateColumn" />
<el-table-column prop="confirmTime"
label="纭鏃堕棿"
- width="180" />
+ width="180"
+ :formatter="formatDateColumn" />
<el-table-column prop="status"
label="鐘舵��"
width="100">
--
Gitblit v1.9.3