同步界面增加业务的回传,业同步业务从xml中获取

This commit is contained in:
段冬梅
2019-03-15 17:31:57 +08:00
parent b588f12b0c
commit f90d3dbf32
5 changed files with 27 additions and 10 deletions

View File

@@ -229,7 +229,7 @@
<description>获取service列表</description>
<name>getAllFunctionServiceDictList</name>
<function-class>com.nis.util.DictUtils</function-class>
<function-signature>java.util.List getFunctionServiceDictList()</function-signature>
<function-signature>java.util.List getAllServiceList()</function-signature>
<example>${fns:getAllFunctionServiceDictList()}</example>
</function>
<function>

View File

@@ -5,6 +5,7 @@
<title></title>
<script type="text/javascript">
$(document) .ready(function() {
changeService();
top.$.jBox.closeTip();
$("#cfgFrom").validate({
submitHandler : function(form) {
@@ -46,11 +47,13 @@
</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>
<select name="service" id="service" data-live-search="true" class="selectpicker show-tick form-control " onchange="changeService()">
<option value="" <c:if test="${empty serviceId }">selected</c:if>><spring:message code="all" /></option>
<c:forEach items="${fns:getAllFunctionServiceDictList()}"
var="_service">
<option value="${_service.serviceId }" ><spring:message code="${_service.serviceName }" /></option>
<option value="${_service.serviceId }" <c:if test="${_service.serviceId eq serviceId }">selected</c:if>>
<spring:message code="${_service.serviceName }" />
</option>
</c:forEach>
</select>
</div>