From bc79e1fae76dffb3cbc3ddfa9ba23e66e150d098 Mon Sep 17 00:00:00 2001
From: zhang_nuo <zhang_12370@163.com>
Date: 星期五, 28 八月 2026 23:18:27 +0800
Subject: [PATCH] fix: 调整多个业务模块的页面展示与字段

---
 src/views/collaborativeApproval/rulesRegulationsManagement/index.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/views/collaborativeApproval/rulesRegulationsManagement/index.vue b/src/views/collaborativeApproval/rulesRegulationsManagement/index.vue
index 73d0eb0..84fadf2 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="鍙戝竷鏃堕棿">{{ formatDate(currentRegulationDetail.createTime) }}</el-descriptions-item>
         </el-descriptions>
         <div class="mt-20">
           <h4>鍒跺害鍐呭</h4>
@@ -242,6 +242,10 @@
     addRuleFile,
   } from "@/api/collaborativeApproval/rulesRegulationsManagementFile.js";
   import PIMTable from "@/components/PIMTable/PIMTable.vue";
+  import { parseDate } from "@/utils/ruoyi";
+
+  // 鏃ユ湡鍥炴樉鏍煎紡鍖栵紙YYYY-MM-DD锛�
+  const formatDate = value => parseDate(value) || "-";
 
   // 鍝嶅簲寮忔暟鎹�
   const operationType = ref("add");
@@ -316,7 +320,7 @@
     },
     { label: "鐗堟湰", prop: "version", width: 120 },
     { label: "鍙戝竷浜�", prop: "createUserName", width: 120 },
-    { label: "鍙戝竷鏃堕棿", prop: "createTime", width: 180 },
+    { label: "鍙戝竷鏃堕棿", prop: "createTime", width: 180,dataType: "date" },
     {
       label: "鐘舵��",
       prop: "status",

--
Gitblit v1.9.3