diff --git a/src/main/webapp/WEB-INF/include/form/multiple/ipInfo.jsp b/src/main/webapp/WEB-INF/include/form/multiple/ipInfo.jsp index f40a2da4d..1ba595455 100644 --- a/src/main/webapp/WEB-INF/include/form/multiple/ipInfo.jsp +++ b/src/main/webapp/WEB-INF/include/form/multiple/ipInfo.jsp @@ -69,10 +69,10 @@
- + - +
@@ -166,10 +166,10 @@
- + - +
diff --git a/src/main/webapp/WEB-INF/views/cfg/dnsIpCfgForm.jsp b/src/main/webapp/WEB-INF/views/cfg/dnsIpCfgForm.jsp index 6e4a24442..18d18b324 100644 --- a/src/main/webapp/WEB-INF/views/cfg/dnsIpCfgForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/dnsIpCfgForm.jsp @@ -77,89 +77,23 @@ $(function(){ }); $("#inputFrom").validate({ rules: { - ipType: { - required: true, - }, - srcIp: { - required: true, - checkIp: true - }, - srcIpMask: { - required: true, - }, srcPort: { - required: true, max: 65535, min: 0 }, - srcPortMask: { - required: true, - }, - dstIp: { - required: true, - checkIp: true - }, - dstIpMask: { - required: true, - }, dstPort: { - required: true, max: 65535, min: 0 - }, - dstPortMask: { - required: true, - }, - direction: { - required: true, - }, - protocol: { - required: true, - }, - 'request.id': { - required: true, } }, messages: { - ipType: { - required: '', - }, - srcIp: { - required: '', - }, - srcIpMask: { - required: '', - }, srcPort: { - required: '', max: '范围0-65535!', min: '范围0-65535!' }, - srcPortMask: { - required: '', - }, - dstIp: { - required: '', - }, - dstIpMask: { - required: '', - }, dstPort: { - required: '', max: '范围0-65535!', min: '范围0-65535!' - }, - dstPortMask: { - required: '', - }, - direction: { - required: '', - }, - protocol: { - required: '', - }, - 'request.id': { - required: '', } }, errorPlacement: function(error,element){ @@ -212,7 +146,7 @@ $(function(){
- > @@ -226,7 +160,7 @@ $(function(){
- +
@@ -235,7 +169,7 @@ $(function(){
- +
@@ -246,7 +180,7 @@ $(function(){
- +
@@ -255,7 +189,7 @@ $(function(){
- +
@@ -266,7 +200,7 @@ $(function(){
- +
@@ -275,7 +209,7 @@ $(function(){
- +
@@ -286,7 +220,7 @@ $(function(){
- +
@@ -295,7 +229,7 @@ $(function(){
- +
@@ -306,7 +240,7 @@ $(function(){
- > @@ -318,7 +252,7 @@ $(function(){
- > @@ -332,7 +266,7 @@ $(function(){
- data-live-search="true" data-live-search-placeholder="search" class="selectpicker form-control required">