From da3d5a4c45ae35aac3a33bd261edccd8f6cabf51 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Thu, 24 May 2018 09:56:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E3=80=81=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/{ry_20180522.sql => ry_20180524.sql} | 4 ++-- .../static/ruoyi/system/dept/dept.js | 6 ++--- .../static/ruoyi/system/menu/menu.js | 23 +++++++++++-------- .../resources/templates/system/dept/dept.html | 8 +++---- .../resources/templates/system/menu/menu.html | 8 +++---- 5 files changed, 26 insertions(+), 23 deletions(-) rename sql/{ry_20180522.sql => ry_20180524.sql} (99%) diff --git a/sql/ry_20180522.sql b/sql/ry_20180524.sql similarity index 99% rename from sql/ry_20180522.sql rename to sql/ry_20180524.sql index 2f5d9efe..4b271687 100644 --- a/sql/ry_20180522.sql +++ b/sql/ry_20180524.sql @@ -405,8 +405,8 @@ insert into sys_dict_type values(2, '菜单状态', 'sys_menu_visible', 0, 'admi insert into sys_dict_type values(3, '部门状态', 'sys_dept_status', 0, 'admin', '2018-03-16 11-33-00', 'ry', '2018-03-16 11-33-00', '部门状态列表'); insert into sys_dict_type values(4, '岗位状态', 'sys_post_status', 0, 'admin', '2018-03-16 11-33-00', 'ry', '2018-03-16 11-33-00', '岗位状态列表'); insert into sys_dict_type values(5, '字典状态', 'sys_dict_status', 0, 'admin', '2018-03-16 11-33-00', 'ry', '2018-03-16 11-33-00', '字典状态列表'); -insert into sys_dict_type values(5, '任务状态', 'sys_job_status', 0, 'admin', '2018-03-16 11-33-00', 'ry', '2018-03-16 11-33-00', '任务状态列表'); -insert into sys_dict_type values(6, '系统是否', 'sys_yes_no', 0, 'admin', '2018-03-16 11-33-00', 'ry', '2018-03-16 11-33-00', '系统是否列表'); +insert into sys_dict_type values(6, '任务状态', 'sys_job_status', 0, 'admin', '2018-03-16 11-33-00', 'ry', '2018-03-16 11-33-00', '任务状态列表'); +insert into sys_dict_type values(7, '系统是否', 'sys_yes_no', 0, 'admin', '2018-03-16 11-33-00', 'ry', '2018-03-16 11-33-00', '系统是否列表'); -- ---------------------------- -- 11、字典数据表 diff --git a/src/main/resources/static/ruoyi/system/dept/dept.js b/src/main/resources/static/ruoyi/system/dept/dept.js index dee80a92..e2cbc55e 100644 --- a/src/main/resources/static/ruoyi/system/dept/dept.js +++ b/src/main/resources/static/ruoyi/system/dept/dept.js @@ -34,9 +34,9 @@ function loading() { formatter : function(row, index) { if(row.parentId != 0) { var actions = []; - actions.push(' '); - actions.push(' '); - actions.push(''); + actions.push('编辑 '); + actions.push('新增 '); + actions.push('删除'); return actions.join(''); } else { return ""; diff --git a/src/main/resources/static/ruoyi/system/menu/menu.js b/src/main/resources/static/ruoyi/system/menu/menu.js index 651d7c9d..98bff73a 100644 --- a/src/main/resources/static/ruoyi/system/menu/menu.js +++ b/src/main/resources/static/ruoyi/system/menu/menu.js @@ -9,6 +9,7 @@ function loading() { { title : '菜单名称', field : 'menuName', + width : '20%', formatter : function(row, index) { if(row.icon == null || row == "") { return row.menuName; @@ -19,17 +20,18 @@ function loading() { }, { field : 'orderNum', - title : '排序' + title : '排序', + width : '10%', }, { field : 'url', - title : '请求地址' + title : '请求地址', + width : '15%', }, { title : '类型', field : 'menuType', - align : 'center', - valign : 'middle', + width : '10%', formatter : function(item, index) { if (item.menuType == 'M') { return '目录'; @@ -45,7 +47,7 @@ function loading() { { field: 'visible', title: '可见', - align: 'center', + width : '10%', formatter: function(row, index) { if (row.visible == 0) { return '显示'; @@ -56,16 +58,17 @@ function loading() { }, { field : 'perms', - title : '权限标识' + title : '权限标识', + width : '15%', }, { title : '操作', - align : 'center', + width : '20%', formatter : function(row, index) { var actions = []; - actions.push(' '); - actions.push(' '); - actions.push(''); + actions.push('编辑 '); + actions.push('新增 '); + actions.push('删除'); return actions.join(''); } }]; diff --git a/src/main/resources/templates/system/dept/dept.html b/src/main/resources/templates/system/dept/dept.html index cb554b13..ddddef35 100644 --- a/src/main/resources/templates/system/dept/dept.html +++ b/src/main/resources/templates/system/dept/dept.html @@ -2,13 +2,13 @@ - +
diff --git a/src/main/resources/templates/system/menu/menu.html b/src/main/resources/templates/system/menu/menu.html index 3a8dcd32..0b5e1d17 100644 --- a/src/main/resources/templates/system/menu/menu.html +++ b/src/main/resources/templates/system/menu/menu.html @@ -2,13 +2,13 @@ - +