From ba9c1994b95624b88ef606ec00394990d8f2009f Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期三, 15 四月 2026 19:41:27 +0800
Subject: [PATCH] refactor(TaskService): 重构任务服务代码结构,拆分文件并优化逻辑
---
Code/WCS/WIDESEAWCS_Client/src/views/system/Sys_Log.vue | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/Code/WCS/WIDESEAWCS_Client/src/views/system/Sys_Log.vue b/Code/WCS/WIDESEAWCS_Client/src/views/system/Sys_Log.vue
index 84602fd..fde37f0 100644
--- a/Code/WCS/WIDESEAWCS_Client/src/views/system/Sys_Log.vue
+++ b/Code/WCS/WIDESEAWCS_Client/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() {
@@ -138,6 +138,13 @@
type: "string",
width: 120,
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",
@@ -145,6 +152,13 @@
type: "string",
width: 120,
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: "exceptionInfo",
--
Gitblit v1.9.3