优化业务/系统字典功能,数据类型数量可改变,可任意组合菜单(作用域必须单独),页面自动设定权限,组合菜单时数据类型超过1种,列表页面条件搜索添加数据类型条件。
修订校验时浏览器的兼容问题,
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<%@ include file="/WEB-INF/include/taglib.jsp"%>
|
||||
<html>
|
||||
<head>
|
||||
<title>配置信息</title>
|
||||
<title></title>
|
||||
<link href="${ctxStatic}/global/plugins/treeTable/themes/vsStyle/treeTable.min.css" rel="stylesheet" type="text/css" />
|
||||
<script src="${ctxStatic}/global/plugins/treeTable/jquery.treeTable.min.js" type="text/javascript"></script>
|
||||
<script src="${ctxStatic}/pages/scripts/dict.js" type="text/javascript"></script>
|
||||
@@ -81,6 +81,7 @@
|
||||
$("#resetBtn").on("click",function(){
|
||||
$(".Wdate").attr("value",'');
|
||||
$("#searchForm")[0].reset();
|
||||
$("#itemType").val("");
|
||||
});
|
||||
|
||||
//筛选功能初始化
|
||||
@@ -119,7 +120,9 @@
|
||||
</div>
|
||||
|
||||
<h3 class="page-title">
|
||||
<spring:message code="${fns:getItemTypeByNo('SYS_DICT_ITM_TYPE',intArr)}"/>
|
||||
<c:forEach items="${fns:getItemTypeByNo('SYS_DICT_ITM_TYPE',intArr)}" var="shows">
|
||||
<spring:message code="${shows}" />
|
||||
</c:forEach>
|
||||
<small><spring:message code="date_list"/></small>
|
||||
</h3>
|
||||
|
||||
@@ -140,6 +143,26 @@
|
||||
<sys:tableSort id="orderBy" name="orderBy" value="${page.orderBy}" callback="page();"/>
|
||||
<!-- 搜索内容与操作按钮栏 -->
|
||||
<div class="col-md-12">
|
||||
|
||||
<c:if test="${intArr.size()>1}">
|
||||
<div class="pull-left">
|
||||
<div class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<form:select path="itemType" class="selectpicker select2 input-small">
|
||||
<form:option value=""><spring:message code="item_type"/></form:option>
|
||||
<c:forEach items="${fns:getDictList('SYS_DICT_ITM_TYPE')}" var="dict">
|
||||
<c:forEach items="${intArr}" var="itTemp">
|
||||
<c:if test="${dict.itemCode eq itTemp}">
|
||||
<form:option value="${dict.itemCode}" ><spring:message code="${dict.itemValue}"/></form:option>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</c:forEach>
|
||||
</form:select>
|
||||
</div></div>
|
||||
</div>
|
||||
</c:if>
|
||||
|
||||
|
||||
<div class="pull-left">
|
||||
<div class="input-group">
|
||||
<div class="input-group-btn">
|
||||
@@ -166,11 +189,13 @@
|
||||
<i class="fa fa-edit"></i> <spring:message code="edit"/> </button>
|
||||
<button type="button" class="btn btn-default" onclick="cmd('${ctx}/basics/sysDictInfo/delete?itType=${itType}')">
|
||||
<i class="fa fa-trash"></i> <spring:message code="delete"/> </button>
|
||||
</shiro:hasPermission>
|
||||
|
||||
<a class="btn btn-icon-only btn-default setfields tooltips"
|
||||
data-container="body" data-placement="top" data-original-title="<spring:message code="custom_columns" />" href="javascript:;">
|
||||
<i class="icon-wrench"></i>
|
||||
</a>
|
||||
</shiro:hasPermission>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- /搜索内容与操作按钮栏-->
|
||||
@@ -257,7 +282,7 @@
|
||||
<th><spring:message code="config_content"/></th>
|
||||
<th><spring:message code="desc"/></th>
|
||||
<th><spring:message code="item_type"/></th>
|
||||
<c:if test="${specType != null and specType!=3 }">
|
||||
<c:if test="${specType == null or specType!=3 }">
|
||||
<th><spring:message code="is_leaf"/></th>
|
||||
</c:if>
|
||||
<th><spring:message code="creator"/></th>
|
||||
@@ -276,7 +301,7 @@
|
||||
<td>${sysDictInfo.itemValue}</td>
|
||||
<td title="${sysDictInfo.itemDesc}">${fns:abbr(sysDictInfo.itemDesc,15)}</td>
|
||||
<td><spring:message code='${fns:getDictLabel("SYS_DICT_ITM_TYPE",sysDictInfo.itemType,"0")}'/></td>
|
||||
<c:if test="${specType != null and specType!=3 }">
|
||||
<c:if test="${specType == null or specType!=3 }">
|
||||
<td><spring:message code='${fns:getDictLabel("INT_YES_NO",sysDictInfo.isLeaf,"0")}'/></td>
|
||||
</c:if>
|
||||
<td><c:if test="${sysDictInfo.sysDictCreator != null}">
|
||||
|
||||
Reference in New Issue
Block a user