新增本部门数据权限

This commit is contained in:
RuoYi
2019-05-14 18:59:12 +08:00
parent 7555e5aef1
commit 9be8716776
4 changed files with 27 additions and 2 deletions

View File

@ -685,6 +685,20 @@ label {
float: none;
}
.select-list .select-selectpicker li {
float: none;
}
.select-list .dropdown-menu>li>a {
line-height: inherit;
}
.select-list .dropdown-menu li>a:hover,.dropdown-menu li>a:focus,.dropdown-submenu:hover>a {
color: #fff;
text-decoration: none;
background-color: #12889a
}
.select-list .select-time input {
width: 93px;
}

View File

@ -26,11 +26,12 @@
<select id="dataScope" name="dataScope" class="form-control m-b">
<option value="1" th:field="*{dataScope}">全部数据权限</option>
<option value="2" th:field="*{dataScope}">自定数据权限</option>
<option value="3" th:field="*{dataScope}">本部门数据权限</option>
</select>
<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 特殊情况下,设置为“自定数据权限”</span>
</div>
</div>
<div class="form-group" id="authDataScope" th:style="'display:' + @{(*{dataScope=='1'} ? 'none' : 'block')} + ''">
<div class="form-group" id="authDataScope" th:style="'display:' + @{(*{dataScope=='2'} ? 'block' : 'none')} + ''">
<label class="col-sm-3 control-label">数据权限</label>
<div class="col-sm-8">
<div id="deptTrees" class="ztree"></div>