APP协议IP/HTTP特征/域名特征配置导入操作框应用校验.
This commit is contained in:
@@ -104,13 +104,13 @@
|
|||||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="letter"/></label>
|
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="letter"/></label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<select name="requestId" data-live-search="true" data-live-search-placeholder="search" class="selectpicker form-control required">
|
<select name="requestId" data-live-search="true" data-live-search-placeholder="search" class="selectpicker form-control required">
|
||||||
<option value=""><spring:message code="select"/></option>
|
<%-- <option value=""><spring:message code="select"/></option> --%>
|
||||||
<c:forEach items="${requestInfos}" var="requestInfo" varStatus="status">
|
<c:forEach items="${requestInfos}" var="requestInfo" varStatus="status">
|
||||||
<c:if test="${requestInfo.isValid!=0 and requestInfo.isAudit!=3}">
|
<c:if test="${requestInfo.isValid!=0 and requestInfo.isAudit!=3}">
|
||||||
<option value="${requestInfo.id}"
|
<option value="${requestInfo.id}"
|
||||||
<c:if test="${status.index==0 }">selected</c:if>>${requestInfo.requestTitle}</option>
|
<c:if test="${status.index==0 }">selected</c:if>>${requestInfo.requestTitle}</option>
|
||||||
</c:if>
|
</c:if>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div for="requestId"></div>
|
<div for="requestId"></div>
|
||||||
|
|||||||
@@ -113,7 +113,8 @@ var importCfg=function(){
|
|||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
var appFlag=true;
|
var appFlag=true;
|
||||||
if(($("#functionId").val() == 63)||($("#functionId").val() == 408)||($("#functionId").val() == 407)){
|
if(($("#functionId").val() == 63)||($("#functionId").val() == 408)||($("#functionId").val() == 407)||
|
||||||
|
($("#functionId").val() == 402)||($("#functionId").val() == 403)||($("#functionId").val() == 405)){
|
||||||
var appIdValue=$("#appIdName").val();
|
var appIdValue=$("#appIdName").val();
|
||||||
if(appIdValue == null || appIdValue ==''){
|
if(appIdValue == null || appIdValue ==''){
|
||||||
appFlag=false;
|
appFlag=false;
|
||||||
|
|||||||
Reference in New Issue
Block a user