From 1bc5d77b95c15e5e23940402352da36a32c4547a Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期六, 10 十月 2026 11:55:03 +0800
Subject: [PATCH] fix: 优化日期格式化显示逻辑
---
src/views/safeProduction/dangerInvestigation/index.vue | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/views/safeProduction/dangerInvestigation/index.vue b/src/views/safeProduction/dangerInvestigation/index.vue
index 49965e9..67733f1 100644
--- a/src/views/safeProduction/dangerInvestigation/index.vue
+++ b/src/views/safeProduction/dangerInvestigation/index.vue
@@ -69,11 +69,11 @@
show-overflow-tooltip />
<el-table-column label="涓婃姤鏃堕棿"
prop="createTime"
- show-overflow-tooltip />
+ show-overflow-tooltip :formatter="$d" />
<el-table-column label="鏁存敼瀹屾垚鏈熼檺"
prop="rectifyTime"
width="120"
- show-overflow-tooltip />
+ show-overflow-tooltip :formatter="$d" />
<el-table-column label="鏁存敼璐d换浜�"
prop="rectifyUserName"
width="120"
@@ -89,7 +89,7 @@
<el-table-column label="瀹為檯鏁存敼瀹屾垚鏃堕棿"
prop="rectifyActualTime"
width="120"
- show-overflow-tooltip />
+ show-overflow-tooltip :formatter="$d" />
<el-table-column label="楠屾敹鎰忚"
prop="verifyRemark"
width="120"
@@ -97,7 +97,7 @@
<el-table-column label="楠屾敹鏃堕棿"
prop="verifyTime"
width="120"
- show-overflow-tooltip />
+ show-overflow-tooltip :formatter="$d" />
<el-table-column label="楠屾敹缁撴灉"
prop="verifyResult"
width="120"
@@ -296,7 +296,7 @@
<span class="detail-title">{{ form.createUserName }}</span>
</el-descriptions-item>
<el-descriptions-item label="涓婃姤鏃堕棿">
- <span class="detail-title">{{ form.createTime }}</span>
+ <span class="detail-title">{{ $d(form.createTime) }}</span>
</el-descriptions-item>
<el-descriptions-item label="鏁存敼璐d换浜�">
<span class="detail-title">{{ form.rectifyUserName }}</span>
@@ -305,7 +305,7 @@
<span class="detail-title">{{ form.rectifyUserMobile }}</span>
</el-descriptions-item>
<el-descriptions-item label="鏁存敼瀹屾垚鏈熼檺">
- <span class="detail-title">{{ form.rectifyTime }}</span>
+ <span class="detail-title">{{ $d(form.rectifyTime) }}</span>
</el-descriptions-item>
</el-descriptions>
<div class="classtitle"
@@ -320,7 +320,7 @@
<span class="detail-title">{{ form2.rectifyMeasures }}</span>
</el-descriptions-item>
<el-descriptions-item label="瀹為檯鏁存敼瀹屾垚鏃堕棿">
- <span class="detail-title">{{ form2.rectifyActualTime }}</span>
+ <span class="detail-title">{{ $d(form2.rectifyActualTime) }}</span>
</el-descriptions-item>
</el-descriptions>
<div class="classtitle"
--
Gitblit v1.9.3