批量配置失效、全量下发、各业务全量下发功能提交
This commit is contained in:
@@ -225,6 +225,13 @@
|
||||
<function-signature>java.util.List getFunctionServiceDictList(java.lang.Integer)</function-signature>
|
||||
<example>${fns:getFunctionServiceDictList(key)}</example>
|
||||
</function>
|
||||
<function>
|
||||
<description>获取service列表</description>
|
||||
<name>getAllFunctionServiceDictList</name>
|
||||
<function-class>com.nis.util.DictUtils</function-class>
|
||||
<function-signature>java.util.List getFunctionServiceDictList()</function-signature>
|
||||
<example>${fns:getAllFunctionServiceDictList()}</example>
|
||||
</function>
|
||||
<function>
|
||||
<description>获取functionId下的region列表</description>
|
||||
<name>getFunctionRegionDictList</name>
|
||||
|
||||
@@ -80,7 +80,7 @@ $(function(){
|
||||
<div class="form-group asnNo">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="asn_no"/></label>
|
||||
<div class="col-md-6">
|
||||
<input id="asnNo" class="form-control required asnMustExists number" type="text" name="asnId" value="${_cfg.asnId}" autocomplete="off" maxlength="15" ctx="${ctx }">
|
||||
<input id="asnNo" class="form-control required asnNoUnique number" type="text" name="asnId" value="${_cfg.asnId}" autocomplete="off" maxlength="15" ctx="${ctx }">
|
||||
</div>
|
||||
<div for="asnId"></div>
|
||||
</div>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
<title></title>
|
||||
<script type="text/javascript">
|
||||
$(document) .ready(function() {
|
||||
top.$.jBox.closeTip();
|
||||
$("#cfgFrom").validate({
|
||||
submitHandler : function(form) {
|
||||
top.$.jBox.tip("The system is being maintained and temporarily inaccessible.",'loading',{opacity:0.5,persistent:true});
|
||||
@@ -12,11 +13,20 @@
|
||||
},
|
||||
})
|
||||
})
|
||||
function changeService(){
|
||||
var serviceId=$("#service").val();
|
||||
if(serviceId != 'undefined'){
|
||||
var url=$("#cfgFrom").attr("action");
|
||||
url=url.split("&")[0]+"&serviceId="+serviceId
|
||||
$("#cfgFrom").attr("action",url);
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form id="cfgFrom" action="${ctx}/config/synchronization/configSync?cmd=1" method="post" class="form-horizontal">
|
||||
<form id="cfgFrom" action="${ctx}/config/synchronization/configSync?cmd=1&serviceId=null" method="post" class="form-horizontal">
|
||||
<div class="page-content">
|
||||
<h3 class="page-title">
|
||||
<c:forEach items="${fns:getDictList('currrent_sync_status') }" var="dict">
|
||||
@@ -34,6 +44,17 @@
|
||||
<c:if test="${dict.itemValue eq '-2' }">界面端同步失败</c:if>
|
||||
</c:forEach>
|
||||
</h2>
|
||||
<div class="col-md-2">
|
||||
<div class="col-md-12">
|
||||
<select name="service" id="service" data-live-search="true" class="selectpicker show-tick form-control required " onchange="changeService()">
|
||||
<option value="" ><spring:message code="all" /></option>
|
||||
<c:forEach items="${fns:getAllFunctionServiceDictList()}"
|
||||
var="_service">
|
||||
<option value="${_service.serviceId }" ><spring:message code="${_service.serviceName }" /></option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<button id="save" type="submit" class="btn green">
|
||||
配置同步
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user