1.修改主题网站topic从码表中获取

This commit is contained in:
zhanghongqing
2018-08-23 20:53:04 +08:00
parent be0107e748
commit 50d8d8c10f
6 changed files with 37 additions and 20 deletions

View File

@@ -94,9 +94,14 @@ $(function(){
<label class="control-label col-md-3">
<spring:message code="app_topic_domain_cfg" /></label>
<div class="col-md-6">
<input class="form-control number required" type="text"
name="topic"
value="${_cfg.topic}">
<%-- <c:if test="${empty _cfg.topic}"> --%>
<form:select path="_cfg.topic" class="selectpicker form-control" data-live-search="true" data-live-search-placeholder="search">
<c:forEach items="${fns:getCodeList('serviceCode')}" var="dict">
<form:option value="${dict.code}"><spring:message code="${dict.item}"/></form:option>
</c:forEach>
</form:select>
<%-- </c:if> --%>
</div>
<div for="topic"></div>
</div>
@@ -153,14 +158,14 @@ $(function(){
<div for="domain"></div>
</div>
</div>
<%-- <div class="col-md-6">
<div class="col-md-6" hidden="true">
<div class="form-group">
<label class="control-label col-md-3"><spring:message code="do_log" /></label>
<c:forEach items="${fns:getDictList('DO_LOG') }" var="dict">
<c:choose>
<c:when test="${dict.itemCode eq _cfg.doLog}">
<label class="radio-inline">
<input type="radio" name="doLog" checked value="${dict.itemCode}" ><spring:message code="${dict.itemValue}"/>
<input type="radio" name="doLog" checked value="0" ><spring:message code="${dict.itemValue}"/>
</label>
</c:when>
<c:otherwise>
@@ -171,7 +176,7 @@ $(function(){
</c:choose>
</c:forEach>
</div>
</div> --%>
</div>
</div>
<c:forEach items="${regionList}" var="region">
<c:if test="${_cfg.functionId eq region.functionId}">

View File

@@ -304,7 +304,7 @@
</td>
<td>${cfg.compileId }</td>
<td>${cfg.cfgDesc }</td>
<td>${cfg.topic }</td>
<td>${cfg.appName }</td>
<td>${cfg.domain }</td>
<td>
<c:forEach items="${fns:getDictList('WHETHER_HEXBINARY')}" var="isHexbinC">