wzp
2023-03-02 374ce4ffd0c459bb4067e8d5765f972668aff9b1
web/web/gwspupdate.aspx
@@ -15,13 +15,13 @@
    <link href="css/style.min862f.css?v=4.1.0" rel="stylesheet" /><link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet" />
    <link href="css/plugins/datapicker/datepicker3.css" rel="stylesheet" /><link href="css/jquery.numberedtextarea.css" rel="stylesheet" />
    <script src="js/loading.js" type="text/javascript"></script>
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/json.js"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/content.min.js?v=1.0.0"></script>
    <script src="js/plugins/iCheck/icheck.min.js"></script>
    <script src="js/plugins/sweetalert/sweetalert.min.js"></script>
    <script src="js/plugins/datapicker/bootstrap-datepicker.js"></script>
    <script type="text/javascript" src="js/jquery.min.js?v=2.1.4"></script>
    <script type="text/javascript" src="js/json.js"></script>
    <script type="text/javascript" src="js/bootstrap.min.js?v=3.3.6"></script>
    <script type="text/javascript" src="js/content.min.js?v=1.0.0"></script>
    <script type="text/javascript" src="js/plugins/iCheck/icheck.min.js"></script>
    <script type="text/javascript" src="js/plugins/sweetalert/sweetalert.min.js"></script>
    <script type="text/javascript" src="js/plugins/datapicker/bootstrap-datepicker.js"></script>
    
    <!--下面这里的JS在调试的时候要注意一下,前面需要加/web/ 例如 src="/web/js/jquery-loading.js" -->
    <!--发布版本的时候,不需要加/web/-->
@@ -30,6 +30,8 @@
    <script type="text/javascript" src="js/jquery.numberedtextarea.js"></script>
    <script type="text/javascript" src="js/mytek-pager.js"></script>
    <script src="js/mytek-pagination.js?r=11" type="text/javascript"></script>
    <script src="js/plugins/layer/layer.js"></script>
    
    <style>
        body { font-size: 12px; color: #111111; }
@@ -64,16 +66,16 @@
            }
        })(jQuery);
       $(document).ready(function(){
            $(".icheck-me").iCheck({checkboxClass:"icheckbox_square-green",radioClass:"iradio_square-green",});
            $(".input-group.date").datepicker({todayBtn:"linked",keyboardNavigation:!1,forceParse:!1,calendarWeeks:!0,autoclose:!0});
            $("[data-toggle='tooltip']").tooltip();
            $("[data-toggle=popover]").popover()
       });
    </script>
    
    <script>
          $(document).ready(function () {
        $(document).ready(function () {
            $(".icheck-me").iCheck({ checkboxClass: "icheckbox_square-green", radioClass: "iradio_square-green", });
            $(".input-group.date").datepicker({ todayBtn: "linked", keyboardNavigation: !1, forceParse: !1, calendarWeeks: !0, autoclose: !0 });
            $("[data-toggle='tooltip']").tooltip();
            $("[data-toggle=popover]").popover()
            $(".action-back").on("click",function(){
                history.go(-1);
            });
@@ -234,9 +236,40 @@
                $("#MoreParamsTable").toggle();
            });
            //生成密码
            $(".generatorPassword").on("click",function(){
                var forTarget = $("#" + $(this).attr("for"));
                forTarget.val(randomString(6));
            });
            //复制密码
            $(document).on("click", ".copyPwd", function () {
                var value = $("#Password").val();
                // for ie
                if (window.clipboardData) {
                    window.clipboardData.clearData();
                    window.clipboardData.setData('text', value);
                }
                // for modern browser
                else if (document.execCommand) {
                    var element = document.createElement('SPAN');
                    element.textContent = value;
                    document.body.appendChild(element);
                    if (document.selection) {
                        var range = document.body.createTextRange();
                        range.moveToElementText(element);
                        range.select();
                    } else if (window.getSelection) {
                        var range = document.createRange();
                        range.selectNode(element);
                        window.getSelection().removeAllRanges();
                        window.getSelection().addRange(range);
                    }
                    document.execCommand('copy');
                    element.remove ? element.remove() : element.removeNode(true);
                }
                //mytek.alert("复制成功!", false);
                layer.msg("复制成功!");
            });
            toggleTarget($("#AuditingMode")[0].value == 1 || $("#AuditingMode")[0].value == 2, "#deductSpan");
@@ -433,7 +466,8 @@
                 $(".action-modal-body").html(summary.join("\r\n"));
//               mytek.alert(summary.join("\r\n"),"success");
            }
            //修改保存
            $(".action-save").on("click",function(){
                $(this).parents("form").ajaxSubmit({
                    success: function(r){
@@ -448,9 +482,48 @@
                        }
                    }
                });
            });
            });
                  //初始化显示或隐藏
                  $("#advancedShow").show();
                  $("#advancedHide").hide();
                  $("#advancedSet").hide();
                  //显示高级参数配置:advancedDisplay
                  $("#advancedShow").on("click", function () {
                      $("#advancedShow").hide();
                      $("#advancedHide").show();
                      $("#advancedSet").show();
                  });
                  //隐藏高级参数配置:advancedDisplay
                  $("#advancedHide").on("click", function () {
                      $("#advancedHide").hide();
                      $("#advancedShow").show();
                      $("#advancedSet").hide();
                  });
            //是否发送审核
            $('#IsSendAuditSpan').delegate($("input:radio[name='IsSendAudit']"),"ifChecked", function () {
                var checkValue = $("input:radio[name='IsSendAudit']:checked").val();
                if (checkValue == 0) {
                    $("#IsSendAuditBlock").hide();
                } else {
                    $("#IsSendAuditBlock").show();
                }
            });
            //是否累计审核
            $('#IsCumulativeAuditSpan').delegate($("input:radio[name='IsCumulativeAudit']"), "ifChecked", function () {
                var checkValue = $("input:radio[name='IsCumulativeAudit']:checked").val();
                if (checkValue == 0) {
                    $("#IsCumulativeAuditBlock").hide();
                } else {
                    $("#IsCumulativeAuditBlock").show();
                }
            });
          });
        //扩展号
        function mySpIDAccessCode(obj) {    
            obj.value = obj.value.replace(/[^0-9]/g, '');
        }
