From c9b23f336d9e30edbdbee1cd7ff75e0872e59a40 Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Fri, 19 Jul 2019 11:55:56 +0800 Subject: [PATCH] =?UTF-8?q?UI=E4=BC=98=E5=8C=96=EF=BC=8C=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=92=8C=E6=97=A5=E5=BF=97=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=A1=A8=E6=A0=BC=E5=AE=BD=E5=BA=A6=E6=AF=94?= =?UTF-8?q?=E4=BE=8B=E8=B0=83=E6=95=B4=EF=BC=8C=E9=81=BF=E5=85=8D=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=8D=A2=E8=A1=8C=E6=8F=90=E5=8D=87=E4=BD=93=E9=AA=8C?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/XXL-JOB官方文档.md | 1 + .../src/main/resources/static/js/jobinfo.index.1.js | 4 ++-- .../src/main/resources/static/js/joblog.index.1.js | 12 ++++++------ 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/doc/XXL-JOB官方文档.md b/doc/XXL-JOB官方文档.md index 52eec775..36d3c853 100644 --- a/doc/XXL-JOB官方文档.md +++ b/doc/XXL-JOB官方文档.md @@ -1521,6 +1521,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段 - 10、注册监控线程优化,降低死锁几率; - 11、调度组件优化:针对永远不会触发的Cron禁止配置和启动;任务Cron最后一次触发后再也不会触发时,比如一次性任务,主动停止相关任务; - 12、任务列表交互优化,支持查看任务所属执行器的注册节点; +- 13、UI优化,任务列表和日志列表数据表格宽度比例调整,避免数据换行提升体验; ### TODO LIST diff --git a/xxl-job-admin/src/main/resources/static/js/jobinfo.index.1.js b/xxl-job-admin/src/main/resources/static/js/jobinfo.index.1.js index 78267df6..415a9399 100644 --- a/xxl-job-admin/src/main/resources/static/js/jobinfo.index.1.js +++ b/xxl-job-admin/src/main/resources/static/js/jobinfo.index.1.js @@ -28,7 +28,7 @@ $(function() { "data": 'id', "bSortable": false, "visible" : true, - "width":'10%' + "width":'7%' }, { "data": 'jobGroup', @@ -65,7 +65,7 @@ $(function() { { "data": 'jobCron', "visible" : true, - "width":'10%' + "width":'13%' }, { "data": 'addTime', diff --git a/xxl-job-admin/src/main/resources/static/js/joblog.index.1.js b/xxl-job-admin/src/main/resources/static/js/joblog.index.1.js index c90e7d5e..056a9c11 100644 --- a/xxl-job-admin/src/main/resources/static/js/joblog.index.1.js +++ b/xxl-job-admin/src/main/resources/static/js/joblog.index.1.js @@ -114,14 +114,14 @@ $(function() { { "data": 'jobGroup', "visible" : false}, { "data": 'triggerTime', - "width":'16%', + "width":'20%', "render": function ( data, type, row ) { return data?moment(new Date(data)).format("YYYY-MM-DD HH:mm:ss"):""; } }, { "data": 'triggerCode', - "width":'12%', + "width":'10%', "render": function ( data, type, row ) { var html = data; if (data == 200) { @@ -136,21 +136,21 @@ $(function() { }, { "data": 'triggerMsg', - "width":'12%', + "width":'10%', "render": function ( data, type, row ) { return data?''+ I18n.system_show +''+ data +'':I18n.system_empty; } }, { "data": 'handleTime', - "width":'16%', + "width":'20%', "render": function ( data, type, row ) { return data?moment(new Date(data)).format("YYYY-MM-DD HH:mm:ss"):""; } }, { "data": 'handleCode', - "width":'12%', + "width":'10%', "render": function ( data, type, row ) { var html = data; if (data == 200) { @@ -167,7 +167,7 @@ $(function() { }, { "data": 'handleMsg', - "width":'12%', + "width":'10%', "render": function ( data, type, row ) { return data?''+ I18n.system_show +''+ data +'':I18n.system_empty; }