解决问题:

0000022
基本配置-特征作用域
新增、修改界面,取消设置上级配置

0000021
基本配置-协议IP配置
数据列表界面:”协议id“一列显示为协议名称
数据列表界面:查询条件区域,协议id下拉列表改为协议名称下拉列表,源IP地址和目的IP地址改为输入框;
新增/修改界面:协议id改为协议名称,下拉列表选择有效协议名称;
新增/修改界面:源ip/目的ip掩码,源端口/目的端口掩码 缺省值在后台添加入库,用户填写时为非必填项


删除列表序列号,
This commit is contained in:
zhangshilin
2018-03-22 18:22:09 +08:00
parent 7ffdb1c002
commit 2d132d2b02
14 changed files with 147 additions and 760 deletions

View File

@@ -20,6 +20,9 @@
$("#ipType").change(function(){
page();
});
$("#ipType").change(function(){
page();
});
//全选及取消
$("#checkAll").change(function(){
if($("#checkAll").prop("checked")){
@@ -126,10 +129,10 @@
</form:select>
</div> --%>
<div class="pull-left">
<c:set var="spec_service_id">协议ID</c:set>
<form:select path="specServiceId" class="selectpicker select2 input-small" title="${spec_service_id}" data-live-search="true" data-live-search-placeholder="search">
<c:forEach items="${listSpecServiceId}" var="specServiceId" >
<form:option value="${specServiceId}">${specServiceId}</form:option>
<c:set var="spec_service_id">请选择协议名称</c:set>
<form:select path="specServiceId" class="selectpicker select2 input-small" title="${spec_service_id}" data-live-search="true" data-live-search-placeholder="search" onchange="page()">
<c:forEach items="${listSpecService}" var="specService" >
<form:option value="${specService.specServiceId}">${specService.specServiceName}</form:option>
</c:forEach>
</form:select>
</div>
@@ -142,20 +145,10 @@
</form:select>
</div>
<div class="pull-left">
<c:set var="src_ip">源Ip地址</c:set>
<form:select path="srcIp" class="selectpicker select2 input-small" title="${src_ip}" data-live-search="true" data-live-search-placeholder="search">
<c:forEach items="${listSrcIp}" var="srcIp" >
<form:option value="${srcIp}">${srcIp}</form:option>
</c:forEach>
</form:select>
<form:input path="srcIp" placeholder="请输入源IP地址" class="form-control input-small"/>
</div>
<div class="pull-left">
<c:set var="dst_ip">目的Ip地址</c:set>
<form:select path="dstIp" class="selectpicker select2 input-small" title="${dst_ip}" data-live-search="true" data-live-search-placeholder="search">
<c:forEach items="${listDstIp}" var="dstIp" >
<form:option value="${dstIp}">${dstIp}</form:option>
</c:forEach>
</form:select>
<form:input path="dstIp" placeholder="请输入目的IP地址" class="form-control input-small"/>
</div>
<div class="pull-left">
<form:select path="direction" class="selectpicker select2 input-small" >
@@ -296,7 +289,7 @@
<thead>
<tr>
<th><input type="checkbox" class="i-checks" id="checkAll"></th>
<th>协议id</th>
<th>协议名称</th>
<th>源IP地址</th>
<th>源地址掩码</th>
<th>源端口</th>
@@ -320,7 +313,7 @@
<c:forEach items="${page.list}" var="specificServiceHostCfg">
<tr>
<td><input type="checkbox" class="i-checks" name="check" id="${specificServiceHostCfg.hostId}" value="${specificServiceHostCfg.hostId}"></td>
<td>${specificServiceHostCfg.specServiceId }</td>
<td>${fns:getBySpecServiceId(specificServiceHostCfg.specServiceId).specServiceName }</td>
<td title="${specificServiceHostCfg.srcIp}">${fns:abbr(specificServiceHostCfg.srcIp,15)}</td>
<td title="${specificServiceHostCfg.srcIpMask}">${fns:abbr(specificServiceHostCfg.srcIpMask,15) }</td>
<td>${specificServiceHostCfg.srcPort}</td>