@@ -466,7 +539,7 @@
            <thead>
                <tr>
                    <th colspan="4">
                       <%=ActionTitle%> 编辑账户
                       <%=ActionTitle%> 编辑账号
                    </th>
                </tr>
            </thead>
@@ -474,7 +547,7 @@
                <th>
                    状态
                </th>
                <td colspan="3">
                <td >
                    
                    <select name="Status" id="Status">
                        <option value="0" <%if(GwSp.Status==0){ %>selected<%} %>>停用</option>
@@ -482,14 +555,12 @@
                    </select>
                    
                </td>
            </tr>
            <tr>
                <th>
                    关联产品:
                </th>
                <td colspan="3">
                <td >
                     
                    <select name="ProductId" id="ProductId" disabled="disabled">
                    <select name="ProductId" id="ProductId">
                        <%=GetProductOptions(GwSp.ProductId)%>
                    </select>
                    
@@ -500,14 +571,13 @@
            </tr>
            <tr>
                <th>
                    SPID:
                    短信账号:
                </th>
                <td>
                     
                    <%if (!string.IsNullOrEmpty(this.SpID))
                      { %>
                    <%=GwSp.SpID%>
                    <input type="hidden" name="SpID" id="SpID" maxlength="6" value="<%=GwSp.SpID%>" />
                    <input type="text" name="SpID" id="SpID" maxlength="6" value="<%=GwSp.SpID%>" readonly="readonly" />
                    <input type="hidden" name="Action" id="Action" maxlength="6" value="update" />
                    <%}
                      else
@@ -515,7 +585,7 @@
                    <input type="hidden" name="Action" id="Action" maxlength="6" value="add" />
                    <input type="text" name="SpID" id="SpID" maxlength="6" value="" />
                    <%} %>
                    <span class="highlight">*</span> 6位数字,如922001
                    <span class="highlight">*</span> <!--6位数字,如922001 -->
                    
                    
                </td>
@@ -543,7 +613,7 @@
            
  <option value="2" <%if(GwSp.AuditingMode==2){ %>selected<%} %>>内容报备优先,拦截直接拒绝(先检查内容是否报备,报备则直接通过;否则进行拦截策略判断,不通过则直接产生拒绝报告(MA:0030),通过则进行“拒绝模式判断”)</option>
  <option value="3" <%if(GwSp.AuditingMode==3){ %>selected<%} %>>拦截策略+内容报备(先检查拦截策略,不通过则直接产生拒绝报告(MA:0024);否则继续检查内容是否报备,内容已报备,则直接通过,未报备则进行“拒绝模式判断”)</option>
 <option value="4" <%if(GwSp.AuditingMode==4){ %>selected<%} %>>内容报备优先,拦截写入待审核(先检查内容是否报备,报备则直接通过;否则进行拦截策略判断,不通过写待审核,通过则进行“拒绝模式判断”)</option>
 <option value="4" <%if(GwSp.AuditingMode==4){ %>selected<%} %>>内容报备优先,拦截写入待审核(先检查内容是否报备,报备则直接通过;否则进行拦截策略判断,不通过写入待审核,通过则进行“拒绝模式判断”)</option>
   <option value="5" <%if(GwSp.AuditingMode==5){ %>selected<%} %>>报备优先+免审(报备直接通过;未被拦截直接通过;未报备被拦截写入待审核)
                        </option>
                    </select>
@@ -570,20 +640,9 @@
            </tr>
            <tr>
                <th>
                    接入码鉴权模式:
                </th>
                <td colspan="3">
                    <select name="accessCodeMode" id="accessCodeMode">
                        <option value="0" selected>虚拟接入模式(接入点的接入码+网关账号扩展号)</option>
                        <option value="1" >通道直连模式(上级通道接入码+网关账号扩展号, 通道直连模式下群发、导流策略、通道组不可用)</option>
                    </select>
                </td>
            </tr>
            <tr>
                <th>
                    导流策略:
                </th>
                <td colspan="3">
                <td >
                  
                    
                     <select name="DiverterID" id="DiverterID">
@@ -593,15 +652,6 @@
                    
                    <span class="highlight DiverterIDhighlight">*</span>
                </td>
            </tr>
            <tr>
                <th>验证码分流:</th>
                <td><input type="checkbox" value="1" name="VerCodeMode" id="VerCodeMode" <%=GwSp.VerCodeMode==1? "checked":"" %> />&nbsp;是否分流验证码类短信(验证码/校验码...)</td>
                <th>省网分流:</th>
                <td><input type="checkbox" value="1" name="ProvincialNetworkMode" id="ProvincialNetworkMode" <%=GwSp.ProvincialNetworkMode==1? "checked":"" %> />&nbsp;是否启用省网分流</td>
            </tr>
            <tr>
                <th>
                    客户接入协议: &nbsp;&nbsp;
                </th>
@@ -610,28 +660,6 @@
                    <select name="ApID" id="ApID">
                        <%=GetAPOptions(GwSp.ApID)%>
                    </select>
                </td>
                <th>
                    长短信合并模式:&nbsp;&nbsp;
                </th>
                <td>
                    <select name="CombinationMode" id="CombinationMode">
              <%
                 __w.Write("<option value=\"0\" ");
                if (this.GwSp.CombinationMode == 0)
                   __w.Write("selected");
                 __w.Write(">不合并</option>\r\n   <option value=\"1\" ");
               if (this.GwSp.CombinationMode == 1)
                   __w.Write("selected");
               __w.Write(">合并分条短信(合并客户提交带UDHI头的短信)</option>\r\n    ");
        %>
                    </select>
                    
                    
                </td>
