업무구분 추출
parent
5839d139cf
commit
4ec45b352e
@ -0,0 +1,24 @@
|
||||
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
|
||||
<%@ page import="java.util.List, cokr.xit.foundation.Assert, cokr.xit.base.code.CommonCode" %>
|
||||
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
|
||||
<% List<CommonCode> tasks = (List<CommonCode>)request.getAttribute("TaskListForSgg");
|
||||
if (tasks == null) {
|
||||
tasks = (List<CommonCode>)request.getAttribute("taskListForSgg");
|
||||
request.setAttribute("TaskListForSgg", tasks);
|
||||
}
|
||||
pageContext.setAttribute("onlyTask", tasks.size() < 2);
|
||||
pageContext.setAttribute("col", Assert.ifEmpty(request.getParameter("col"), "col-12"));
|
||||
pageContext.setAttribute("all", Assert.ifEmpty(request.getParameter("all"), false));
|
||||
%><div class="${col}"${onlyTask ? " hidden" : ""}>
|
||||
<span class="form-label fw-bold form-search-title w-px-120 text-end">업무구분</span>
|
||||
<span class="form-search-linebox">
|
||||
<c:if test="${all}"><label>
|
||||
<input name="taskSeCd" value="" type="radio" onchange="pageObject['${pageName}'].fnResetAndChangeBiz('');" checked class="form-check-input" alt="업무구분">
|
||||
전체
|
||||
</label></c:if>
|
||||
<c:forEach items="${TaskListForSgg}" var="item"><label>
|
||||
<input name="taskSeCd" type="radio" value="${item.code}"${onlyTask && !all ? "checked" : ""} class="form-check-input" alt="업무구분" onchange="pageObject['${pageName}'].fnResetAndChangeBiz(this.value);">
|
||||
${item.value}
|
||||
</label></c:forEach>
|
||||
</span>
|
||||
</div>
|
||||
Binary file not shown.
Loading…
Reference in New Issue