修改group_id国际化中文
隐藏dnsResStrategy 无策略配置信息 去掉dnsResStrategy新增的默认策略号 来函信息增加title的必输项验证 特定协议隐藏配置分组ID
This commit is contained in:
@@ -77,6 +77,7 @@ $(function(){
|
||||
<label class="control-label col-md-3"><spring:message code="policy_name"/></label>
|
||||
<div class="col-md-6">
|
||||
<select name="dnsStrategyId" class="selectpicker show-tick form-control">
|
||||
<option value="0" ><spring:message code="select"/></option>
|
||||
<c:forEach items="${dnsResStrategys }" var="dnsStrategy">
|
||||
<option value="${dnsStrategy.cfgId}" <c:if test="${_cfg.dnsStrategyId==dnsStrategy.cfgId }">selected</c:if>><spring:message code="${dnsStrategy.cfgDesc}"/></option>
|
||||
</c:forEach>
|
||||
|
||||
@@ -24,11 +24,6 @@ $(function(){
|
||||
var flag = true;
|
||||
var cfgId=$("#cfgId").val();
|
||||
var message="";
|
||||
if(cfgId <=100 && cfgId != 0){
|
||||
//message="策略号值只能为0,或大于100";
|
||||
message="<spring:message code='policy_number_value_valid'/>";
|
||||
flag=false;
|
||||
}
|
||||
if(flag){
|
||||
if($("#isAdd").val() == 'true'){
|
||||
$.ajax({
|
||||
@@ -103,7 +98,7 @@ $(function(){
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="policy_number"/></label>
|
||||
<div class="col-md-6">
|
||||
<input class="form-control required number" <c:if test="${!isAdd}" >readonly="true"</c:if> type="text" id="cfgId" name="cfgId" value="${_cfg.cfgId}">
|
||||
<input class="form-control required number" <c:if test="${!isAdd}" >readonly="true"</c:if> type="text" id="cfgId" min="101" name="cfgId" value="${_cfg.cfgId}">
|
||||
</div>
|
||||
<div for="cfgId"></div>
|
||||
</div>
|
||||
|
||||
@@ -286,7 +286,9 @@
|
||||
<tbody>
|
||||
<c:forEach items="${page.list }" var="cfg" varStatus="status" step="1">
|
||||
<tr>
|
||||
<td><input type="checkbox" class="i-checks" serviceId="${cfg.serviceId}" id="${cfg.cfgId}" value="${cfg.isAudit}"></td>
|
||||
<td>
|
||||
<input type="checkbox" class="i-checks" serviceId="${cfg.serviceId}" id="${cfg.cfgId}" value="${cfg.isAudit}">
|
||||
</td>
|
||||
<td>${cfg.cfgId }</td>
|
||||
<td>
|
||||
<a href="javascript:;" data-original-title="${cfg.cfgDesc}"
|
||||
|
||||
@@ -42,9 +42,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label"><spring:message code="title"></spring:message>:</label>
|
||||
<label class="col-md-3 control-label"><font color="red">*</font><spring:message code="title"></spring:message>:</label>
|
||||
<div class="col-md-4">
|
||||
<input type="text" class="form-control" name="requestTitle" maxlength="512" value="${requestInfo.requestTitle}">
|
||||
<input type="text" class="form-control required" name="requestTitle" maxlength="512" value="${requestInfo.requestTitle}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
||||
@@ -175,6 +175,7 @@
|
||||
code="policy_name" /></label>
|
||||
<div class="col-md-6">
|
||||
<select name="dnsStrategyId" class="selectpicker show-tick form-control">
|
||||
<option value="0" ><spring:message code="select"/></option>
|
||||
<c:forEach items="${dnsResStrategys }" var="dnsStrategy">
|
||||
<option value="${dnsStrategy.cfgId}" <c:if test="${_cfg.dnsStrategyId==dnsStrategy.cfgId }">selected</c:if>><spring:message code="${dnsStrategy.cfgDesc}"/></option>
|
||||
</c:forEach>
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label"><spring:message code="group_id"/>:</label>
|
||||
<div class="col-md-4">
|
||||
<form:input path="groupId" htmlEscape="false" maxlength="50" range="[0,2147483647]" class="form-control digits" placeholder="0"/>
|
||||
<form:input path="groupId" htmlEscape="false" maxlength="50" range="[0,2147483647]" class="form-control digits hidden" placeholder="0"/>
|
||||
</div>
|
||||
</div>
|
||||
<%-- <div class="form-group">
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
<option value="specServiceName"><spring:message code="protocol_name"/></option>
|
||||
</select>
|
||||
</div>
|
||||
<input id="intype" class="form-control input-medium" placeholder="<spring:message code='input'/><spring:message code='protocol_code'/>" type="text" onchange="casec()" maxlength="60">
|
||||
<input id="intype" class="form-control input-medium" placeholder="<spring:message code='input'/><spring:message code='protocol_name'/>" type="text" onchange="casec()" maxlength="60">
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user