From cdef327c904a74acb4913fc5d3aeded848af1579 Mon Sep 17 00:00:00 2001 From: wangxin Date: Thu, 30 Aug 2018 10:15:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=89=B9=E5=AE=9A=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E7=9A=84form=E8=A1=A8=E5=8D=95=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/specific/specificServiceCfgForm.jsp | 35 +++++++++++-------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/specific/specificServiceCfgForm.jsp b/src/main/webapp/WEB-INF/views/specific/specificServiceCfgForm.jsp index 2b6b4db90..8b63fb7e1 100644 --- a/src/main/webapp/WEB-INF/views/specific/specificServiceCfgForm.jsp +++ b/src/main/webapp/WEB-INF/views/specific/specificServiceCfgForm.jsp @@ -92,7 +92,8 @@ } } }); - //$(".protocol_code").html('*:'); + $(".protocol_code").html('*:'); + $("input[name='specServiceCode']").attr("range","[300001,310000]"); $(".protocol_name").html('*:'); $(".protocol_desc").html(':'); }else{ @@ -114,15 +115,18 @@ } }); if($("[name='cfgType']").val()==1){ - //$(".protocol_code").html('*:'); + $(".protocol_code").html('*:'); + $("input[name='specServiceCode']").attr("range","[300001,310000]"); $(".protocol_name").html('*:'); $(".protocol_desc").html(':'); }else if($("[name='cfgType']").val()==2){ - //$(".protocol_code").html('*:'); + $(".protocol_code").html('*:'); + $("input[name='specServiceCode']").attr("range","[0,2147483647]"); $(".protocol_name").html('*:'); $(".protocol_desc").html(':'); }else{ - //$(".protocol_code").html('*:'); + $(".protocol_code").html('*:'); + $("input[name='specServiceCode']").attr("range","[10001,20000]"); $(".protocol_name").html('*:'); $(".protocol_desc").html(':'); } @@ -155,15 +159,18 @@ } }); if(cfgType==1){ - //$(".protocol_code").html('*:'); + $(".protocol_code").html('*:'); + $("input[name='specServiceCode']").attr("range","[300001,310000]"); $(".protocol_name").html('*:'); $(".protocol_desc").html(':'); }else if(cfgType==2){ - //$(".protocol_code").html('*:'); + $(".protocol_code").html('*:'); + $("input[name='specServiceCode']").attr("range","[0,2147483647]"); $(".protocol_name").html('*:'); $(".protocol_desc").html(':'); }else{ - //$(".protocol_code").html('*:'); + $(".protocol_code").html('*:'); + $("input[name='specServiceCode']").attr("range","[10001,20000]"); $(".protocol_name").html('*:'); $(".protocol_desc").html(':'); } @@ -254,7 +261,7 @@ - +
@@ -290,7 +297,7 @@
- +
@@ -299,7 +306,7 @@
- +
@@ -307,7 +314,7 @@
-
+
--%>
@@ -315,7 +322,7 @@
-
+