@@ -653,20 +681,29 @@
                        <div style="padding: 5px">
                            移动:<select name="CMOPID" id="CMOPID">
                                 <%=GetOpOptions(GwSp.CMOPID)%>
                            </select>&nbsp;&nbsp; 扩展参数:<input type="text" name="CMparams" id="CMparams" maxlength="600"
                            </select>
                            <!--
                            &nbsp;&nbsp; 扩展参数:<input type="text" name="CMparams" id="CMparams" maxlength="600"
                                value="<%=GwSp.CMextparms%>" style="width: 50%;" />
                            -->
                        </div>
                        <div style="padding: 5px">
                            联通:<select name="UNOPID" id="UNOPID">
                                 <%=GetOpOptions(GwSp.UNOPID)%>
                             </select>&nbsp;&nbsp; 扩展参数:<input type="text" name="CDparams" id="CDparams" maxlength="600"
                             </select>
                            <!--
                            &nbsp;&nbsp; 扩展参数:<input type="text" name="CDparams" id="CDparams" maxlength="600"
                                value="<%=GwSp.CUextparams%>" style="width: 50%;" />
                                -->
                        </div>
                        <div style="padding: 5px">
                            电信:<select name="CTOPID" id="CTOPID"> 
                                   <%=GetOpOptions(GwSp.CTOPID)%>
                            </select>&nbsp;&nbsp; 扩展参数:<input type="text" name="CTparams" id="CTparams" maxlength="600"
                            </select>
                            <!--
                            &nbsp;&nbsp; 扩展参数:<input type="text" name="CTparams" id="CTparams" maxlength="600"
                                value="<%=GwSp.CTextparams%>" style="width: 50%;" />
                                -->
                        </div>
                    </div>
                    <div class="router-type-span router-type-span-3">
