完成协议ip国际化,权限控制
更改分类/性质/标签,地域/运营商/作用域 ,特定服务,协议ip 修改操作由可选多项仅只修改第一项改为 只能选择一条数据,修订校验国际化
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
<head>
|
||||
<title>配置信息</title>
|
||||
<link href="${ctxStatic}/global/plugins/treeTable/themes/vsStyle/treeTable.min.css" rel="stylesheet" type="text/css" />
|
||||
<%-- <link href="${ctxStatic}/pages/css/dictInfo.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>
|
||||
<script type="text/javascript">
|
||||
@@ -26,27 +25,40 @@
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
系统通用方法,根据参数来决定处理的url和参数
|
||||
*/
|
||||
function cmd(){
|
||||
var url=arguments[0];
|
||||
var mulitId="";
|
||||
jQuery("#treeTable").find(":checkbox:checked[name='check']").each(function(){
|
||||
if(jQuery(this).val()!=""){
|
||||
mulitId+=jQuery(this).val()+",";
|
||||
}
|
||||
});
|
||||
if(mulitId!=""){
|
||||
confirmx("<spring:message code='confirm_message'/>", url+"&mulitId="+mulitId);
|
||||
}else{
|
||||
alert("<spring:message code='one_more'/>");
|
||||
/*
|
||||
系统通用方法,根据参数来决定处理的url和参数
|
||||
*/
|
||||
function cmd(){
|
||||
var url=arguments[0];
|
||||
var mulitId="";
|
||||
jQuery("#treeTable").find(":checkbox:checked[name='check']").each(function(){
|
||||
if(jQuery(this).val()!=""){
|
||||
mulitId+=jQuery(this).val()+",";
|
||||
}
|
||||
});
|
||||
if(mulitId!=""){
|
||||
confirmx("<spring:message code='confirm_message'/>", url+"&mulitId="+mulitId);
|
||||
}else{
|
||||
top.$.jBox.tip("<spring:message code='one_more'/>", "<spring:message code='info'/>");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//sys修改
|
||||
function cmdSysEdit(){
|
||||
var cked = $("tbody tr td input[name='check']:checkbox:checked");
|
||||
if(cked.length<1){
|
||||
top.$.jBox.tip("<spring:message code='one_more'/>", "<spring:message code='info'/>");
|
||||
}
|
||||
if(cked.length>1){
|
||||
top.$.jBox.tip("<spring:message code='check_one'/>", "<spring:message code='info'/>");
|
||||
}
|
||||
if(cked.length==1){
|
||||
var url=arguments[0];
|
||||
confirmx("<spring:message code='confirm_message'/>", url+"&sysDictId="+cked.val());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//查询
|
||||
function page(n,s){
|
||||
$("#intype").attr("name",$("#seltype").val());
|
||||
@@ -97,11 +109,12 @@
|
||||
<c:set var="permission_type">${fns:getPermissionByNo('SYS_DICT_ITM_TYPE',intArr)}</c:set>
|
||||
<div class="page-content">
|
||||
<div class="theme-panel hidden-xs hidden-sm">
|
||||
<button type="button" class="btn btn-default" onclick="javascript:window.location='${ctx}/basics/sysDictInfo/list?itType=${itType}'"><spring:message code="refresh"></spring:message></button>
|
||||
<shiro:hasPermission name="basics:${permission_type}:edit">
|
||||
<button type="button" class="btn btn-primary"
|
||||
onClick="javascript:window.location='${ctx}/basics/sysDictInfo/form?itType=${itType}'">
|
||||
<i class="fa fa-plus"></i>
|
||||
<spring:message code="add"></spring:message><spring:message code="configuration" /></button>
|
||||
<spring:message code="add"></spring:message></button>
|
||||
</shiro:hasPermission>
|
||||
</div>
|
||||
|
||||
@@ -127,22 +140,6 @@
|
||||
<sys:tableSort id="orderBy" name="orderBy" value="${page.orderBy}" callback="page();"/>
|
||||
<!-- 搜索内容与操作按钮栏 -->
|
||||
<div class="col-md-12">
|
||||
|
||||
<%-- <div class="pull-left">
|
||||
<form:select path="itemType" class="selectpicker select2 input-small" >
|
||||
<form:option value="">数据类型</form:option>
|
||||
<c:forEach items="${fns:getDictList('SERVICE_DICT_ITM_TYPE')}" var="dict">
|
||||
<c:forEach items="${intArr}" var="itTemp">
|
||||
<c:if test="${dict.itemCode eq itTemp}">
|
||||
<option value="${dict.itemCode}"
|
||||
<c:if test="${selectedType eq dict.itemCode}">selected="selected"</c:if>
|
||||
>${dict.itemValue}</option>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</c:forEach>
|
||||
</form:select>
|
||||
</div> --%>
|
||||
|
||||
<div class="pull-left">
|
||||
<div class="input-group">
|
||||
<div class="input-group-btn">
|
||||
@@ -165,7 +162,7 @@
|
||||
|
||||
<div class="pull-right">
|
||||
<shiro:hasPermission name="basics:${permission_type}:edit">
|
||||
<button type="button" class="btn btn-default" onclick="cmd('${ctx}/basics/sysDictInfo/form?itType=${itType}')">
|
||||
<button type="button" class="btn btn-default" onclick="cmdSysEdit('${ctx}/basics/sysDictInfo/form?itType=${itType}')">
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user