From 6fd28971011d833d8f9fdd6fab05dfdba5cce68e Mon Sep 17 00:00:00 2001 From: zjl Date: Fri, 13 Dec 2024 10:32:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=86=E7=B1=BB=E3=80=81?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E3=80=81=E5=AD=97=E5=85=B8=E3=80=81=E5=AE=9A?= =?UTF-8?q?=E6=97=B6=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/content/category/index.vue | 2 +- src/views/content/layoutItem/layout/notice/columns.ts | 6 +++--- src/views/content/tag/columns.ts | 2 +- src/views/data/dict/columnsItem.ts | 6 +++--- src/views/monitor/job/log/columns.ts | 10 ++++++++-- src/views/monitor/job/log/edit.vue | 2 +- 6 files changed, 17 insertions(+), 11 deletions(-) diff --git a/src/views/content/category/index.vue b/src/views/content/category/index.vue index 61f8a55..051592f 100644 --- a/src/views/content/category/index.vue +++ b/src/views/content/category/index.vue @@ -25,7 +25,7 @@ > - + diff --git a/src/views/content/layoutItem/layout/notice/columns.ts b/src/views/content/layoutItem/layout/notice/columns.ts index a2b7fdd..0752500 100644 --- a/src/views/content/layoutItem/layout/notice/columns.ts +++ b/src/views/content/layoutItem/layout/notice/columns.ts @@ -3,12 +3,12 @@ import { ElTag } from 'element-plus'; export const columns2 = [ { - label: '标题', + label: '通知标题', prop: 'title', width: 300, }, { - label: '类型', + label: '通知类型', prop: 'type', // render(record) { // return h('span', record.row.type === 1 ? '通知' : '公告'); @@ -26,7 +26,7 @@ export const columns2 = [ }, }, { - label: '状态', + label: '通知状态', prop: 'status', // render(record) { // return h('span', record.row.status === 1 ? '正常' : '关闭') diff --git a/src/views/content/tag/columns.ts b/src/views/content/tag/columns.ts index 09ea0f3..0b61d3d 100644 --- a/src/views/content/tag/columns.ts +++ b/src/views/content/tag/columns.ts @@ -14,7 +14,7 @@ export const columns = [ { label: '标签名称', prop: 'name', - width: 100, + width: 200, }, { label: '排序', diff --git a/src/views/data/dict/columnsItem.ts b/src/views/data/dict/columnsItem.ts index 56e903c..33ce49d 100644 --- a/src/views/data/dict/columnsItem.ts +++ b/src/views/data/dict/columnsItem.ts @@ -11,17 +11,17 @@ export const columns = [ { label: '字典名称', prop: 'name', - width: 100, + width: 150, }, { label: '字典项值', prop: 'value', - width: 100, + width: 150, }, { label: '字典编码', prop: 'dictCode', - width: 100, + width: 150, }, { label: '排序', diff --git a/src/views/monitor/job/log/columns.ts b/src/views/monitor/job/log/columns.ts index 626c1eb..f37a1e6 100644 --- a/src/views/monitor/job/log/columns.ts +++ b/src/views/monitor/job/log/columns.ts @@ -8,24 +8,28 @@ export const columns = [ { label: 'ID', prop: 'id', + fixed: 'left', + width: 100, }, { label: '任务名称', prop: 'jobName', + width: 200, }, { label: '任务组名', prop: 'jobGroup', + width: 100, }, { label: '任务触发器', prop: 'jobTrigger', - width: 150, + width: 200, }, { label: '任务日志信息', prop: 'jobMessage', - width: 150, + width: 300, }, { label: '执行表达式', @@ -35,6 +39,7 @@ export const columns = [ { label: '执行状态', prop: 'status', + width: 100, render(record) { let typeText = ''; switch (record.row.status) { @@ -74,5 +79,6 @@ export const columns = [ { label: '任务执行耗时', prop: 'consumeTime', + width: 120, }, ]; diff --git a/src/views/monitor/job/log/edit.vue b/src/views/monitor/job/log/edit.vue index b778314..0bdeb66 100644 --- a/src/views/monitor/job/log/edit.vue +++ b/src/views/monitor/job/log/edit.vue @@ -33,7 +33,7 @@ {{ formData.endTime }} - + {{ formData.createTime }} {{ formData.consumeTime }}ms