diff --git a/src/views/monitor/job/index.vue b/src/views/monitor/job/index.vue index 1cac34dc..f7ef985d 100644 --- a/src/views/monitor/job/index.vue +++ b/src/views/monitor/job/index.vue @@ -109,39 +109,45 @@ let tableColumns: ColumnsType = [ title: t('views.monitor.job.jobName'), dataIndex: 'jobName', align: 'left', + width: 200, }, { title: t('views.monitor.job.jobGroup'), dataIndex: 'jobGroup', key: 'jobGroup', align: 'center', + width: 100, }, { title: t('views.monitor.job.invokeTarget'), dataIndex: 'invokeTarget', align: 'left', + width: 100, }, { title: t('views.monitor.job.cronExpression'), dataIndex: 'cronExpression', align: 'left', + width: 100, }, { title: t('views.monitor.job.status'), dataIndex: 'status', key: 'status', align: 'center', + width: 100, }, { title: t('views.monitor.job.saveLog'), dataIndex: 'saveLog', key: 'saveLog', align: 'center', + width: 100, }, { title: t('common.operate'), key: 'jobId', - align: 'center', + align: 'left', }, ]; @@ -756,7 +762,7 @@ onMounted(() => { :size="tableState.size" :row-class-name="fnTableStriped" :pagination="tablePagination" - :scroll="{ x: true }" + :scroll="{ x: tableColumns.length * 120 }" :row-selection="{ type: 'checkbox', selectedRowKeys: tableState.selectedRowKeys, @@ -769,16 +775,15 @@ onMounted(() => {