fix: html indent fix

html 표준 fix
main
minuk926 2 years ago
parent b20523a7ab
commit c16b142f59

@ -17,13 +17,11 @@
, last_updusr_id
FROM xit_cmmn_cl_code
<where>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(searchKeyword)">
<if test="searchCondition eq 'clCode'">
AND INSTR(cl_code, #{searchKeyword}) > 0
</if>
<if test="searchCondition eq 'clCodeNm'">
AND INSTR(cl_code_nm, #{searchKeyword}) > 0
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(clCode)">
AND INSTR(cl_code, #{clCode}) > 0
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(clCodeNm)">
AND INSTR(cl_code_nm, #{clCodeNm}) > 0
</if>
</where>
</sql>

@ -25,22 +25,23 @@
JOIN xit_cmmn_code xcc
ON cdc.code_id = xcc.code_id
<where>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(searchKeyword)">
<if test="searchCondition eq 'codeId'">
AND INSTR(cdc.code_id, #{searchKeyword}) > 0
</if>
<if test="searchCondition eq 'code'">
AND INSTR(cdc.code, #{searchKeyword}) > 0
</if>
<if test="searchCondition eq 'codeNm'">
AND INSTR(cdc.code_nm, #{searchKeyword}) > 0
</if>
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(clCode)">
AND xcc.cl_code = #{clCode}
AND xcc.cl_code = #{clCode}
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(codeId)">
AND INSTR(cdc.code_id, #{codeId}) > 0
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(codeIdNm)">
AND INSTR(xcc.code_id_nm, #{codeIdNm}) > 0
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(code)">
AND INSTR(cdc.code, #{code}) > 0
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(codeNm)">
AND INSTR(cdc.code_nm, #{codeNm}) > 0
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(useAt)">
AND cdc.use_at = #{useAt}
AND cdc.use_at = #{useAt}
</if>
</where>
</sql>

@ -24,13 +24,11 @@
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(clCode)">
AND xcc.cl_code = #{clCode}
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(searchKeyword)">
<if test="searchCondition eq 'codeId'">
AND INSTR(xcc.code_id, #{searchKeyword}) > 0
</if>
<if test="searchCondition eq 'clCodeNm'">
AND INSTR(xcc.code_id_nm, #{searchKeyword}) > 0
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(codeId)">
AND INSTR(xcc.code_id, #{codeId}) > 0
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(codeIdNm)">
AND INSTR(xcc.code_id_nm, #{codeIdNm}) > 0
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(useAt)">
AND xcc.use_at = #{useAt}

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="kr.xit.framework.biz.mng.code.mapper.XitZipCodeMngMapper">
<!-- *************************************************************************************************************
* xit_zip : 우편번호
************************************************************************************************************** -->
<sql id="sqlZip">
SELECT zip
, sn
, ctprvn_nm
, signgu_nm
, emd_nm
, li_buld_nm
, lnbr_dong_ho
, frst_regist_pnttm
, frst_register_id
, last_updt_pnttm
, last_updusr_id
FROM xit_zip
<where>
<if test="searchCondition eq 'clCode'">
AND INSTR(cl_code, #{searchKeyword}) > 0
</if>
<if test="searchCondition eq 'clCodeNm'">
AND INSTR(cl_code_nm, #{searchKeyword}) > 0
</if>
</where>
</sql>
<select id="selectCmmnClCodes" resultType="kr.xit.framework.biz.mng.code.model.XitClCodeMngVO">
/* code-cfn-mysql-mapper|selectCmmnClCodes-분류코드 목록 조회|julim */
<include refid="sqlZip"/>
</select>
<select id="selectCmmnClCode" resultType="kr.xit.framework.biz.mng.code.model.XitClCodeMngVO">
/* code-cfn-mysql-mapper|selectCmmnClCode-분류코드 정보 조회|julim */
<include refid="sqlZip"/>
</select>
<insert id="insertCmmnClCode">
/* code-cfn-mysql-mapper|insertCmmnClCode-분류코드 정보 등록|julim */
INSERT
INTO xit_cmmn_cl_code (
cl_code
, cl_code_nm
, cl_code_dc
, use_at
, frst_regist_pnttm
, frst_register_id
) VALUE (
#{clCode}
, #{clCodeNm}
, #{clCodeDc}
, #{useAt}
, NOW()
, #{frstRegisterId}
)
</insert>
<update id="updateCmmnClCode">
/* code-cfn-mysql-mapper|updateCmmnClCode-분류코드 정보 변경|julim */
UPDATE xit_cmmn_cl_code
SET cl_code_nm = IF(cl_code_nm = #{clCodeNm}, cl_code_nm, #{clCodeNm})
, cl_code_dc = IF(cl_code_dc = #{clCodeDc}, cl_code_dc, #{clCodeDc})
, use_at = #{useAt}
, last_updt_pnttm = NOW()
, last_updusr_id = #{lastUpdusrId}
WHERE cl_code = #{clCode}
</update>
<delete id="deleteCmmnClCode">
/* code-cfn-mysql-mapper|deleteCmmnClCode-분류코드 정보 삭제|julim */
DELETE
FROM xit_cmmn_cl_code
WHERE cl_code = #{clCode}
</delete>
</mapper>

@ -6,23 +6,25 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 8%;"/>
<col style="width: 20%;"/>
<col style="width: 8%;"/>
<col/>
<col style="width: 8%;"/>
<col/>
<col style="width: 7%;"/>
</colgroup>
<colgroup>
<col style="width: 250px;">
<col>
<col>
<col>
<col>
<col>
<col>
</colgroup>
<tbody>
<th>권한명</th>
<td>
<input id="authorNm" name="authorNm" type="text" size="25" title="권한코드명" />
</td>
<td colspan="6">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
<tr>
<td>
<label for="authorNm">권한명</label>
<input id="authorNm" name="authorNm" type="text" size="25" title="권한코드명" />
</td>
<td colspan="6">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>
</tbody>
</table>
</div>

@ -1,4 +1,4 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/jsp/framework/taglibs.jsp" %>
<c:set var="isUpdate" value="${!empty authorInfoVO.authorCode}"/>
@ -6,131 +6,134 @@
<div class="popup" style="min-width: 100%;">
<div class="popup_inner" style="max-width: 400px;">
<%@include file="/WEB-INF/jsp/framework/biz-popup-title.jsp"%>
<form>
<table class="tbl03">
<caption><c:out value="${bizName}"/> <spring:message code="title.update"/> / <spring:message code="title.create"/></caption>
<colgroup>
<col style="width: 20%;"/>
<col/>
</colgroup>
<tr>
<th class="required" scope="row" nowrap="nowrap">
<label>권한코드</label>
</th>
<td nowrap="nowrap">
<c:choose>
<c:when test="${isUpdate}">
<input name="authorCode" id="authorCode" type="text" value="<c:out value='${authorInfoVO.authorCode}'/>" readonly size="40" title="권한코드" />&nbsp;
</c:when>
<c:otherwise>
<input name="authorCode" id="authorCode" type="text" size="40" title="권한코드" />&nbsp;
</c:otherwise>
</c:choose>
</td>
</tr>
<tr>
<th class="required" scope="row" nowrap="nowrap">
<label>권한명</label>
</th>
<td nowrap="nowrap">
<input name="authorNm" id="authorNm" type="text" value="<c:out value='${authorInfoVO.authorNm}'/>" maxLength="50" size="40" title="권한명" />&nbsp;
</td>
</tr>
<tr>
<th scope="row" nowrap="nowrap">
<label>설명</label>
</th>
<td nowrap="nowrap">
<input name="authorDc" id="authorDc" type="text" value="<c:out value='${authorInfoVO.authorDc}'/>" maxLength="50" size="50" title="설명" />
</td>
</tr>
<tr>
<th scope="row" nowrap="nowrap">
<label>등록일자</label>
</th>
<td nowrap="nowrap">
<input name="authorCreatDe" id="authorCreatDe" type="text" value="<c:out value='${authorInfoVO.authorCreatDe}'/>" maxLength="50" size="20" readonly="readonly" title="등록일자"/>
</td>
</tr>
</table>
</form>
<%@include file="/WEB-INF/jsp/framework/biz-popup-btn.jsp"%>
</div>
<div class="popup_inner" style="max-width: 400px;">
<%@include file="/WEB-INF/jsp/framework/biz-popup-title.jsp" %>
<form>
<table class="tbl03">
<caption><c:out value="${bizName}"/> <spring:message code="title.update"/> / <spring:message code="title.create"/></caption>
<colgroup>
<col style="width: 20%;"/>
<col/>
</colgroup>
<tbody>
<tr>
<th class="required" scope="row" nowrap="nowrap">
<label>권한코드</label>
</th>
<td nowrap="nowrap">
<c:choose>
<c:when test="${isUpdate}">
<input name="authorCode" id="authorCode" type="text" value="<c:out value='${authorInfoVO.authorCode}'/>" readonly size="40" title="권한코드"/>&nbsp;
</c:when>
<c:otherwise>
<input name="authorCode" id="authorCode" type="text" size="40" title="권한코드"/>&nbsp;
</c:otherwise>
</c:choose>
</td>
</tr>
<tr>
<th class="required" scope="row" nowrap="nowrap">
<label>권한명</label>
</th>
<td nowrap="nowrap">
<input name="authorNm" id="authorNm" type="text" value="<c:out value='${authorInfoVO.authorNm}'/>" maxLength="50" size="40" title="권한명"/>&nbsp;
</td>
</tr>
<tr>
<th scope="row" nowrap="nowrap">
<label>설명</label>
</th>
<td nowrap="nowrap">
<input name="authorDc" id="authorDc" type="text" value="<c:out value='${authorInfoVO.authorDc}'/>" maxLength="50" size="50" title="설명"/>
</td>
</tr>
<tr>
<th scope="row" nowrap="nowrap">
<label>등록일자</label>
</th>
<td nowrap="nowrap">
<input name="authorCreatDe" id="authorCreatDe" type="text" value="<c:out value='${authorInfoVO.authorCreatDe}'/>" maxLength="50" size="20"
readonly="readonly" title="등록일자"/>
</td>
</tr>
</tbody>
</table>
</form>
<%@include file="/WEB-INF/jsp/framework/biz-popup-btn.jsp" %>
</div>
</div>
<!-- //popup -->
<script type="text/javaScript">
/**************************************************************************
* Global Variable
**************************************************************************/
let orgData;
/**************************************************************************
* Global Variable
**************************************************************************/
let orgData;
/* *******************************
* Biz function
******************************* */
const fnBiz = {
add: () => {
if(!fnBiz.validate()) return;
/* *******************************
* Biz function
******************************* */
const fnBiz = {
add: () => {
if (!fnBiz.validate()) return;
cmmBizAjax('add', {
url: '<c:url value="/framework/biz/mng/auth/addAuthAuthor.do"/>'
,data: $("form").serialize()
//,contentType: 'x-www-form-url-encoded'
})
}
,modify: () => {
if(!fnBiz.validate()) return;
cmmBizAjax('add', {
url: '<c:url value="/framework/biz/mng/auth/addAuthAuthor.do"/>'
, data: $("form").serialize()
//,contentType: 'x-www-form-url-encoded'
})
}
, modify: () => {
if (!fnBiz.validate()) return;
cmmBizAjax('modify', {
url: '<c:url value="/framework/biz/mng/auth/modifyAuthAuthor.do"/>'
,data: $("form").serialize()
});
}
,remove: () => {
cmmBizAjax('remove', {
url: '<c:url value="/framework/biz/mng/auth/removeAuthAuthor.do"/>'
,data: {authorCode: $('#authorCode').val()}
});
}
,validate: () => {
if(orgData === $('form').serialize()){
alert('변경된 내용이 없습니다.');
return false;
}
if($('#authorCode').val() === ''){
alert('[권한코드]는 필수 입니다.');
$('#authorCode').focus();
return false;
}
if($('#authorNm').val() === ''){
alert('[권한명]은 필수 입니다.');
$('#authorNm').focus();
return false;
}
return true;
}
};
cmmBizAjax('modify', {
url: '<c:url value="/framework/biz/mng/auth/modifyAuthAuthor.do"/>'
, data: $("form").serialize()
});
}
, remove: () => {
cmmBizAjax('remove', {
url: '<c:url value="/framework/biz/mng/auth/removeAuthAuthor.do"/>'
, data: {authorCode: $('#authorCode').val()}
});
}
, validate: () => {
if (orgData === $('form').serialize()) {
alert('변경된 내용이 없습니다.');
return false;
}
if ($('#authorCode').val() === '') {
alert('[권한코드]는 필수 입니다.');
$('#authorCode').focus();
return false;
}
if ($('#authorNm').val() === '') {
alert('[권한명]은 필수 입니다.');
$('#authorNm').focus();
return false;
}
return true;
}
};
/**************************************************************************
* event
**************************************************************************/
$(() => {
$('#btnRegist').on('click', () => fnBiz.add());
/**************************************************************************
* event
**************************************************************************/
$(() => {
$('#btnRegist').on('click', () => fnBiz.add());
$('#btnModify').on('click', () => fnBiz.modify());
$('#btnModify').on('click', () => fnBiz.modify());
$('#btnRemove').on('click', () => fnBiz.remove());
});
$('#btnRemove').on('click', () => fnBiz.remove());
});
/**************************************************************************
* initialize
**************************************************************************/
$(document).ready(function(){
$('#authorCreatDe').val(setDateTimeFmt('<c:out value="${authorInfoVO.authorCreatDe}"/>'));
orgData = $('form').serialize();
});
/**************************************************************************
* initialize
**************************************************************************/
$(document).ready(function () {
$('#authorCreatDe').val(setDateTimeFmt('<c:out value="${authorInfoVO.authorCreatDe}"/>'));
orgData = $('form').serialize();
});
</script>

@ -6,28 +6,30 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 8%;"/>
<col style="width: 20%;"/>
<col style="width: 8%;"/>
<col/>
<col style="width: 8%;"/>
<col/>
<col style="width: 7%;"/>
</colgroup>
<colgroup>
<col style="width: 8%;"/>
<col style="width: 20%;"/>
<col style="width: 8%;"/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<tbody>
<td colspan="6">
<select id="searchCondition" name="searchCondition" title="조회조건" onchange="fnBiz.onSearchChange()">
<option value="userId">사용자 ID</option>
<option value="userNm">사용자 명</option>
<option value="groupId">그룹</option>
</select>
<input name="searchKeyword" title="검색어" type="text" value="<c:out value="${searchKeyword}"/>"/>
<code:select type="AUTHOR_GRP" id="searchKeyword" name="searchKeyword" title="권한그룹" cls="selectBox" alt="selectBox tag" display="false" disabled="true"/>
</td>
<td>
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
<tr>
<td colspan="6">
<select id="searchCondition" name="searchCondition" title="조회조건" onchange="fnBiz.onSearchChange()">
<option value="userId">사용자 ID</option>
<option value="userNm">사용자 명</option>
<option value="groupId">그룹</option>
</select>
<input name="searchKeyword" title="검색어" type="text" value="<c:out value="${searchKeyword}"/>"/>
<code:select type="AUTHOR_GRP" id="searchKeyword" name="searchKeyword" title="권한그룹" cls="selectBox" alt="selectBox tag" display="false" disabled="true"/>
</td>
<td>
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>
</tbody>
</table>
</div>

@ -7,8 +7,8 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 20%;"/>
<col style="width: 30%;"/>
<col style="width: 250px;"/>
<col/>
<col/>
<col/>
<col/>
@ -16,13 +16,15 @@
<col/>
</colgroup>
<tbody>
<th>권한그룹명</th>
<td>
<input id="groupNm" name="groupNm" type="text" size="25" title="검색" onkeypress="press();" />
</td>
<td colspan="6">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
<tr>
<td>
<label for="groupNm">코드그룹ID</label>
<input id="groupNm" name="groupNm" type="text" size="25" title="검색" onkeypress="press();" />
</td>
<td colspan="6">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>
</tbody>
</table>
</div>

@ -16,46 +16,48 @@
<col style="width: 25%;"/>
<col/>
</colgroup>
<tr>
<th scope="row" nowrap="nowrap">
<label>권한그룹 ID</label>
</th>
<td nowrap="nowrap">
<input name="groupId" id="groupId" type="text" readonly value="<c:out value='${groupManage.groupId}'/>" size="40" title="권한그룹ID" />
</td>
</tr>
<tr>
<th class="required" scope="row" nowrap="nowrap">
<label>권한그룹 명</label>
</th>
<td nowrap="nowrap">
<input name="groupNm" id="groupNm" type="text" value="<c:out value='${groupManage.groupNm}'/>" maxLength="50" size="40" title="권한그룹명" />&nbsp;
</td>
</tr>
<tr>
<th scope="row" nowrap="nowrap">
<label>권한</label>
</th>
<td nowrap="nowrap">
<code:select type="AUTHOR" id="authorCode" name="authorCode" defaultSelect="${groupManage.authorCode}" title="권한" cls="selectBox" alt="selectBox tag"/>
</td>
</tr>
<tr>
<th scope="row" nowrap="nowrap">
<label>설명</label>
</th>
<td nowrap="nowrap">
<input name="groupDc" id="groupDc" type="text" value="<c:out value='${groupManage.groupDc}'/>" maxLength="50" size="50" title="설명" />
</td>
</tr>
<tr>
<th scope="row" nowrap="nowrap">
<label>등록일자</label>
</th>
<td nowrap="nowrap">
<input name="groupCreatDe" id="groupCreatDe" type="text" value="<c:out value='${groupManage.groupCreatDe}'/>" maxLength="50" size="20" readonly="readonly" title="등록일자"/>
</td>
</tr>
<tbody>
<tr>
<th scope="row" nowrap="nowrap">
<label>권한그룹 ID</label>
</th>
<td nowrap="nowrap">
<input name="groupId" id="groupId" type="text" readonly value="<c:out value='${groupManage.groupId}'/>" size="40" title="권한그룹ID" />
</td>
</tr>
<tr>
<th class="required" scope="row" nowrap="nowrap">
<label>권한그룹 명</label>
</th>
<td nowrap="nowrap">
<input name="groupNm" id="groupNm" type="text" value="<c:out value='${groupManage.groupNm}'/>" maxLength="50" size="40" title="권한그룹명" />&nbsp;
</td>
</tr>
<tr>
<th scope="row" nowrap="nowrap">
<label>권한</label>
</th>
<td nowrap="nowrap">
<code:select type="AUTHOR" id="authorCode" name="authorCode" defaultSelect="${groupManage.authorCode}" title="권한" cls="selectBox" alt="selectBox tag"/>
</td>
</tr>
<tr>
<th scope="row" nowrap="nowrap">
<label>설명</label>
</th>
<td nowrap="nowrap">
<input name="groupDc" id="groupDc" type="text" value="<c:out value='${groupManage.groupDc}'/>" maxLength="50" size="50" title="설명" />
</td>
</tr>
<tr>
<th scope="row" nowrap="nowrap">
<label>등록일자</label>
</th>
<td nowrap="nowrap">
<input name="groupCreatDe" id="groupCreatDe" type="text" value="<c:out value='${groupManage.groupCreatDe}'/>" maxLength="50" size="20" readonly="readonly" title="등록일자"/>
</td>
</tr>
</tbody>
</table>
</form>
<%@include file="/WEB-INF/jsp/framework/biz-popup-btn.jsp"%>

@ -7,22 +7,24 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 8%;"/>
<col style="width: 20%;"/>
<col style="width: 8%;"/>
<col style="width: 250px;"/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col style="width: 8%;"/>
<col/>
<col style="width: 7%;"/>
</colgroup>
<tbody>
<th>권한명</th>
<td>
<input id="searchKeyword" name="searchKeyword" type="text" value="<c:out value='${searchVO.searchKeyword}'/>" size="25" title="검색" onkeypress="XitAuthHierarchyMng_list.press();" />
</td>
<td colspan="6">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
<tr>
<td>
<label for="searchKeyword">권한명</label>
<input id="searchKeyword" name="searchKeyword" type="text" value="<c:out value='${searchVO.searchKeyword}'/>" size="25" title="검색" onkeypress="XitAuthHierarchyMng_list.press();" />
</td>
<td colspan="6">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>
</tbody>
</table>
</div>

@ -10,18 +10,18 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 8%;"/>
<col style="width: 20%;"/>
<col style="width: 8%;"/>
<col/>
<col style="width: 8%;"/>
<col>
<col/>
<col/>
<col/>
<col/>
<col style="width: 7%;"/>
</colgroup>
<tbody>
<tr>
<th>권한코드 : </th>
<td colspan="6">
<label for="authorCode">권한코드</label>
<input id="authorCode" name="authorCode" type="text" size="30" value="<c:out value='${authorRoleManageVO.roleCode}'/>" title="검색" readonly="readonly" />
</td>
<td>

@ -6,23 +6,25 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 8%;"/>
<col style="width: 20%;"/>
<col style="width: 8%;"/>
<col/>
<col style="width: 8%;"/>
<col/>
<col style="width: 7%;"/>
</colgroup>
<colgroup>
<col style="width: 250px;"/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<tbody>
<th>롤(역할)명</th>
<td>
<input id="roleNm" name="roleNm" type="text" size="25" title="검색" />
</td>
<td colspan="6">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
<tr>
<td>
<label for="roleNm">롤(역할)명</label>
<input id="roleNm" name="roleNm" type="text" size="25" title="검색" />
</td>
<td colspan="6">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>
</tbody>
</table>
</div>

@ -6,26 +6,25 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 15%;"/>
<col style="width: 20%;"/>
<col style="width: 250px;"/>
<col style="width: 250px;"/>
<col/>
<col/>
<col/>
<col>
<col/>
<col/>
</colgroup>
<tbody>
<tr>
<td>
<select name="searchCondition" title="검색조건" class="select" >
<option value='clCode'>분류코드</option>
<option value='clCodeNm'>분류코드명</option>
</select>
<td style="">
<label for="clCode">분류코드</label>
<input name="clCode" title="분류코드" type="text" size="15" maxlength="15" id="clCode">
</td>
<td>
<input name="searchKeyword" title="검색어" type="text" size="35" maxlength="35" id="searchKeyword" style="width:250px;">
<label for="clCodeNm">분류코드명</label>
<input name="clCodeNm" title="분류코드명" type="text" size="35" maxlength="35" id="clCodeNm">
</td>
<td colspan="6">
<td colspan="5">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>

@ -7,40 +7,41 @@
<caption>검색조건</caption>
<colgroup>
<col style="width: 110px;"/>
<col style="width: 225px;"/>
<col style="width: 250px;"/>
<col style="width: 250px;"/>
<col style="width: 250px;"/>
<col style="width: 100px;"/>
<col/>
<col/>
<col>
<col/>
<col/>
<col/>
</colgroup>
<tbody>
<tr>
<td>
<code:select type="CMM_CFN" id="clCode" name="clCode" emptyMessageKey="table.select.clCode" title="분류코드" alt="selectBox tag" cls="selectBox"/>
</td>
<td>
<select name="searchCondition" title="검색조건" class="selectBox">
<option value=''>-- 검색조건 --</option>
<option value='codeId'>코드그룹</option>
<option value='code'>코드</option>
<option value='codeNm'>코드명</option>
</select>
<input name="searchKeyword" title="검색어" type="text" size="35" maxlength="35" id="searchKeyword" style="display: inline; width:120px;">
</td>
<td>
<select name="useAt" title="사용여부" class="selectBox">
<option value=''>-- 사용여부 --</option>
<option value='Y'>사용</option>
<option value='N'>미사용</option>
</select>
</td>
<td colspan="6">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>
<tr>
<td>
<code:select type="CMM_CFN" id="clCode" name="clCode" emptyMessageKey="table.select.clCode" title="분류코드" alt="selectBox tag" cls="selectBox"/>
</td>
<td>
<label for="codeId">코드그룹ID</label>
<input name="codeId" title="코드그룹ID" type="text" size="15" maxlength="15" id="codeId">
</td>
<td>
<label for="codeIdNm">코드그룹명</label>
<input name="codeIdNm" title="코드그룹명" type="text" size="35" maxlength="35" id="codeIdNm">
</td>
<td>
<label for="codeNm">공통코드명</label>
<input name="codeNm" title="공통코드명" type="text" size="35" maxlength="35" id="codeNm">
</td>
<td>
<select name="useAt" title="사용여부" class="selectBox">
<option value=''>-- 사용여부 --</option>
<option value='Y'>사용</option>
<option value='N'>미사용</option>
</select>
</td>
<td colspan="2">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>
</tbody>
</table>
</form>

@ -22,67 +22,67 @@
<col style="width: 30%;"/>
</colgroup>
<tbody>
<tr>
<th class="required" scope="row" nowrap>
<label for="codeId">코드그룹</label>
</th>
<td nowrap colspan="3">
<c:if test="${!isUpdate}">
<select style="width: 40%" name="clCode" id="clCode" class="select" title="분류코드">
<c:forEach var="result" items="${cfnCodeList}" varStatus="status">
<option value='<c:out value="${result.code}"/>' ><c:out value="${result.code_nm}"/></option>
</c:forEach>
</select>
<select style="width: 40%" name="codeId" id="codeId" class="select" title="그룹코드">
</select>
</c:if>
<c:if test="${isUpdate}">
<form:input path="codeIdNm" size="3" maxlength="3" readonly="${isUpdate}"/>
<form:errors path="codeIdNm"/>
<input type="hidden" id="codeId" name="codeId" value="${cmmnDetailCode.codeId}">
</c:if>
</td>
</tr>
<tr>
<th class="required" scope="row" nowrap>
<label for="code">코드</label>
</th>
<td nowrap colspan="3">
<form:input path="code" size="15" maxlength="15" readonly="${isUpdate}"/>
<form:errors path="code"/>
</td>
</tr>
<tr>
<th class="required" scope="row" nowrap>
<label for="codeNm">코드명</label>
</th>
<td nowrap="nowrap" colspan="3">
<form:input path="codeNm" size="60" maxlength="60"/>
<form:errors path="codeNm"/>
</td>
</tr>
<tr>
<th class="required" scope="row" nowrap>
<label for="useAt">사용여부</label>
</th>
<td nowrap class="title_left" colspan="3">
<form:select path="useAt">
<form:option value="Y" label="사용"/>
<form:option value="N" label="미사용"/>
</form:select>
</td>
</tr>
<tr>
<th class="required" scope="row">
<label for="codeDc">코드설명</label>
</th>
<td colspan="3">
<form:textarea path="codeDc" cols="100" rows="3"/>
<form:errors path="codeDc"/>
</td>
</tr>
<tr>
<th class="required" scope="row" nowrap>
<label for="codeId">코드그룹</label>
</th>
<td nowrap colspan="3">
<c:if test="${!isUpdate}">
<select style="width: 40%" name="clCode" id="clCode" class="select" title="분류코드">
<c:forEach var="result" items="${cfnCodeList}" varStatus="status">
<option value='<c:out value="${result.code}"/>' ><c:out value="${result.code_nm}"/></option>
</c:forEach>
</select>
<select style="width: 40%" name="codeId" id="codeId" class="select" title="그룹코드">
</select>
</c:if>
<c:if test="${isUpdate}">
<form:input path="codeIdNm" size="3" maxlength="3" readonly="${isUpdate}"/>
<form:errors path="codeIdNm"/>
<input type="hidden" id="codeId" name="codeId" value="${cmmnDetailCode.codeId}">
</c:if>
</td>
</tr>
<tr>
<th class="required" scope="row" nowrap>
<label for="code">코드</label>
</th>
<td nowrap colspan="3">
<form:input path="code" size="15" maxlength="15" readonly="${isUpdate}"/>
<form:errors path="code"/>
</td>
</tr>
<tr>
<th class="required" scope="row" nowrap>
<label for="codeNm">코드명</label>
</th>
<td nowrap="nowrap" colspan="3">
<form:input path="codeNm" size="60" maxlength="60"/>
<form:errors path="codeNm"/>
</td>
</tr>
<tr>
<th class="required" scope="row" nowrap>
<label for="useAt">사용여부</label>
</th>
<td nowrap class="title_left" colspan="3">
<form:select path="useAt">
<form:option value="Y" label="사용"/>
<form:option value="N" label="미사용"/>
</form:select>
</td>
</tr>
<tr>
<th class="required" scope="row">
<label for="codeDc">코드설명</label>
</th>
<td colspan="3">
<form:textarea path="codeDc" cols="100" rows="3"/>
<form:errors path="codeDc"/>
</td>
</tr>
</tbody>
</table>
</form:form>

@ -7,13 +7,11 @@
<caption>검색조건</caption>
<colgroup>
<col style="width: 100px;"/>
<col style="width: 225px;"/>
<col style="width: 250px;"/>
<col style="width: 250px"/>
<col style="width: 100px;"/>
<col/>
<col/>
<col>
<col/>
<col/>
<col/>
</colgroup>
<tbody>
@ -22,12 +20,12 @@
<code:select type="CMM_CFN" id="clCode" name="clCode" emptyMessageKey="table.select.clCode" title="분류코드" alt="selectBox tag" cls="selectBox"/>
</td>
<td>
<select name="searchCondition" title="검색조건" class="selectBox">
<option value=''>-- 검색조건 --</option>
<option value='codeId'>코드그룹</option>
<option value='codeIdNm'>코드그룹명</option>
</select>
<input name="searchKeyword" title="검색어" type="text" size="35" maxlength="35" id="searchKeyword" style="display: inline; width:120px;">
<label for="codeId">코드그룹ID</label>
<input name="codeId" title="코드그룹ID" type="text" size="15" maxlength="15" id="codeId">
</td>
<td>
<label for="codeIdNm">코드그룹명</label>
<input name="codeIdNm" title="코드그룹명" type="text" size="35" maxlength="35" id="codeIdNm">
</td>
<td>
<select name="useAt" title="사용여부" class="selectBox">
@ -36,7 +34,7 @@
<option value='N'>미사용</option>
</select>
</td>
<td colspan="6">
<td colspan="2">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>

@ -7,18 +7,18 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 15%;"/>
<col style="width: 20%;"/>
<col style="width: 8%;"/>
<col style="width: 250px;"/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col style="width: 8%;"/>
<col/>
<col style="width: 7%;"/>
</colgroup>
<tbody>
<tr>
<th>권한코드</th>
<td>
<label for="authorCode">권한코드</label>
<input id="authorCode" name="authorCode" type="text" size="80" value="" maxlength="60" title="권한코드"/>
</td>
<td colspan="6">

@ -12,17 +12,21 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 20%;"/>
<col style="width: 50%;"/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<tbody>
<tr>
<th>권한코드</th>
<td colspan="2">
<input id="authorCode" name="authorCode" type="text" size="30" value="${resultVO.authorCode}" title="검색" readonly/>
</td>
</tr>
<tr>
<td colspan="7">
<label for="authorCode">권한코드</label>
<input id="authorCode" name="authorCode" type="text" size="30" value="${resultVO.authorCode}" title="검색" readonly/>
</td>
</tr>
</tbody>
</table>
</div>
@ -36,45 +40,47 @@
</c:forEach>
<table>
<caption>메뉴일괄등록</caption>
<tr>
<td width='20'>&nbsp;</td>
<td>
<!-- div class="tree" style="position:absolute; left:24px; top:70px; width:179px; height:25px; z-index:10;" -->
<div class="tree" id="menuTree">
<script type="text/javaScript">
let chk_Object = true;
let chk_browse = "";
if (eval(document.frmMenuTree.authorCode)=="[object]") chk_browse = "IE";
if (eval(document.frmMenuTree.authorCode)=="[object NodeList]") chk_browse = "Fox";
if (eval(document.frmMenuTree.authorCode)=="[object Collection]") chk_browse = "safai";
<tbody>
<tr>
<td width='20'>&nbsp;</td>
<td>
<!-- div class="tree" style="position:absolute; left:24px; top:70px; width:179px; height:25px; z-index:10;" -->
<div class="tree" id="menuTree">
<script type="text/javaScript">
let chk_Object = true;
let chk_browse = "";
if (eval(document.frmMenuTree.authorCode)=="[object]") chk_browse = "IE";
if (eval(document.frmMenuTree.authorCode)=="[object NodeList]") chk_browse = "Fox";
if (eval(document.frmMenuTree.authorCode)=="[object Collection]") chk_browse = "safai";
let Tree = new Array;
if(chk_browse=="IE"&&eval(document.frmMenuTree.tmp_menuNmVal)!="[object]"){
alert("메뉴 목록 데이타가 존재하지 않습니다.");
chk_Object = false;
}
if(chk_browse=="Fox"&&eval(document.frmMenuTree.tmp_menuNmVal)!="[object NodeList]"){
alert("메뉴 목록 데이타가 존재하지 않습니다.");
chk_Object = false;
}
if(chk_browse=="safai"&&eval(document.frmMenuTree.tmp_menuNmVal)!="[object Collection]"){
let Tree = new Array;
if(chk_browse=="IE"&&eval(document.frmMenuTree.tmp_menuNmVal)!="[object]"){
alert("메뉴 목록 데이타가 존재하지 않습니다.");
chk_Object = false;
}
if(chk_browse=="Fox"&&eval(document.frmMenuTree.tmp_menuNmVal)!="[object NodeList]"){
alert("메뉴 목록 데이타가 존재하지 않습니다.");
chk_Object = false;
}
if( chk_Object ){
for (var j = 0; j < document.frmMenuTree.tmp_menuNmVal.length; j++) {
Tree[j] = document.frmMenuTree.tmp_menuNmVal[j].value;
}
if(chk_browse=="safai"&&eval(document.frmMenuTree.tmp_menuNmVal)!="[object Collection]"){
alert("메뉴 목록 데이타가 존재하지 않습니다.");
chk_Object = false;
}
if( chk_Object ){
for (var j = 0; j < document.frmMenuTree.tmp_menuNmVal.length; j++) {
Tree[j] = document.frmMenuTree.tmp_menuNmVal[j].value;
}
createTree(Tree);
}else{
alert("메뉴가 존재하지 않습니다. 메뉴 등록 후 사용하세요.");
window.close();
}
createTree(Tree);
}else{
alert("메뉴가 존재하지 않습니다. 메뉴 등록 후 사용하세요.");
window.close();
}
</script>
</div>
</td>
</tr>
</script>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>

@ -7,25 +7,25 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 8%;"/>
<col style="width: 20%;"/>
<col style="width: 8%;"/>
<col style="width: 20%;"/>
<col style="width: 8%;"/>
<col style="width: 250px;"/>
<col style="width: 250px;"/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col style="width: 7%;"/>
</colgroup>
<tbody>
<tr>
<th>메뉴번호</th>
<td>
<label for="menuNo">메뉴번호</label>
<input id="menuNo" name="menuNo" type="text" size="8" maxlength="8" title="검색조건"/>
</td>
<th>메뉴명</th>
<td>
<label for="menuNm">메뉴명</label>
<input id="menuNm" name="menuNm" type="text" size="80" maxlength="60" title="검색조건"/>
</td>
<td colspan="4">
<td colspan="5">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>

@ -26,74 +26,74 @@
<col style="width: 30%;"/>
</colgroup>
<tbody>
<tr>
<th class="required" scope="row">
<label for="upperMenuNo">상위메뉴번호</label>
</th>
<td nowrap="nowrap">
<form:input path="upperMenuNo" size="8" maxlength="8" title="상위메뉴No" readonly="${!isUpdate}"/>
<form:errors path="upperMenuNo"/>
</td>
<th class="required" scope="row">
<label for="menuNo">메뉴번호</label>
</th>
<td nowrap="nowrap">
<form:input path="menuNo" size="8" maxlength="8" title="메뉴No" readonly="${isUpdate}"/>
<form:errors path="menuNo"/>
</td>
</tr>
<tr>
<th class="required" scope="row">
<label for="progrmFileNm">프로그램파일명</label>
</th>
<td colspan="3" nowrap="nowrap">
<form:input path="progrmFileNm" cssStyle="width: 64%;" size="60" maxlength="60" title="프로그램파일명" readonly="true"/>
<form:errors path="progrmFileNm"/>
<a id="btnSchPgmPopup" href="#" title="프로그램조회" style="selector-dummy:expression(this.hideFocus=false);">
<img src="<c:url value='/resources/images/img_search.gif' />" alt='프로그램파일명 검색' width="15" height="15"/></a>
</td>
</tr>
<tr>
<th class="required" scope="row">
<label for="menuNm">메뉴명</label>
</th>
<td nowrap="nowrap">
<form:input path="menuNm" size="30" maxlength="30" title="메뉴명"/>
<form:errors path="menuNm"/>
</td>
<th class="required" scope="row">
<label for="menuOrdr">메뉴순서</label>
</th>
<td nowrap="nowrap">
<form:input path="menuOrdr" size="3" maxlength="3" title="메뉴순서"/>
<form:errors path="menuOrdr"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="relateImagePath">관련이미지경로</label>
</th>
<td nowrap="nowrap">
<form:input path="relateImagePath" size="30" maxlength="30" title="관련이미지경로"/>
<form:errors path="relateImagePath"/>
</td>
<th scope="row">
<label for="relateImageNm">관련이미지명</label>
</th>
<td nowrap="nowrap">
<form:input path="relateImageNm" size="30" maxlength="30" title="관련이미지명"/>
<form:errors path="relateImageNm"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="menuDc">메뉴설명</label>
</th>
<td colspan="3" nowrap="nowrap">
<form:textarea path="menuDc" rows="5" cols="60" title="메뉴설명"/>
<form:errors path="menuDc"/>
</td>
</tr>
<tr>
<th class="required" scope="row">
<label for="upperMenuNo">상위메뉴번호</label>
</th>
<td nowrap="nowrap">
<form:input path="upperMenuNo" size="8" maxlength="8" title="상위메뉴No" readonly="${!isUpdate}"/>
<form:errors path="upperMenuNo"/>
</td>
<th class="required" scope="row">
<label for="menuNo">메뉴번호</label>
</th>
<td nowrap="nowrap">
<form:input path="menuNo" size="8" maxlength="8" title="메뉴No" readonly="${isUpdate}"/>
<form:errors path="menuNo"/>
</td>
</tr>
<tr>
<th class="required" scope="row">
<label for="progrmFileNm">프로그램파일명</label>
</th>
<td colspan="3" nowrap="nowrap">
<form:input path="progrmFileNm" cssStyle="width: 64%;" size="60" maxlength="60" title="프로그램파일명" readonly="true"/>
<form:errors path="progrmFileNm"/>
<a id="btnSchPgmPopup" href="#" title="프로그램조회" style="selector-dummy:expression(this.hideFocus=false);">
<img src="<c:url value='/resources/images/img_search.gif' />" alt='프로그램파일명 검색' width="15" height="15"/></a>
</td>
</tr>
<tr>
<th class="required" scope="row">
<label for="menuNm">메뉴명</label>
</th>
<td nowrap="nowrap">
<form:input path="menuNm" size="30" maxlength="30" title="메뉴명"/>
<form:errors path="menuNm"/>
</td>
<th class="required" scope="row">
<label for="menuOrdr">메뉴순서</label>
</th>
<td nowrap="nowrap">
<form:input path="menuOrdr" size="3" maxlength="3" title="메뉴순서"/>
<form:errors path="menuOrdr"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="relateImagePath">관련이미지경로</label>
</th>
<td nowrap="nowrap">
<form:input path="relateImagePath" size="30" maxlength="30" title="관련이미지경로"/>
<form:errors path="relateImagePath"/>
</td>
<th scope="row">
<label for="relateImageNm">관련이미지명</label>
</th>
<td nowrap="nowrap">
<form:input path="relateImageNm" size="30" maxlength="30" title="관련이미지명"/>
<form:errors path="relateImageNm"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="menuDc">메뉴설명</label>
</th>
<td colspan="3" nowrap="nowrap">
<form:textarea path="menuDc" rows="5" cols="60" title="메뉴설명"/>
<form:errors path="menuDc"/>
</td>
</tr>
</tbody>
</table>
<%@include file="/WEB-INF/jsp/framework/biz-popup-btn.jsp" %>

@ -7,18 +7,18 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 15%">
<col style="width: 20%;">
<col style="width: 8%;">
<col style="width: 350px;">
<col>
<col>
<col>
<col>
<col>
<col style="width: 8%;">
<col>
<col style="width: 7%;">
</colgroup>
<tbody>
<tr>
<th>프로그램 한글명</th>
<td>
<label for="progrmKoreanNm">프로그램 한글명</label>
<input name="progrmKoreanNm" id="progrmKoreanNm" type="text" size="60" value="<c:out value='${progrmKoreanNm}'/>" maxlength="60" title="프로그램명">
</td>
<td colspan="6">

@ -11,24 +11,24 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 15%">
<col style="width: 20%;">
<col style="width: 8%;">
<col style="width: 350px;">
<col>
<col>
<col>
<col>
<col>
<col style="width: 8%;">
<col>
<col style="width: 7%;">
</colgroup>
<tbody>
<tr>
<th>프로그램 한글명</th>
<td>
<input name="progrmKoreanNm" id="progrmKoreanNm" type="text" size="60" value="<c:out value='${progrmKoreanNm}'/>" maxlength="60" title="프로그램명">
</td>
<td colspan="6">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>
<tr>
<td>
<label for="progrmKoreanNm">프로그램 한글명</label>
<input name="progrmKoreanNm" id="progrmKoreanNm" type="text" size="60" value="<c:out value='${progrmKoreanNm}'/>" maxlength="60" title="프로그램명">
</td>
<td colspan="6">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>
</tbody>
</table>
</div>

@ -6,15 +6,15 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 8%;"/>
<col style="width: 30%;"/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<colgroup>
<col style="width: 8%;"/>
<col style="width: 30%;"/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<tbody>
<tr>
<td colspan="6">

@ -37,7 +37,7 @@ function createTree(arrName) {
treeNodes[getTreeArrayId(startNode)].split("|");
} else {
document.write("<input type='checkbox' name='checkAll' class='check2' onclick='javascript:fCheckAll();'><strong style='color: blue; font-weight: bold'>&nbsp;ROOT</strong>");
document.write("<br/><br/>");
document.write("<br/>");
}
const recursedNodes = new Array();
addTreeNode(startNode, recursedNodes);
@ -104,12 +104,12 @@ function addTreeNode(parentNode, recursedNodes) {
const lastSibling = lastTreeSibling(nodeValues[0], nodeValues[1]);
const hasChildNode = hasChildTreeNode(nodeValues[0]);
const isNodeOpen = isTreeNodeOpen(nodeValues[0]);
recursedNodes.forEach(()=>document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"));
recursedNodes.forEach(()=>document.write("&nbsp;&nbsp;&nbsp;"));
if (lastSibling) recursedNodes.push(0);
else recursedNodes.push(1);
document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
document.write("&nbsp;&nbsp;&nbsp;");
//document.write("&nbsp;L&nbsp;");
document.write("<input type='checkbox' id='"+idx+"' name='checkField' class='check2' ");
if(nodeValues[4] == 1){ document.write(" checked "); }

Loading…
Cancel
Save