@@ -698,314 +735,93 @@
                <th>
                    密码:
                </th>
                <td colspan="3">
                    <input type="text" name="Password" id="Password" style="width: 150px;" maxlength="50"
                <td >
                    <input type="password" name="Password" id="Password" style="width: 150px;" maxlength="50"
                        value="<%=GwSp.Password%>" />
                    <a href="javascript:;" class="generatorPassword" for="Password">生成密码</a>
                    &nbsp;&nbsp;<a href="javascript:;" class="copyPwd" >复制密码</a>
                </td>
                    <th>
                        单价:
                    </th>
                    <td>
                        <input type="text" name="Price" id="Price" style="width: 50px;" maxlength="5" value="<%=(double)GwSp.Price/1000%>"
                            onkeyup="value=value.replace(/[^\d\.]/g,'')" onpaste="value=value.replace(/[^\d\.]/g,'')"
                            oncontextmenu="return false" />
                        元/条<span class="highlight">*</span>
                    </td>
            </tr>
            <tr>
                <th>
                    是否允许扩展子号:
                </th>
                <td>
                    <select name="extnoExteNsionMode" id="extnoExteNsionMode">
                        <option value="0" <%if(GwSp.ExtnoExtensionMode==0){ %>selected<%} %>>允许客户在扩展号后继续扩展子号</option>
                        <option value="1" <%if(GwSp.ExtnoExtensionMode==1){ %>selected<%} %>>禁止客户在扩展号后继续扩展子号(短信不再校验扩展号,而使用固定的扩展号进行下发)</option>
                    </select>
                <tr>
                    <th>
                        余额告警阈值:
                    </th>
                    <td>
                        <!--
                        <input type="text" name="BalanceThreshold" id="BalanceThreshold" style="width: 200px;"
                            maxlength="10" value="<%=GwSp.BalanceThreshold/1000%>" onkeyup="value=value.replace(/[^\d]/g,'')"
                            onpaste="value=value.replace(/[^\d]/g,'')" oncontextmenu="return false" />
                        元-->
                        <input type="text" name="BalanceThreshold" id="BalanceThreshold" style="width: 200px;"
                            maxlength="10" value="<%=GwSp.BalanceThreshold%>" onkeyup="value=value.replace(/[^\d]/g,'')"
                            onpaste="value=value.replace(/[^\d]/g,'')" oncontextmenu="return false" />
                        条
                    </td>
                    <th>
                        余额告警号码:
                    </th>
                    <td>
                        <!--
                        <input type="text" name="AlarmMobile" id="AlarmMobile" style="width: 200px;" maxlength="50"
                            value="<!%=GwSp.AlarmMobile%>" />-->
                        <textarea class="form-control" name="AlarmMobile" id="AlarmMobile" rows="4"><%=GwSp.AlarmMobile%></textarea>
                        <div class="text-muted">多个号码时,每行一个号码。</div>
                    </td>
                </tr>
                <tr>
                    <th>
                        门限(账号提交速度):
                    </th>
                    <td>
                        <input type="text" name="Threshold" id="Threshold" style="width: 50px;" maxlength="5"
                            value="<%=GwSp.Threshold%>" onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                            oncontextmenu="return false" />条/每秒 <span class="highlight">*</span>
                    </td>
                </tr>
                <tr>
                    
                </td>
                <th>
                    扩展号:
                </th>
                <td>
                    &nbsp;<input type="text" name="AccessCode" id="AccessCode" style="width: 150px;"
                        maxlength="16" onkeyup="mySpIDAccessCode(this)" value="<%=GwSp.AccessCode%>" />
                    <span class="highlight"></span>只能填数字
                </td>
            </tr>
            <tr>
                <th>
                    客户端IP:
                </th>
                <td>
                    <input type="text" name="ClientIp" id="ClientIp" style="width: 250px;" maxlength="500"
                        value="<%=GwSp.ClientIp%>" />
                    0.0.0.0 表示不限制客户端IP地址,多个IP 用英文竖线“|”隔开
                </td>
                <th>
                    客户端端口:
                </th>
                <td>
                    <input type="text" name="ClientPort" id="ClientPort" style="width: 50px;" maxlength="5"
                        value="<%=GwSp.ClientPort%>" onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                        oncontextmenu="return false" />&nbsp;如不限定客户端口,则默认0
                </td>
            </tr>
            <tr>
                <th>
                    单价:
                </th>
                <td>
                    <input type="text" name="Price" id="Price" style="width: 50px;" maxlength="5" value="<%=(double)GwSp.Price/1000%>"
                        onkeyup="value=value.replace(/[^\d\.]/g,'')" onpaste="value=value.replace(/[^\d\.]/g,'')"
                        oncontextmenu="return false" />
                    元/条<span class="highlight">*</span>
                </td>
                <th>
                    优先级:
                </th>
                <td>
                    <select name="Priority" id="Priority">
                    <th>
                        付费方式:
                    </th>
                    <td>
                        <select name="ChargeType" id="ChargeType">
                      
                             <option value="1" <%if(GwSp.ChargeType==1){ %>selected<%} %>>预付费</option>
                            <option value="2" <%if(GwSp.ChargeType==2){ %>selected<%} %>>后付费</option>
                        
                        <option value="-2" <%if(GwSp.Priority==-2){ %>selected<%} %>>最低</option>
                        <option value="-1" <%if(GwSp.Priority==-1){ %>selected<%} %>>低</option>
                        <option value="0" <%if(GwSp.Priority==0){ %>selected<%} %>>普通</option>
                        <option value="1" <%if(GwSp.Priority==1){ %>selected<%} %>>高</option>
                        <option value="2" <%if(GwSp.Priority==2){ %>selected<%} %>>最高</option>
                    </select>
                    <span class="highlight">*</span>
                </td>
            </tr>
            <tr>
                <th>
                    余额告警阈值:
                </th>
                <td>
                    <input type="text" name="BalanceThreshold" id="BalanceThreshold" style="width: 200px;"
                        maxlength="10" value="<%=GwSp.BalanceThreshold/1000%>" onkeyup="value=value.replace(/[^\d]/g,'')"
                        onpaste="value=value.replace(/[^\d]/g,'')" oncontextmenu="return false" />
                    元
                </td>
                <th>
                    余额告警号码:
                </th>
                <td>
                    <input type="text" name="AlarmMobile" id="AlarmMobile" style="width: 200px;" maxlength="50"
                        value="<%=GwSp.AlarmMobile%>" />
                </td>
            </tr>
            <tr>
                <th>
                    门限(账号提交速度):
                </th>
                <td>
                    <input type="text" name="Threshold" id="Threshold" style="width: 50px;" maxlength="5"
                        value="<%=GwSp.Threshold%>" onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                        oncontextmenu="return false" />条/每秒 <span class="highlight">*</span>
                </td>
                <th>
                    付费方式:
                </th>
                <td>
                    <select name="ChargeType" id="ChargeType">
                         <option value="1" <%if(GwSp.ChargeType==1){ %>selected<%} %>>预付费</option>
                        <option value="2" <%if(GwSp.ChargeType==2){ %>selected<%} %>>后付费</option>
                    </select>
                    <span class="highlight">*</span>
                </td>
            </tr>
            <tr>
                <th>
                    最大连接数:
                </th>
                <td>
                    <input type="text" name="MaxConnCount" id="MaxConnCount" style="width: 150px;" maxlength="2"
                        onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                        oncontextmenu="return false" value="<%=GwSp.MaxConnCount%>" />
                </td>
                <th>
                    允许时段:
                </th>
                <td>
                    <input type="text" name="TimePermitting" id="TimePermitting" style="width: 150px;"
                        maxlength="50" value="<%=GwSp.TimePermitting%>" />
                    &nbsp;格式如:(08:00-19:00)
                </td>
            </tr>
            <tr>
                <th>
                    全局黑名单 :
                </th>
                <td>
                    <select id="BlackMode" name="BlackMode">
                        <option value="1" <%if(GwSp.BlackMode==1){ %>selected<%} %>>生效</option>
                        <option value="0" <%if(GwSp.BlackMode==0){ %>selected<%} %>>不生效</option>
                    </select>
                </td>
                <th>是否启用携号转网</th>
                <td>
                    <select id="TransferFlag" name="TransferFlag">
                        <option value="0" <%if(GwSp.TransferFlag==0){ %>selected<%} %>>启用</option>
                        <option value="1" <%if(GwSp.TransferFlag==1){ %>selected<%} %>>不启用</option>
                    </select>
                </td>
            </tr>
            <tr>
                <th>
                    单号码下发次数
                </th>
                <td colspan="3" id="McExpression">
                    <div>
                        <input style="width: 50px;" type="text" name="MCPM1" id="MCPM1" maxlength="4" value="<%__w.Write(this.McCount(0, this.GwSp.McExpression));%>"
                            onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                            oncontextmenu="return false" />条/1分钟;
                        <input style="width: 50px;" type="text" name="MCPM2" id="MCPM2" maxlength="4" value="<%__w.Write(this.McCount(1, this.GwSp.McExpression));%>"
                            onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                            oncontextmenu="return false" />条/5分钟;
                        <input style="width: 50px;" type="text" name="MCPM3" id="MCPM3" maxlength="4" value="<%__w.Write(this.McCount(2, this.GwSp.McExpression));%>"
                            onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                            oncontextmenu="return false" />条/10分钟;
                        <input style="width: 50px;" type="text" name="MCPM4" id="MCPM4" maxlength="4" value="<%__w.Write(this.McCount(3, this.GwSp.McExpression));%>"
                            onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                            oncontextmenu="return false" />条/半小时;
                        <input style="width: 50px;" type="text" name="MCPM5" id="MCPM5" maxlength="4" value="<%__w.Write(this.McCount(4, this.GwSp.McExpression));%>"
                            onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                            oncontextmenu="return false" />条/1小时;
                        <input style="width: 50px;" type="text" name="MCPM6" id="MCPM6" maxlength="4" value="<%__w.Write(this.McCount(5, this.GwSp.McExpression));%>"
                            onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                            oncontextmenu="return false" />条/2小时;
                        <input style="width: 50px;" type="text" name="MCPM7" id="MCPM7" maxlength="4" value="<%__w.Write(this.McCount(6, this.GwSp.McExpression));%>"
                            onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                            oncontextmenu="return false" />条/4小时;
                        <input style="width: 50px;" type="text" name="MCPM8" id="MCPM8" maxlength="4" value="<%__w.Write(this.McCount(7, this.GwSp.McExpression));%>"
                            onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                            oncontextmenu="return false" />条/12小时;
                        <input style="width: 50px;" type="text" name="MCPM9" id="MCPM9" maxlength="4" value="<%__w.Write(this.McCount(8, this.GwSp.McExpression));%>"
                            onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                            oncontextmenu="return false" />条24小时;
                    </div>
                    <div class="text-muted">
                        为零时表示该条件不生效</div>
                </td>
            </tr>
            <tr>
                <th>
                    强制签名
                </th>
                <td colspan="3">
                    <span class="highlight" style="margin-left: 5px;">只限于SMS57/SOAP57协议</span>
                    <div style="margin-top: 5px; margin-left: 5px;">
                        <select name="ForceSignFlag" id="ForceSignFlag" style="width: 70px;">
                            <option value="0" <%if(GwSp.ForceSignFlag==0){ %>selected<%} %>>停用</option>
                            <option value="1" <%if(GwSp.ForceSignFlag==1){ %>selected<%} %>>前置</option>
                            <option value="2" <%if(GwSp.ForceSignFlag==2){ %>selected<%} %>>后置</option>
                        </select>&nbsp;&nbsp;&nbsp;签名:<input type="text" name="ForceSign" id="ForceSign"
                            value="<%=GwSp.ForceSign%>" style="width: 40%" />
                    </div>
                </td>
            </tr>
            <tr>
                <th>
                    启用签名
                </th>
                <td colspan="3">
                    <select id="signatureMode" name="signatureMode">
                        </select>
                        <span class="highlight">*</span>
                    </td>
                    
                         <option value="2" <%if(GwSp.SignatureMode==2){ %>selected<%} %>>校检前置签名</option>
                         <option value="1" <%if(GwSp.SignatureMode==1){ %>selected<%} %>>校检后置签名</option>
                         <option value="0" <%if(GwSp.SignatureMode==0){ %>selected<%} %>>不校检签名</option>
                    </select>
                    <span class="highlight"></span>签名,每行一个签名,签名必须带“【】”,签名后面可以跟扩展号实现一客一签,其中扩展号必须以客户账号扩展号开头;例如“【签名1】1234”
                </td>
            </tr>
            <tr style="display: none;" id="signatures-msg">
                <th>
                    报备签名:
                </th>
                <td colspan="3">
                    <textarea name="signatures" id="signatures" style="width: 100%" cols="100" rows="8"><%__w.Write(this.GwSp.Signatures); %></textarea>
                </td>
            </tr>
            <tr>
                <th>是否开启内容报备 :
                </th>
                <td colspan="3">
                    <select id="enabled" name="enabled">
                        <%
                            __w.Write("<option value=\"1\" ");
                            if (this.GetGwspEnabled(this.GwSp.SpID) == 1)
                                __w.Write("selected");
                            __w.Write(">开启免审内容报备</option>\r\n   <option value=\"0\" ");
                            if (this.GetGwspEnabled(this.GwSp.SpID) == 0)
                                __w.Write("selected");
                            __w.Write(">关闭免审内容报备</option>\r\n   ");
                        %>
                    </select><span class="highlight"></span>免审核报备内容,每行一条内容,“*” 号代替 0-10个字符,单行报备长度不要超过70字
                </td>
            </tr>
            <tr style="display: none;" id="control_patterncontent">
                <th>
                    内容报备:
                </th>
                <td colspan="3">
                    <textarea name="patternContent" id="patternContent" style="width: 100%" cols="100"
                        rows="8"><%__w.Write(this.GetGwspCtpattern(this.GwSp.SpID)); %></textarea>
                </td>
            </tr>
            <!-- 自动补发配置 -->
            <tr>
                <th>是否开启自动补发:
                </th>
                <td colspan="3">
                    <select id="resendEnabled" name="resendEnabled">
                        <%
                            __w.Write("<option value=\"1\" ");
                            if (this.GwSp.RESEND_STATUS == 1)
                                __w.Write("selected");
                            __w.Write(">开启失败自动补发</option>\r\n   <option value=\"0\" ");
                            if (this.GwSp.RESEND_STATUS == 0)
                                __w.Write("selected");
                            __w.Write(">关闭失败自动补发</option>\r\n   ");
                        %>
                    </select><span class="highlight"></span>开启自动补发功能,失败的号码会自动从已配置的失败补发通道发送一次
                </td>
            </tr>
            <!--自动补发通道组配置显示-->
          <%--  <tr  style="display: none;" id="control_resendContent">
                <th>
                    通道组信息:
                </th>
                <td colspan="3">
                    <div>
                        <div style="padding: 5px">
                            <label class="control-label ">
                                移动-补发通道组</label>
                            <select name="ReSendCmGroupID" id="ReSendCmGroupID">
                             <%=GetOpGroupOptions(GwSp.RESEND_CM_GROUPID) %>
                             </select></div>
                        <div style="padding: 5px">
                            <label class="control-label ">
                                联通-补发通道组</label>
                            <select name="ReSendCuGroupID" id="ReSendCuGroupID">
                             <%=GetOpGroupOptions(GwSp.RESEND_CU_GROUPID)%>
                                </select></div>
                        <div style="padding: 5px">
                            <label class="control-label">
                                电信-补发通道组</label>
                            <select name="ReSendCtGroupID" id="ReSendCtGroupID">
                            <%=GetOpGroupOptions(GwSp.RESEND_CT_GROUPID)%>
                             </select></div>
                    </div>
                </td>
            </tr>--%>
            <!-- 自动补发配置-end -->
                    <th>
                        <span style="color:red">是否自动返还失败的条数:</span>
                    </th>
                    <td>
                        <select name="IsAutoReturn" id="IsAutoReturn">
                             <option value="0" <%if(GwSp.IsAutoReturn==0){ %>selected<%} %>>否</option>
                            <option value="1" <%if(GwSp.IsAutoReturn==1){ %>selected<%} %>>是</option>
                        </select>
                        <span class="highlight">*</span>
                    </td>
                </tr>
                <%--<tr>
                    <th>扣费方式:</th>
                    <td>
                        <input type="radio" class="icheck-me" name="DeductionMode" value="1" <%=(GwSp.DeductionMode==1 ? "checked":"")%>/><label>提交量</label>
                        <input type="radio" class="icheck-me" name="DeductionMode" value="2" <%=(GwSp.DeductionMode==2 ? "checked":"")%> /><label>成功量</label>
                        </td>
                </tr>--%>
            <tr>
                <th>
