From 707512d5519e701ddcaf0912a768929998e22e58 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 28 十月 2026 15:27:23 +0800
Subject: [PATCH] fix(date): 页面展示的时间统一只到年月日
---
src/views/productionManagement/safetyMonitoring/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/productionManagement/safetyMonitoring/index.vue b/src/views/productionManagement/safetyMonitoring/index.vue
index 12922e7..60285a7 100644
--- a/src/views/productionManagement/safetyMonitoring/index.vue
+++ b/src/views/productionManagement/safetyMonitoring/index.vue
@@ -132,7 +132,7 @@
<h4>绯荤粺鏃ュ織</h4>
<div class="log-container">
<div class="log-item" v-for="log in systemLogs" :key="log.id">
- <span class="log-time">{{ log.time }}</span>
+ <span class="log-time">{{ formatDateOnly(log.time) }}</span>
<span class="log-content">{{ log.content }}</span>
</div>
</div>
@@ -204,7 +204,7 @@
<div class="blockchain-details">
<el-descriptions :column="2" border>
<el-descriptions-item label="浜嬩欢ID">{{ currentEvent.id }}</el-descriptions-item>
- <el-descriptions-item label="鏃堕棿鎴�">{{ currentEvent.timestamp }}</el-descriptions-item>
+ <el-descriptions-item label="鏃堕棿鎴�">{{ formatDateOnly(currentEvent.timestamp) }}</el-descriptions-item>
<el-descriptions-item label="浣嶇疆">{{ currentEvent.location }}</el-descriptions-item>
<el-descriptions-item label="浜嬩欢绫诲瀷">{{ currentEvent.type }}</el-descriptions-item>
</el-descriptions>
--
Gitblit v1.9.3