1.地址池管理增加 删除限制 2.策略分组管理去掉SNAT/DNAT IP类型

This commit is contained in:
zhangwq
2018-11-29 15:49:47 +08:00
parent 606b8a7550
commit f06e596cda
13 changed files with 92 additions and 14 deletions

View File

@@ -83,7 +83,9 @@ $(function(){
<div class="col-md-6">
<select id="groupType" name="groupType" class="selectpicker select2 form-control required" >
<c:forEach items="${fns:getDictList('GROUP_TYPE')}" var="groupTypeC">
<option value="${groupTypeC.itemCode}" <c:if test="${_cfg.groupType==groupTypeC.itemCode || (_cfg.groupType==null && groupTypeC.itemCode==1)}">selected</c:if>><spring:message code="${groupTypeC.itemValue}"/></option>
<c:if test="${groupTypeC.itemCode ne 2 && groupTypeC.itemCode ne 3}">
<option value="${groupTypeC.itemCode}" <c:if test="${_cfg.groupType==groupTypeC.itemCode || (_cfg.groupType==null && groupTypeC.itemCode==1)}">selected</c:if>><spring:message code="${groupTypeC.itemValue}"/></option>
</c:if>
</c:forEach>
</select>
</div>

View File

@@ -119,13 +119,15 @@
<select name="groupType" class="selectpicker select2 input-small">
<option value=""><spring:message code="all_types"/></option>
<c:forEach items="${fns:getDictList('GROUP_TYPE')}" var="groupTypeC">
<option value="${groupTypeC.itemCode}"
<c:if test="${cfg.groupType==groupTypeC.itemCode}">
selected
</c:if>
>
<spring:message code="${groupTypeC.itemValue}"/>
</option>
<c:if test="${groupTypeC.itemCode ne 2 && groupTypeC.itemCode ne 3}">
<option value="${groupTypeC.itemCode}"
<c:if test="${cfg.groupType==groupTypeC.itemCode}">
selected
</c:if>
>
<spring:message code="${groupTypeC.itemValue}"/>
</option>
</c:if>
</c:forEach>
</select>
</div>

View File

@@ -314,7 +314,7 @@
<tbody>
<c:forEach items="${page.list }" var="cfg" varStatus="status" step="1">
<tr>
<td><input type="checkbox" class="i-checks" serviceId="${cfg.serviceId}" id="${cfg.cfgId}" value="${cfg.isAudit}"></td>
<td><input type="checkbox" class="i-checks" serviceId="${cfg.serviceId}" id="${cfg.cfgId}" value="${cfg.isAudit}" addressPoolId="${cfg.addrPoolId }" ></td>
<td>${cfg.addrPoolId }</td>
<td>
<a href="javascript:;" data-original-title="${cfg.addrPoolName}"