From 032d0578bb82ca595b0316adeb34d0f71cfd887d Mon Sep 17 00:00:00 2001
From: TsMask <340112800@qq.com>
Date: Fri, 25 Apr 2025 16:18:40 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E5=BA=A6=E4=BB=BB=E5=8A=A1?=
=?UTF-8?q?=E5=8F=82=E6=95=B0=E6=9C=80=E5=A4=A7=E8=BE=93=E5=85=A52000?=
=?UTF-8?q?=E5=AD=97=E7=AC=A6=E3=80=82=E6=97=A5=E5=BF=97=E6=9F=A5=E7=9C=8B?=
=?UTF-8?q?id=E9=94=99=E8=AF=AF=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/monitor/job/index.vue | 2 +-
src/views/monitor/job/log.vue | 26 +++++++++++++-------------
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/views/monitor/job/index.vue b/src/views/monitor/job/index.vue
index 534da650..540615d2 100644
--- a/src/views/monitor/job/index.vue
+++ b/src/views/monitor/job/index.vue
@@ -1100,7 +1100,7 @@ onMounted(() => {
diff --git a/src/views/monitor/job/log.vue b/src/views/monitor/job/log.vue
index 1ef1a221..b7cb4c43 100644
--- a/src/views/monitor/job/log.vue
+++ b/src/views/monitor/job/log.vue
@@ -118,8 +118,8 @@ let tableState: TabeStateType = reactive({
let tableColumns: ColumnsType = [
{
title: t('common.rowId'),
- dataIndex: 'jobLogId',
- align: 'center',
+ dataIndex: 'logId',
+ align: 'left',
width: 100,
},
{
@@ -132,7 +132,7 @@ let tableColumns: ColumnsType = [
title: t('views.monitor.jobLog.jobGroup'),
dataIndex: 'jobGroup',
key: 'jobGroup',
- align: 'center',
+ align: 'left',
width: 100,
},
{
@@ -142,17 +142,17 @@ let tableColumns: ColumnsType = [
width: 100,
},
{
- title: t('views.monitor.jobLog.statusFlag'),
+ title: t('views.monitor.jobLog.status'),
dataIndex: 'statusFlag',
key: 'statusFlag',
- align: 'center',
+ align: 'left',
width: 100,
},
{
title: t('views.monitor.jobLog.createTime'),
dataIndex: 'createTime',
- align: 'center',
- width: 150,
+ align: 'left',
+ width: 200,
customRender(opt) {
if (+opt.value <= 0) return '';
return parseDateToStr(+opt.value);
@@ -170,7 +170,7 @@ let tableColumns: ColumnsType = [
},
{
title: t('common.operate'),
- key: 'jobLogId',
+ key: 'logId',
align: 'left',
},
];
@@ -229,7 +229,7 @@ let modalState: ModalStateType = reactive({
open: false,
title: '任务日志',
from: {
- jobLogId: undefined,
+ logId: undefined,
jobName: '',
jobGroup: 'DEFAULT',
invokeTarget: '',
@@ -588,7 +588,7 @@ onMounted(() => {
{
}}
-
+
{{ t('common.viewText') }}
@@ -644,8 +644,8 @@ onMounted(() => {
-
- {{ modalState.from.jobLogId }}
+
+ {{ modalState.from.logId }}