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