From d6e82c047fa73677d67c8ae9cc27d18533920f60 Mon Sep 17 00:00:00 2001 From: yangzhengze <1403014932@qq.com> Date: Sun, 27 May 2018 14:58:13 +0800 Subject: [PATCH] =?UTF-8?q?1.=E7=94=A8=E6=88=B7=E5=88=97=E8=A1=A8=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E9=83=A8=E9=97=A8=E5=88=97=E3=80=82=202.=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=E4=BA=86=E5=85=A8=E9=83=A8=E7=9A=84thymleaf=E8=A7=A3?= =?UTF-8?q?=E6=9E=90=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 2 +- src/main/resources/mybatis/system/UserMapper.xml | 9 +++++---- src/main/resources/static/ruoyi/system/user/user.js | 4 ++++ src/main/resources/templates/error/404.html | 2 +- src/main/resources/templates/error/500.html | 2 +- src/main/resources/templates/error/unauth.html | 2 +- src/main/resources/templates/index.html | 2 +- src/main/resources/templates/login.html | 3 +-- src/main/resources/templates/main.html | 2 +- src/main/resources/templates/monitor/job/add.html | 2 +- src/main/resources/templates/monitor/job/edit.html | 2 +- src/main/resources/templates/monitor/job/job.html | 2 +- src/main/resources/templates/monitor/job/jobLog.html | 2 +- .../templates/monitor/logininfor/logininfor.html | 2 +- src/main/resources/templates/monitor/online/online.html | 2 +- src/main/resources/templates/monitor/operlog/detail.html | 2 +- .../resources/templates/monitor/operlog/operlog.html | 2 +- src/main/resources/templates/system/config/add.html | 2 +- src/main/resources/templates/system/config/config.html | 2 +- src/main/resources/templates/system/config/edit.html | 2 +- src/main/resources/templates/system/dept/add.html | 2 +- src/main/resources/templates/system/dept/dept.html | 3 ++- src/main/resources/templates/system/dept/edit.html | 2 +- src/main/resources/templates/system/dept/tree.html | 2 +- src/main/resources/templates/system/dict/data/add.html | 2 +- src/main/resources/templates/system/dict/data/data.html | 2 +- src/main/resources/templates/system/dict/data/edit.html | 2 +- src/main/resources/templates/system/menu/add.html | 2 +- src/main/resources/templates/system/menu/edit.html | 2 +- src/main/resources/templates/system/menu/icon.html | 2 +- src/main/resources/templates/system/menu/menu.html | 2 +- src/main/resources/templates/system/menu/tree.html | 2 +- src/main/resources/templates/system/post/add.html | 2 +- src/main/resources/templates/system/post/edit.html | 2 +- src/main/resources/templates/system/post/post.html | 2 +- src/main/resources/templates/system/role/add.html | 2 +- src/main/resources/templates/system/role/edit.html | 2 +- src/main/resources/templates/system/role/role.html | 2 +- src/main/resources/templates/system/user/add.html | 2 +- src/main/resources/templates/system/user/edit.html | 2 +- .../resources/templates/system/user/profile/avatar.html | 2 +- .../resources/templates/system/user/profile/edit.html | 2 +- .../resources/templates/system/user/profile/profile.html | 2 +- .../templates/system/user/profile/resetPwd.html | 2 +- src/main/resources/templates/system/user/resetPwd.html | 2 +- src/main/resources/templates/system/user/user.html | 2 +- src/main/resources/templates/tool/build/build.html | 3 +-- src/main/resources/templates/tool/gen/gen.html | 3 +-- src/main/resources/templates/vm/html/add.html.vm | 4 ++-- src/main/resources/templates/vm/html/edit.html.vm | 4 ++-- src/main/resources/templates/vm/html/list.html.vm | 4 ++-- 51 files changed, 62 insertions(+), 59 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 15569178..103825cb 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -25,7 +25,7 @@ user: #Spring配置 spring: thymeleaf: - mode: LEGACYHTML5 + mode: HTML cache: false messages: #国际化资源文件路径 diff --git a/src/main/resources/mybatis/system/UserMapper.xml b/src/main/resources/mybatis/system/UserMapper.xml index 86544601..4d95102e 100644 --- a/src/main/resources/mybatis/system/UserMapper.xml +++ b/src/main/resources/mybatis/system/UserMapper.xml @@ -35,13 +35,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" diff --git a/src/main/resources/static/ruoyi/system/user/user.js b/src/main/resources/static/ruoyi/system/user/user.js index a07000d4..0b1fead1 100644 --- a/src/main/resources/static/ruoyi/system/user/user.js +++ b/src/main/resources/static/ruoyi/system/user/user.js @@ -23,6 +23,10 @@ function queryUserList() { field: 'userName', title: '用户名称' }, + { + field: 'dept.deptName', + title: '部门' + }, { field: 'email', title: '邮箱' diff --git a/src/main/resources/templates/error/404.html b/src/main/resources/templates/error/404.html index e5e00022..61643cb3 100644 --- a/src/main/resources/templates/error/404.html +++ b/src/main/resources/templates/error/404.html @@ -1,5 +1,5 @@ - +
diff --git a/src/main/resources/templates/error/500.html b/src/main/resources/templates/error/500.html index 678020c0..200dacc9 100644 --- a/src/main/resources/templates/error/500.html +++ b/src/main/resources/templates/error/500.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/error/unauth.html b/src/main/resources/templates/error/unauth.html index 56217dea..0be6a56d 100644 --- a/src/main/resources/templates/error/unauth.html +++ b/src/main/resources/templates/error/unauth.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 81038cfe..53c1bb90 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/login.html b/src/main/resources/templates/login.html index 302640ce..b51b4bdd 100644 --- a/src/main/resources/templates/login.html +++ b/src/main/resources/templates/login.html @@ -1,6 +1,5 @@ - - + diff --git a/src/main/resources/templates/main.html b/src/main/resources/templates/main.html index 724ad910..e078f81d 100644 --- a/src/main/resources/templates/main.html +++ b/src/main/resources/templates/main.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/monitor/job/add.html b/src/main/resources/templates/monitor/job/add.html index 8ccda0d4..6782c35b 100644 --- a/src/main/resources/templates/monitor/job/add.html +++ b/src/main/resources/templates/monitor/job/add.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/monitor/job/edit.html b/src/main/resources/templates/monitor/job/edit.html index b67db35e..d3dc14d8 100644 --- a/src/main/resources/templates/monitor/job/edit.html +++ b/src/main/resources/templates/monitor/job/edit.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/monitor/job/job.html b/src/main/resources/templates/monitor/job/job.html index f7bfaba6..65ebf43a 100644 --- a/src/main/resources/templates/monitor/job/job.html +++ b/src/main/resources/templates/monitor/job/job.html @@ -1,5 +1,5 @@ - diff --git a/src/main/resources/templates/monitor/job/jobLog.html b/src/main/resources/templates/monitor/job/jobLog.html index 95d227b6..0ca24362 100644 --- a/src/main/resources/templates/monitor/job/jobLog.html +++ b/src/main/resources/templates/monitor/job/jobLog.html @@ -1,5 +1,5 @@ - diff --git a/src/main/resources/templates/monitor/logininfor/logininfor.html b/src/main/resources/templates/monitor/logininfor/logininfor.html index 9d98fc63..bd503d2d 100644 --- a/src/main/resources/templates/monitor/logininfor/logininfor.html +++ b/src/main/resources/templates/monitor/logininfor/logininfor.html @@ -1,5 +1,5 @@ - diff --git a/src/main/resources/templates/monitor/online/online.html b/src/main/resources/templates/monitor/online/online.html index 55a050db..0a64a530 100644 --- a/src/main/resources/templates/monitor/online/online.html +++ b/src/main/resources/templates/monitor/online/online.html @@ -1,5 +1,5 @@ - diff --git a/src/main/resources/templates/monitor/operlog/detail.html b/src/main/resources/templates/monitor/operlog/detail.html index 02f15f2d..ca1e1fe1 100644 --- a/src/main/resources/templates/monitor/operlog/detail.html +++ b/src/main/resources/templates/monitor/operlog/detail.html @@ -1,5 +1,5 @@ - diff --git a/src/main/resources/templates/monitor/operlog/operlog.html b/src/main/resources/templates/monitor/operlog/operlog.html index b4b3e421..81f6d0c3 100644 --- a/src/main/resources/templates/monitor/operlog/operlog.html +++ b/src/main/resources/templates/monitor/operlog/operlog.html @@ -1,5 +1,5 @@ - diff --git a/src/main/resources/templates/system/config/add.html b/src/main/resources/templates/system/config/add.html index aab67b52..6344908b 100644 --- a/src/main/resources/templates/system/config/add.html +++ b/src/main/resources/templates/system/config/add.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/system/config/config.html b/src/main/resources/templates/system/config/config.html index 2f410aa5..92b9eaac 100644 --- a/src/main/resources/templates/system/config/config.html +++ b/src/main/resources/templates/system/config/config.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/system/config/edit.html b/src/main/resources/templates/system/config/edit.html index 39e94fea..a5c7d0dc 100644 --- a/src/main/resources/templates/system/config/edit.html +++ b/src/main/resources/templates/system/config/edit.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/system/dept/add.html b/src/main/resources/templates/system/dept/add.html index 3ed0a9d5..dc7d50f1 100644 --- a/src/main/resources/templates/system/dept/add.html +++ b/src/main/resources/templates/system/dept/add.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/system/dept/dept.html b/src/main/resources/templates/system/dept/dept.html index 5cc6cfeb..70288f69 100644 --- a/src/main/resources/templates/system/dept/dept.html +++ b/src/main/resources/templates/system/dept/dept.html @@ -1,5 +1,6 @@ - + diff --git a/src/main/resources/templates/system/dept/edit.html b/src/main/resources/templates/system/dept/edit.html index eb6ed7b4..4604f687 100644 --- a/src/main/resources/templates/system/dept/edit.html +++ b/src/main/resources/templates/system/dept/edit.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/system/dept/tree.html b/src/main/resources/templates/system/dept/tree.html index 10996dcf..b34c1cd8 100644 --- a/src/main/resources/templates/system/dept/tree.html +++ b/src/main/resources/templates/system/dept/tree.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/system/dict/data/add.html b/src/main/resources/templates/system/dict/data/add.html index b228b7da..f9d2c1bd 100644 --- a/src/main/resources/templates/system/dict/data/add.html +++ b/src/main/resources/templates/system/dict/data/add.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/system/dict/data/data.html b/src/main/resources/templates/system/dict/data/data.html index c1ea9d59..1bede3eb 100644 --- a/src/main/resources/templates/system/dict/data/data.html +++ b/src/main/resources/templates/system/dict/data/data.html @@ -1,5 +1,5 @@ - diff --git a/src/main/resources/templates/system/dict/data/edit.html b/src/main/resources/templates/system/dict/data/edit.html index 259915c9..09b0d1f9 100644 --- a/src/main/resources/templates/system/dict/data/edit.html +++ b/src/main/resources/templates/system/dict/data/edit.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/system/menu/add.html b/src/main/resources/templates/system/menu/add.html index 15fafbb6..209606c0 100644 --- a/src/main/resources/templates/system/menu/add.html +++ b/src/main/resources/templates/system/menu/add.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/system/menu/edit.html b/src/main/resources/templates/system/menu/edit.html index 6a01704d..746eec1b 100644 --- a/src/main/resources/templates/system/menu/edit.html +++ b/src/main/resources/templates/system/menu/edit.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/system/menu/icon.html b/src/main/resources/templates/system/menu/icon.html index 78adb044..f9f7f194 100644 --- a/src/main/resources/templates/system/menu/icon.html +++ b/src/main/resources/templates/system/menu/icon.html @@ -1,5 +1,5 @@ - +