From 5e851678cc02257bbbd179446de36082430ca5bc Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期一, 13 四月 2026 15:12:04 +0800
Subject: [PATCH] feat(MES): 添加Mes_Log扩展逻辑

---
 Code/WMS/WIDESEA_WMSClient/src/views/system/Sys_Log.vue |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSClient/src/views/system/Sys_Log.vue b/Code/WMS/WIDESEA_WMSClient/src/views/system/Sys_Log.vue
index 8ff9d21..a03baa0 100644
--- a/Code/WMS/WIDESEA_WMSClient/src/views/system/Sys_Log.vue
+++ b/Code/WMS/WIDESEA_WMSClient/src/views/system/Sys_Log.vue
@@ -19,7 +19,7 @@
   </view-grid>
 </template>
   <script>
-import extend from "@/extension/system/Sys_Log.js";
+import extend from "@/extension/system/Sys_Log.jsx";
 import { ref, defineComponent } from "vue";
 export default defineComponent({
   setup() {
@@ -86,15 +86,29 @@
         field: "requestParam",
         title: "璇锋眰鍙傛暟",
         type: "string",
-        width: 100,
+        width: 150,
         align: "left",
+        formatter: (row) => {
+          if (!row.requestParam) return '-';
+          const preview = row.requestParam.length > 50
+            ? row.requestParam.substring(0, 50) + '...'
+            : row.requestParam;
+          return `<span style="color: #409EFF; cursor: pointer;">${preview}</span>`;
+        }
       },
       {
         field: "responseParam",
         title: "鍝嶅簲鍙傛暟",
         type: "string",
-        width: 100,
+        width: 150,
         align: "left",
+        formatter: (row) => {
+          if (!row.responseParam) return '-';
+          const preview = row.responseParam.length > 50
+            ? row.responseParam.substring(0, 50) + '...'
+            : row.responseParam;
+          return `<span style="color: #409EFF; cursor: pointer;">${preview}</span>`;
+        }
       },
       {
         field: "url",

--
Gitblit v1.9.3