批量配置失效、全量下发、各业务全量下发功能提交
This commit is contained in:
@@ -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