@@ -1016,6 +832,363 @@
                </td>
            </tr>
        </table>
        <!-- 高级参数配置:开始 -->
        <a href="javascript:;" id="advancedShow" ><b>高级参数配置[显示]</b></a>
        <a href="javascript:;" id="advancedHide" ><b>高级参数配置[隐藏]</b></a>
        <div id="advancedSet" >
            <table class="table table-striped table-bordered table-hover">
                <tr>
                    <th>
                        是否允许扩展子号:
                    </th>
                    <td>
                        <select name="extnoExteNsionMode" id="extnoExteNsionMode">
                            <option value="0" <%if(GwSp.ExtnoExtensionMode==0){ %>selected<%} %>>允许客户在扩展号后继续扩展子号</option>
                            <option value="1" <%if(GwSp.ExtnoExtensionMode==1){ %>selected<%} %>>禁止客户在扩展号后继续扩展子号(短信不再校验扩展号,而使用固定的扩展号进行下发)</option>
                        </select>
                    </td>
                    <th>
                        扩展号:
                    </th>
                    <td>
                        &nbsp;<input type="text" name="AccessCode" id="AccessCode" style="width: 150px;"
                            maxlength="16" onkeyup="mySpIDAccessCode(this)" value="<%=GwSp.AccessCode%>" />
                        <span class="highlight"></span>只能填数字
                    </td>
                </tr>
                <tr>
                    <th>
                        长短信合并模式:&nbsp;&nbsp;
                    </th>
                    <td>
                        <select name="CombinationMode" id="CombinationMode">
                          <%
                             __w.Write("<option value=\"0\" ");
                            if (this.GwSp.CombinationMode == 0)
                               __w.Write("selected");
                             __w.Write(">不合并</option>\r\n   <option value=\"1\" ");
                           if (this.GwSp.CombinationMode == 1)
                               __w.Write("selected");
                           __w.Write(">合并分条短信(合并客户提交带UDHI头的短信)</option>\r\n    ");
                            %>
                        </select>
                    </td>
                    <th>
                        优先级:
                    </th>
                    <td>
                        <select name="Priority" id="Priority">
                            <option value="-2" <%if(GwSp.Priority==-2){ %>selected<%} %>>最低</option>
                            <option value="-1" <%if(GwSp.Priority==-1){ %>selected<%} %>>低</option>
                            <option value="0" <%if(GwSp.Priority==0){ %>selected<%} %>>普通</option>
                            <option value="1" <%if(GwSp.Priority==1){ %>selected<%} %>>高</option>
                            <option value="2" <%if(GwSp.Priority==2){ %>selected<%} %>>最高</option>
                        </select>
                        <span class="highlight">*</span>
                    </td>
                </tr>
                <tr>
                    <th>
                        客户端IP:
                    </th>
                    <td>
                        <input type="text" name="ClientIp" id="ClientIp" style="width: 250px;" maxlength="500"
                            value="<%=GwSp.ClientIp%>" />
                        0.0.0.0 表示不限制客户端IP地址,多个IP 用英文竖线“|”隔开
                    </td>
                    <th>
                        最大连接数:
                    </th>
                    <td>
                        <input type="text" name="MaxConnCount" id="MaxConnCount" style="width: 150px;" maxlength="2"
                            onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                            oncontextmenu="return false" value="<%=GwSp.MaxConnCount%>" />
                    </td>
                </tr>
                    <!--
                <tr>
                    <th>
                        客户端端口:
                    </th>
                    <td>
                        <input type="text" name="ClientPort" id="ClientPort" style="width: 50px;" maxlength="5"
                            value="<!%=GwSp.ClientPort%>" onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                            oncontextmenu="return false" />&nbsp;如不限定客户端口,则默认0
                    </td>
                    <th>
                        允许时段:
                    </th>
                    <td>
                        <input type="text" name="TimePermitting" id="TimePermitting" style="width: 150px;"
                            maxlength="50" value="<!%=GwSp.TimePermitting%>" />
                        &nbsp;格式如:(08:00-19:00)
                    </td>
                </tr>
                    -->
                <tr>
                    <th>
                        全局黑名单 :
                    </th>
                    <td>
                        <select id="BlackMode" name="BlackMode">
                            <option value="1" <%if(GwSp.BlackMode==1){ %>selected<%} %>>生效</option>
                            <option value="0" <%if(GwSp.BlackMode==0){ %>selected<%} %>>不生效</option>
                        </select>
                    </td>
                    <th>是否启用携号转网</th>
                    <td>
                        <select id="TransferFlag" name="TransferFlag">
                            <option value="0" <%if(GwSp.TransferFlag==0){ %>selected<%} %>>启用</option>
                            <option value="1" <%if(GwSp.TransferFlag==1){ %>selected<%} %>>不启用</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <th>
                        单号码下发次数
                    </th>
                    <td colspan="3" id="McExpression">
                        <div>
                            <input style="width: 50px;" type="text" name="MCPM1" id="MCPM1" maxlength="4" value="<%__w.Write(this.McCount(0, this.GwSp.McExpression));%>"
                                onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                                oncontextmenu="return false" />条/1分钟;
                            <input style="width: 50px;" type="text" name="MCPM2" id="MCPM2" maxlength="4" value="<%__w.Write(this.McCount(1, this.GwSp.McExpression));%>"
                                onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                                oncontextmenu="return false" />条/5分钟;
                            <input style="width: 50px;" type="text" name="MCPM3" id="MCPM3" maxlength="4" value="<%__w.Write(this.McCount(2, this.GwSp.McExpression));%>"
                                onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                                oncontextmenu="return false" />条/10分钟;
                            <input style="width: 50px;" type="text" name="MCPM4" id="MCPM4" maxlength="4" value="<%__w.Write(this.McCount(3, this.GwSp.McExpression));%>"
                                onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                                oncontextmenu="return false" />条/半小时;
                            <input style="width: 50px;" type="text" name="MCPM5" id="MCPM5" maxlength="4" value="<%__w.Write(this.McCount(4, this.GwSp.McExpression));%>"
                                onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                                oncontextmenu="return false" />条/1小时;
                            <input style="width: 50px;" type="text" name="MCPM6" id="MCPM6" maxlength="4" value="<%__w.Write(this.McCount(5, this.GwSp.McExpression));%>"
                                onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                                oncontextmenu="return false" />条/2小时;
                            <input style="width: 50px;" type="text" name="MCPM7" id="MCPM7" maxlength="4" value="<%__w.Write(this.McCount(6, this.GwSp.McExpression));%>"
                                onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                                oncontextmenu="return false" />条/4小时;
                            <input style="width: 50px;" type="text" name="MCPM8" id="MCPM8" maxlength="4" value="<%__w.Write(this.McCount(7, this.GwSp.McExpression));%>"
                                onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                                oncontextmenu="return false" />条/12小时;
                            <input style="width: 50px;" type="text" name="MCPM9" id="MCPM9" maxlength="4" value="<%__w.Write(this.McCount(8, this.GwSp.McExpression));%>"
                                onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                                oncontextmenu="return false" />条24小时;
                        </div>
                        <div class="text-muted">
                            为零时表示该条件不生效</div>
                    </td>
                </tr>
                <tr>
                    <th>
                        强制签名
                    </th>
                    <td colspan="3">
                        <!--<span class="highlight" style="margin-left: 5px;">只限于SMS57/SOAP57协议</span>-->
                        <span class="highlight" style="margin-left: 5px;">只限于HTTP协议</span>
                        <div style="margin-top: 5px; margin-left: 5px;">
                            <select name="ForceSignFlag" id="ForceSignFlag" style="width: 70px;">
                                <option value="0" <%if(GwSp.ForceSignFlag==0){ %>selected<%} %>>停用</option>
                                <option value="1" <%if(GwSp.ForceSignFlag==1){ %>selected<%} %>>前置</option>
                                <option value="2" <%if(GwSp.ForceSignFlag==2){ %>selected<%} %>>后置</option>
                            </select>&nbsp;&nbsp;&nbsp;签名:<input type="text" name="ForceSign" id="ForceSign"
                                value="<%=GwSp.ForceSign%>" style="width: 40%" />
                        </div>
                    </td>
                </tr>
                <tr>
                    <th>
                        启用签名
                    </th>
                    <td colspan="3">
                        <select id="signatureMode" name="signatureMode">
                             <option value="2" <%if(GwSp.SignatureMode==2){ %>selected<%} %>>校检前置签名</option>
                             <option value="1" <%if(GwSp.SignatureMode==1){ %>selected<%} %>>校检后置签名</option>
                             <option value="0" <%if(GwSp.SignatureMode==0){ %>selected<%} %>>不校检签名</option>
                        </select>
                        <span class="highlight"></span>签名,每行一个签名,签名必须带“【】”,签名后面可以跟扩展号实现一客一签,其中扩展号必须以客户账号扩展号开头;例如“【签名1】1234”
                    </td>
                </tr>
                <tr style="display: none;" id="signatures-msg">
                    <th>
                        报备签名:
                    </th>
                    <td colspan="3">
                        <textarea name="signatures" id="signatures" style="width: 100%" cols="100" rows="8"><%__w.Write(this.GwSp.Signatures); %></textarea>
                    </td>
                </tr>
                <tr>
                    <th>是否开启内容报备 :
                    </th>
                    <td colspan="3">
                        <select id="enabled" name="enabled">
                            <%
                                __w.Write("<option value=\"1\" ");
                                if (this.GetGwspEnabled(this.GwSp.SpID) == 1)
                                    __w.Write("selected");
                                __w.Write(">开启免审内容报备</option>\r\n   <option value=\"0\" ");
                                if (this.GetGwspEnabled(this.GwSp.SpID) == 0)
                                    __w.Write("selected");
                                __w.Write(">关闭免审内容报备</option>\r\n   ");
                            %>
                        </select><span class="highlight"></span>免审核报备内容,每行一条内容,“*” 号代替 0-10个字符,单行报备长度不要超过70字
                    </td>
                </tr>
                <tr style="display: none;" id="control_patterncontent">
                    <th>
                        内容报备:
                    </th>
                    <td colspan="3">
                        <textarea name="patternContent" id="patternContent" style="width: 100%" cols="100"
                            rows="8"><%__w.Write(this.GetGwspCtpattern(this.GwSp.SpID)); %></textarea>
                    </td>
                </tr>
                <!-- 自动补发配置 -->
                <tr>
                    <th>是否开启自动补发:
                    </th>
                    <td colspan="3">
                        <select id="resendEnabled" name="resendEnabled">
                            <%
                                __w.Write("<option value=\"1\" ");
                                if (this.GwSp.RESEND_STATUS == 1)
                                    __w.Write("selected");
                                __w.Write(">开启失败自动补发</option>\r\n   <option value=\"0\" ");
                                if (this.GwSp.RESEND_STATUS == 0)
                                    __w.Write("selected");
                                __w.Write(">关闭失败自动补发</option>\r\n   ");
                            %>
                        </select><span class="highlight"></span>开启自动补发功能,失败的号码会自动从已配置的失败补发通道发送一次
                    </td>
                </tr>
                <!--自动补发通道组配置显示-->
              <%--  <tr  style="display: none;" id="control_resendContent">
                    <th>
                        通道组信息:
                    </th>
                    <td colspan="3">
                        <div>
                            <div style="padding: 5px">
                                <label class="control-label ">
                                    移动-补发通道组</label>
                                <select name="ReSendCmGroupID" id="ReSendCmGroupID">
                                 <%=GetOpGroupOptions(GwSp.RESEND_CM_GROUPID) %>
                                 </select></div>
                            <div style="padding: 5px">
                                <label class="control-label ">
                                    联通-补发通道组</label>
                                <select name="ReSendCuGroupID" id="ReSendCuGroupID">
                                 <%=GetOpGroupOptions(GwSp.RESEND_CU_GROUPID)%>
                                    </select></div>
                            <div style="padding: 5px">
                                <label class="control-label">
                                    电信-补发通道组</label>
                                <select name="ReSendCtGroupID" id="ReSendCtGroupID">
                                <%=GetOpGroupOptions(GwSp.RESEND_CT_GROUPID)%>
                                 </select></div>
                        </div>
                    </td>
                </tr>--%>
                <!-- 自动补发配置-end -->
                <tr>
                    <th>
                        接入码鉴权模式:
                    </th>
                    <td colspan="3">
                        <select name="accessCodeMode" id="accessCodeMode">
                            <option value="0" selected>虚拟接入模式(接入点的接入码+网关账号扩展号)</option>
                            <option value="1" >通道直连模式(上级通道接入码+网关账号扩展号, 通道直连模式下群发、导流策略、通道组不可用)</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <th>验证码分流:</th>
                    <td><input type="checkbox" value="1" name="VerCodeMode" id="VerCodeMode" <%=GwSp.VerCodeMode==1? "checked":"" %> />&nbsp;是否分流验证码类短信(验证码/校验码...)</td>
                    <th>省网分流:</th>
                    <td><input type="checkbox" value="1" name="ProvincialNetworkMode" id="ProvincialNetworkMode" <%=GwSp.ProvincialNetworkMode==1? "checked":"" %> />&nbsp;是否启用省网分流</td>
                </tr>
                <%--<tr>
                    <th>分包条数:</th>
                    <td>
                        <input type="text" name="SubPackageNum" id="SubPackageNum" style="width: 50px;" maxlength="10" value="<%=(double)GwSp.SubPackageNum%>"
                            onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                            oncontextmenu="return false" />
                        条<span class="highlight">*</span>&nbsp;表示后台数据分包数量,不能为0,否则没办法分包,默认4000个号码一个数据包,建议在2000至5000</td>
                    <th>短信单次提交最小限制:</th>
                    <td>
                        <input type="text" name="SingleSubmitMinRestrict" id="SingleSubmitMinRestrict" style="width: 50px;" maxlength="10" value="<%=(double)GwSp.SingleSubmitMinRestrict%>"
                            onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                            oncontextmenu="return false" />
                        &nbsp;默认0表示不限制,启用限制后小于该提交条数的将被拒绝。</td>
                </tr>--%>
                <tr>
                    <th>是否显示单价:</th>
                    <td>
                        <input type="radio" class="icheck-me" name="IsDispalyPrice" value="0" <%=(GwSp.IsDispalyPrice==0 ? "checked":"")%> /><label>否</label>
                        <input type="radio" class="icheck-me" name="IsDispalyPrice" value="1" <%=(GwSp.IsDispalyPrice==1 ? "checked":"")%> /><label>是</label>
                        </td>
                </tr>
                <%--<tr>
                    <th>发送是否审核:</th>
                    <td colspan="3">
                        <span id="IsSendAuditSpan">
                        <input type="radio" class="icheck-me" name="IsSendAudit" value="0" <%=(GwSp.IsSendAudit==0 ? "checked":"")%> /><label>否</label>
                        <input type="radio" class="icheck-me" name="IsSendAudit" value="1" <%=(GwSp.IsSendAudit==1 ? "checked":"")%> /><label>是</label>
                        </span>
                        <br />
                        <div id="IsSendAuditBlock" >
                            低于:<input type="text" name="BelowNumAudit" id="BelowNumAudit" style="width: 50px;" maxlength="10" value="<%=(double)GwSp.BelowNumAudit%>"
                                onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                                oncontextmenu="return false" />
                            &nbsp;条需要审核
                            <br />
                            大于:<input type="text" name="AboveNumAudit" id="AboveNumAudit" style="width: 50px;" maxlength="10" value="<%=(double)GwSp.AboveNumAudit%>"
                                onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                                oncontextmenu="return false" />
                            &nbsp;条需要审核
                            <br />
                            <span id="IsCumulativeAuditSpan">
                            是否累计审核:<input type="radio" class="icheck-me" name="IsCumulativeAudit" value="0" <%=(GwSp.IsCumulativeAudit==0 ? "checked":"")%> /><label>否</label>
                            <input type="radio" class="icheck-me" name="IsCumulativeAudit" value="1" <%=(GwSp.IsCumulativeAudit==1 ? "checked":"")%> /><label>是</label>
                            &nbsp;&nbsp;用于客户每次提交几条的情况
                            </span>
                            <br />
                            <div id="IsCumulativeAuditBlock">
                                累计条数:<input type="text" name="CumulativeAuditNum" id="CumulativeAuditNum" style="width: 50px;" maxlength="10" value="<%=(double)GwSp.CumulativeAuditNum%>"
                                    onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                                    oncontextmenu="return false" />
                                &nbsp;累计时间:<input type="text" name="CumulativeAuditTime" id="CumulativeAuditTime" style="width: 50px;" maxlength="10" value="<%=(double)GwSp.CumulativeAuditTime%>"
                                    onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                                    oncontextmenu="return false" />小时(表示从当前任务的前多少小时开始计算)
                            </div>
                        </div>
                    </td>
                </tr>--%>
            </table>
        </div>
        <!-- 高级参数配置:结束 -->
        <div style="padding: 10px; text-align: right;">
            <a class="btn btn-primary action-save" href="javascript:;">保存</a> <a class="btn btn-default  action-back"
                href="javascript:;">返回</a>