导入提示信息null情况处理
导入界面非空校验,以及界面单个service或region处理
This commit is contained in:
@@ -22,7 +22,8 @@
|
||||
<span></span>
|
||||
</div>
|
||||
<input type="hidden" name="fucntionId" id="fucntionId" value="${cfg.functionId }">
|
||||
<div class="form-group">
|
||||
</br>
|
||||
<div class="form-group service">
|
||||
<label class="control-label col-md-3"> <spring:message
|
||||
code="action" />
|
||||
</label>
|
||||
@@ -54,7 +55,7 @@
|
||||
</div>
|
||||
<div for="action"></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="form-group region">
|
||||
<label class="control-label col-md-3"> <spring:message
|
||||
code="cfg_type" />
|
||||
</label>
|
||||
@@ -109,16 +110,19 @@
|
||||
<c:if test="${cfg.functionId eq 63 }">
|
||||
<c:set var="cfgType" value="1"></c:set>
|
||||
<c:set var="spec_service_id"><spring:message code="social_app"/></c:set>
|
||||
<input type="hidden" name="appError" id="appError" value="${spec_service_id } <spring:message code="required" />">
|
||||
</c:if>
|
||||
<!-- 408 tunnel behavior -->
|
||||
<c:if test="${cfg.functionId eq 408 }">
|
||||
<c:set var="cfgType" value="2"></c:set>
|
||||
<c:set var="spec_service_id"><spring:message code="encrypted_tunnel_behavior"/></c:set>
|
||||
<input type="hidden" name="appError" id="appError" value="${spec_service_id } <spring:message code="required" />">
|
||||
</c:if>
|
||||
<!-- 407 basic -->
|
||||
<c:if test="${cfg.functionId eq 407 }">
|
||||
<c:set var="cfgType" value="3"></c:set>
|
||||
<c:set var="spec_service_id"><spring:message code="basic_protocol"/></c:set>
|
||||
<input type="hidden" name="appError" id="appError" value="${spec_service_id } <spring:message code="required" />">
|
||||
</c:if>
|
||||
|
||||
<c:if test="${!empty cfgType }">
|
||||
@@ -131,16 +135,15 @@
|
||||
<c:set var="isShowBusinessType" value="false"/>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
<c:set var="spec_service_id"><spring:message code="social_app"/></c:set>
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="social_app"/></label>
|
||||
<label class="control-label col-md-3"><font color="red">*</font>${spec_service_id }</label>
|
||||
<div class="col-md-6">
|
||||
<sys:treeselect id="appId" name="appId" value=""
|
||||
labelName="parent.specServiceName" notAllowSelectParent="true" enableSearch="true"
|
||||
labelValue=""
|
||||
labelName="parent.appIdName" notAllowSelectParent="true" enableSearch="true"
|
||||
labelValue="${spec_service_id }"
|
||||
title="${spec_service_id}" url="/specific/specificServiceCfg/treeData?isLeafShow=false&cfgType=${cfgType }&specific=${!isShowBusinessType}" extId="0"
|
||||
notAllowSelectRoot="true" cssClass="form-control required"/>
|
||||
</div>
|
||||
<div for="parent.specServiceName"></div>
|
||||
<div for="parent.appIdName"></div>
|
||||
</div>
|
||||
</br>
|
||||
<c:if test="${cfgType eq 3}">
|
||||
|
||||
Reference in New Issue
Block a user