分类性质标签、地域运营商作用域:融合自定义显示,添加排序,优化代码,

特定服务器管理:修正列表分页显示,条件查询,添加自定义显示,添加排序,新增修改页面添加表单校验,
协议ip配置:修正条件查询,添加自定义显示,添加排序,新增修改页面添加表单校验(ipV4\ipV6地址及掩码校验,端口校验)
This commit is contained in:
zhangshilin
2018-03-21 13:43:43 +08:00
parent d5d708a492
commit f92ae2dda4
28 changed files with 710 additions and 1000 deletions

View File

@@ -3,12 +3,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="${ctxStatic}/pages/css/dictInfo.css" />
<script type="text/javascript" src="${ctxStatic}/pages/scripts/dict.js"></script>
<script type="text/javascript" src="${ctxStatic}/pages/scripts/specificServiceForm/specificServiceFormCfg.js"></script>
<title></title>
<script type="text/javascript">
$(document).ready(function() {
jQuery.validator.addMethod("maxValue", function(value, element) {
return value >=0&&value<10000000;
return value >=0&&value<210000000;
}, "请填写正确的协议id");
//校验叶子节点无上级不得选为叶子节点
jQuery.validator.addMethod("leafHasTree",function(value,element){
@@ -52,6 +52,10 @@
'specServiceName':{
required:true
},
'groupId':{
digits:true,
maxValue:true
},
'specServiceDesc':{
required:true
},
@@ -64,12 +68,16 @@
'specServiceId':{
required:'请填写协议ID',
digits:"请填写整数数字",
maxValue: "请填写正确的协议ID",
maxValue: "请填写正确的协议ID(0~210000000)",
remote:'该协议ID已存在'
},
'specServiceName':{
required:'请填写协议名称'
},
'groupId':{
digits:'请填写整数数值',
maxValue:'请填写正确的分组Id(0~210000000)'
},
'specServiceDesc':{
required:'请填写协议描述'
},
@@ -112,7 +120,7 @@
<h3 class="page-title">
<spring:message code="configuration_manage"/>
<spring:message code="specific_service_cfg"/>
</h3>
<div class="row">
@@ -159,9 +167,9 @@
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label"><font color="red">*</font>maat端配置分组id:</label>
<label class="col-md-3 control-label">maat端配置分组id:</label>
<div class="col-md-4">
<form:input path="groupId" htmlEscape="false" maxlength="50" class="form-control"/>
<form:input path="groupId" htmlEscape="false" maxlength="50" class="form-control" placeholder="0"/>
</div>
</div>
<div class="form-group">
@@ -173,7 +181,7 @@
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">协议描述:</label>
<label class="col-md-3 control-label"><font color="red">*</font>协议描述:</label>
<div class="col-md-4">
<form:textarea path="specServiceDesc" htmlEscape="false" maxlength="2000" class="form-control"/>
</div>