parent
ae4fb039c1
commit
28e9185677
|
|
@ -23,36 +23,20 @@ function fn_setGridCombo(){
|
|||
<c:set var="num" value="0"/>
|
||||
<c:forEach var="item" items="${items}" varStatus="status">
|
||||
<c:if test="${item.code == 'CM011'}">
|
||||
<c:if test="${num == 0}">
|
||||
arrLayerEng["${num}"] = {};
|
||||
arrLayerEng["${num}"]['code'] = "${item.codeValue}";
|
||||
arrLayerEng["${num}"]['label'] = "${item.codeText}";
|
||||
<c:set var="num" value="${num + 1}"/>
|
||||
</c:if>
|
||||
<c:if test="${num != 0}">
|
||||
arrLayerEng["${num}"] = {};
|
||||
arrLayerEng["${num}"]['code'] = "${item.codeValue}";
|
||||
arrLayerEng["${num}"]['label'] = "${item.codeText}";
|
||||
<c:set var="num" value="${num + 1}"/>
|
||||
</c:if>
|
||||
arrLayerEng["${num}"] = {};
|
||||
arrLayerEng["${num}"]['code'] = "${item.codeValue}";
|
||||
arrLayerEng["${num}"]['label'] = "${item.codeText}";
|
||||
<c:set var="num" value="${num + 1}"/>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
|
||||
<c:set var="num2" value="0"/>
|
||||
<c:forEach var="item" items="${items}" varStatus="status">
|
||||
<c:if test="${item.code == 'CM012'}">
|
||||
<c:if test="${num2 == 0}">
|
||||
arrLayerScience["${num2}"] = {};
|
||||
arrLayerScience["${num2}"]['code'] = "${item.codeValue}";
|
||||
arrLayerScience["${num2}"]['label'] = "${item.codeText}";
|
||||
<c:set var="num2" value="${num2 + 1}"/>
|
||||
</c:if>
|
||||
<c:if test="${num2 != 0}">
|
||||
arrLayerScience["${num2}"] = {};
|
||||
arrLayerScience["${num2}"]['code'] = "${item.codeValue}";
|
||||
arrLayerScience["${num2}"]['label'] = "${item.codeText}";
|
||||
<c:set var="num2" value="${num2 + 1}"/>
|
||||
</c:if>
|
||||
arrLayerScience["${num2}"] = {};
|
||||
arrLayerScience["${num2}"]['code'] = "${item.codeValue}";
|
||||
arrLayerScience["${num2}"]['label'] = "${item.codeText}";
|
||||
<c:set var="num2" value="${num2 + 1}"/>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue