Commit a3efb429 by liuyongshuai

修改页面样式;调整多个角色权限重复菜单问题;放开修改用户功能的密码。

parent 1d7f4173
......@@ -437,7 +437,7 @@
<!--根据userId查询用户拥有的权限-->
<select id="selectSysPermissionsByUserId" resultType="com.xzxtshiro.pojo.SysPermissionNew" parameterType="java.lang.String">
SELECT
id,NAME ||'['||id||']' as NAME,menuname,permission,url,flag,zindex,pid,userid
distinct id,NAME ||'['||id||']' as NAME,menuname,permission,url,flag,zindex,pid,userid
FROM
VW_USER_PERMISSION
WHERE
......@@ -485,7 +485,7 @@
<select id="selectMencusByUserId" resultType="com.xzxtshiro.pojo.SysPermissionNew">
<!---->
SELECT
ID, NAME, MENUNAME, PID, PERMISSION, URL, TYPE
distinct ID, NAME, MENUNAME, PID, PERMISSION, URL, TYPE
FROM
VW_USER_PERMISSION
where flag=1
......
......@@ -32,8 +32,8 @@ public class RedisUtil {
public static String getRedisParam(){
PropertiesUtils propertiesUtil=new PropertiesUtils("resource/db.properties");
String host=propertiesUtil.getValue("redis.host");
String port = propertiesUtil.getValue("redis.port");
String host=propertiesUtil.getValue("rest.host");
String port = propertiesUtil.getValue("rest.port");
return host+":"+port;
}
......
jdbc.driverClassName=oracle.jdbc.driver.OracleDriver
jdbc.driver=oracle.jdbc.driver.OracleDriver
jdbc.url=jdbc:oracle:thin:@192.168.1.109:1521:XZXT3
jdbc.url=jdbc:oracle:thin:@192.168.1.121:1521:XZXT3
jdbc.username=XZXT
jdbc.password=XZXT
redis.host=http://127.0.0.1
redis.port=9043
rest.host=http://127.0.0.1
rest.port=9043
......@@ -135,7 +135,7 @@
<input type="text" name="unitname" id="unitname" lay-verify="required"
class="layui-input">
<input type="text" id="unitcode" Name="unitcode" style="display: none;">
<span class="layui-btn" id="checkPer" onclick="checkTree('myUnitTree');" style="left: 440px;">选择单位</span>
<span class="layui-btn" id="checkPer" onclick="checkTree('myUnitTree');">选择单位</span>
<div id="myUnitTree" style="display: none">
<ul id="unit" class="ztree"></ul>
</div>
......@@ -148,7 +148,7 @@
<input type="text" name="roleName" id="roleName" lay-verify="required"
class="layui-input">
<input type="text" id="roleId" Name="roleId" style="display: none;">
<span class="layui-btn" id="checkRolePid" onclick="checkTree('myRoleTree');" style="left: 440px;">选择角色</span>
<span class="layui-btn" id="checkRolePid" onclick="checkTree('myRoleTree');">选择角色</span>
<div id="myRoleTree" style="display: none">
<ul id="roleTree" class="ztree"></ul>
</div>
......
......@@ -71,13 +71,13 @@
<input type="hidden" id="yhzpPath" name="yhzpPath" value=""/>
<button type="button" class="layui-btn" id="yhzpBtn"><i class="layui-icon"></i>上传照片</button>
</div>
<%--<div class="layui-form-item btx">
<div class="layui-form-item btx">
<label class="layui-form-label">登录密码</label>
<div class="layui-input-block">
<input type="password" name="password" lay-verify="required" placeholder="默认密码000000" value="${user.password}"
class="layui-input">
</div>
</div>--%>
</div>
<div class="layui-form-item btx">
<label class="layui-form-label">身份证号码</label>
......@@ -136,7 +136,7 @@
<input type="text" name="unitname" id="unitname" lay-verify="required"
class="layui-input">
<input type="text" id="unitcode" Name="unitcode" style="display: none;">
<span class="layui-btn" id="checkPer" onclick="checkTree('myUnitTree');" style="left: 440px;">选择单位</span>
<span class="layui-btn" id="checkPer" onclick="checkTree('myUnitTree');">选择单位</span>
<div id="myUnitTree" style="display: none">
<ul id="unit" class="ztree"></ul>
</div>
......@@ -149,7 +149,7 @@
<input type="text" name="roleName" id="roleName" lay-verify="required"
class="layui-input">
<input type="text" id="roleId" Name="roleId" style="display: none;">
<span class="layui-btn" id="checkRolePid" onclick="checkTree('myRoleTree');" style="left: 440px;">选择角色</span>
<span class="layui-btn" id="checkRolePid" onclick="checkTree('myRoleTree');">选择角色</span>
<div id="myRoleTree" style="display: none">
<ul id="roleTree" class="ztree"></ul>
</div>
......
......@@ -29,4 +29,4 @@
display: block;
width: 100%;
padding-left: 10px;
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment