From b77b30a7a58bfb2e6298391afc291c900fbc9c0a Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期六, 15 八月 2026 18:18:43 +0800
Subject: [PATCH] fix: 日期格式化

---
 src/views/equipmentManagement/upkeep/index.vue |   20 +++-----------------
 1 files changed, 3 insertions(+), 17 deletions(-)

diff --git a/src/views/equipmentManagement/upkeep/index.vue b/src/views/equipmentManagement/upkeep/index.vue
index 52ad842..7d1cdd2 100644
--- a/src/views/equipmentManagement/upkeep/index.vue
+++ b/src/views/equipmentManagement/upkeep/index.vue
@@ -63,12 +63,6 @@
             }"
                     @selection-change="handleScheduledSelectionChange"
                     @pagination="changeScheduledPage">
-            <template #isActiveRef="{ row }">
-              <el-tag v-if="row.isActive === 1"
-                      type="success">寮�鍚�</el-tag>
-              <el-tag v-else
-                      type="info">鍏抽棴</el-tag>
-            </template>
             <template #statusRef="{ row }">
               <el-tag v-if="row.status === 1"
                       type="success">鍚敤</el-tag>
@@ -314,7 +308,7 @@
     {
       prop: "frequencyType",
       label: "棰戞",
-      minWidth: 50,
+      minWidth: 150,
       // PIMTable 浣跨敤鐨勬槸 formatData锛岃�屼笉鏄� Element-Plus 鐨� formatter
       formatData: cell =>
         ({
@@ -327,7 +321,7 @@
     {
       prop: "frequencyDetail",
       label: "寮�濮嬫棩鏈熶笌鏃堕棿",
-      minWidth: 130,
+      minWidth: 150,
       // 鍚屾牱鏀圭敤 formatData锛孭IMTable 鍐呴儴浼氭妸鍗曞厓鏍煎�间紶杩涙潵
       formatData: cell => {
         if (typeof cell !== "string") return "";
@@ -348,14 +342,6 @@
         );
       },
     },
-    {
-      prop: "isActive",
-      label: "瀹氭椂浠诲姟",
-      dataType: "slot",
-      slot: "isActiveRef",
-      align: "center",
-      minWidth: 100,
-    },
     { prop: "maintenancePerson", label: "淇濆吇浜�", minWidth: 100 },
     { prop: "registrant", label: "鐧昏浜�", minWidth: 100 },
     {
@@ -371,7 +357,7 @@
       dataType: "slot",
       slot: "operation",
       align: "center",
-      width: "150px",
+      width: "200px",
     },
   ]);
 

--
Gitblit v1.9.3