커스텀엘리먼트 추가

main
이범준 3 months ago
parent 27d057875c
commit a19f0b7a4e

@ -88,14 +88,14 @@
</thead>
<tbody name="layoutTbody">
</tbody>
<template name="layoutRow">
<tr data-key="{FILE_LAYOUT_ID}">
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end">{ROW_NUM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{TASK_SE_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{DEPT_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{DATA_FILE_SE_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{ENT_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{LINK_ENT_NM}</td>
<template is="curly-brackets" name="layoutRow">
<tr data-key="FILE_LAYOUT_ID">
<td onclick ondblclick class="text-end">ROW_NUM</td>
<td onclick ondblclick class="text-center">TASK_SE_NM</td>
<td onclick ondblclick class="text-center">DEPT_NM</td>
<td onclick ondblclick class="text-center">DATA_FILE_SE_NM</td>
<td onclick ondblclick class="text-center">ENT_NM</td>
<td onclick ondblclick class="text-center">LINK_ENT_NM</td>
<td class="dummy-td cmn"></td>
</tr>
</template>

@ -222,22 +222,22 @@
</tr>
</thead>
<tbody name="photoInspectionTbody"></tbody>
<template name="photoInspectionRow">
<tr data-key="{CRDN_ID}">
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{ROW_NUM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_YMD_TM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{VHRNO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_CNT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{INSP_RSLT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{PRCS_MTHD}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_STDG_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start text-truncate"
style="max-width:500px;">{CRDN_PLC}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{ATCH_FILE_CNT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_STTS_CD}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end">{FFNLG_CRDN_AMT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end">{ADVNTCE_AMT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_INPT_SE_NM}</td>
<template is="curly-brackets" name="photoInspectionRow">
<tr data-key="CRDN_ID">
<td onclick ondblclick class="text-center">ROW_NUM</td>
<td onclick ondblclick class="text-center">CRDN_YMD_TM</td>
<td onclick ondblclick class="text-center">VHRNO</td>
<td onclick ondblclick class="text-center">CRDN_CNT</td>
<td onclick ondblclick class="text-center">INSP_RSLT</td>
<td onclick ondblclick class="text-center">PRCS_MTHD</td>
<td onclick ondblclick class="text-center">CRDN_STDG_NM</td>
<td onclick ondblclick class="text-start text-truncate"
style="max-width:500px;">CRDN_PLC</td>
<td onclick ondblclick class="text-center">ATCH_FILE_CNT</td>
<td onclick ondblclick class="text-center">CRDN_STTS_CD</td>
<td onclick ondblclick class="text-end">FFNLG_CRDN_AMT</td>
<td onclick ondblclick class="text-end">ADVNTCE_AMT</td>
<td onclick ondblclick class="text-center">CRDN_INPT_SE_NM</td>
<td class="dummy-td"></td>
</tr>
</template>
@ -287,11 +287,11 @@
</tr>
</thead>
<tbody name="sameVehicleInspectionMainTbody"></tbody>
<template name="sameVehicleInspectionMainRow">
<tr data-key="{CRDN_ID_LIST}">
<td onclick="{onclick}" class="text-center">{VHRNO}</td>
<td onclick="{onclick}" class="text-center">{CRDN_STDG_NM}</td>
<td onclick="{onclick}" class="text-center">{CRDN_CNT}</td>
<template is="curly-brackets" name="sameVehicleInspectionMainRow">
<tr data-key="CRDN_ID_LIST">
<td onclick class="text-center">VHRNO</td>
<td onclick class="text-center">CRDN_STDG_NM</td>
<td onclick class="text-center">CRDN_CNT</td>
<td class="dummy-td"></td>
</tr>
</template>
@ -339,19 +339,19 @@
</thead>
<tbody name="sameVehicleInspectionSubTbody">
</tbody>
<template name="sameVehicleInspectionSubRow">
<tr data-key="{CRDN_ID}">
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_YMD_TM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_INPT_SE_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{TEAM_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{VHRNO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_STDG_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start text-truncate"
style="max-width:500px;min-width: 300px;">{CRDN_PLC}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_STTS_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end">{FFNLG_CRDN_AMT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{RTPYR_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center privacy-cell">
<template is="curly-brackets" name="sameVehicleInspectionSubRow">
<tr data-key="CRDN_ID">
<td onclick ondblclick class="text-center">CRDN_YMD_TM</td>
<td onclick ondblclick class="text-center">CRDN_INPT_SE_NM</td>
<td onclick ondblclick class="text-center">TEAM_NM</td>
<td onclick ondblclick class="text-center">VHRNO</td>
<td onclick ondblclick class="text-center">CRDN_STDG_NM</td>
<td onclick ondblclick class="text-start text-truncate"
style="max-width:500px;min-width: 300px;">CRDN_PLC</td>
<td onclick ondblclick class="text-center">CRDN_STTS_NM</td>
<td onclick ondblclick class="text-end">FFNLG_CRDN_AMT</td>
<td onclick ondblclick class="text-start">RTPYR_NM</td>
<td onclick ondblclick class="text-center privacy-cell">
<span>{RTPYR_NO}</span>
<span>************</span>
</td>

@ -86,16 +86,16 @@
</thead>
<tbody name="crdnTbody">
</tbody>
<template name="crdnRow">
<tr data-key="{CRDN_ID}">
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end">{ROW_NUM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_INPT_SE_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_YMD_TM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{VHRNO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_STDG_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end">{BLNC}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{ATCH_FILE_CNT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{CRDN_SN}</td>
<template is="curly-brackets" name="crdnRow">
<tr data-key="CRDN_ID">
<td onclick ondblclick class="text-end">ROW_NUM</td>
<td onclick ondblclick class="text-center">CRDN_INPT_SE_NM</td>
<td onclick ondblclick class="text-center">CRDN_YMD_TM</td>
<td onclick ondblclick class="text-center">VHRNO</td>
<td onclick ondblclick class="text-center">CRDN_STDG_NM</td>
<td onclick ondblclick class="text-end">BLNC</td>
<td onclick ondblclick class="text-center">ATCH_FILE_CNT</td>
<td onclick ondblclick class="text-start">CRDN_SN</td>
<td class="dummy-td"></td>
</tr>
</template>

@ -73,15 +73,15 @@
</tr>
</thead>
<tbody name="crdnTbody"></tbody>
<template name="crdnRow">
<tr data-key="{CRDN_ID}">
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end">{ROW_NUM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_REG_SE_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_INPT_SE_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_YMD_TM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{VHRNO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{CRDN_PLC}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{VLTN_ARTCL}</td>
<template is="curly-brackets" name="crdnRow">
<tr data-key="CRDN_ID">
<td onclick ondblclick class="text-end">ROW_NUM</td>
<td onclick ondblclick class="text-center">CRDN_REG_SE_NM</td>
<td onclick ondblclick class="text-center">CRDN_INPT_SE_NM</td>
<td onclick ondblclick class="text-center">CRDN_YMD_TM</td>
<td onclick ondblclick class="text-center">VHRNO</td>
<td onclick ondblclick class="text-start">CRDN_PLC</td>
<td onclick ondblclick class="text-start">VLTN_ARTCL</td>
<td class="dummy-td"></td>
</tr>
</template>

@ -218,24 +218,24 @@
style="width: 250px;" class="cmn">제외내역</th>
<th class="cmn dummy-th"></th>
</template>
<template name="crdnRow">
<tr data-key="{CRDN_ID}">
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end cmn">{ROW_NUM}</td>
<template is="curly-brackets" name="crdnRow">
<tr data-key="CRDN_ID">
<td onclick ondblclick class="text-end cmn">ROW_NUM</td>
<td class="cmn text-center">
<input type="checkbox" class="form-check-input" name="gridCheckbox" value="{CRDN_ID}"
<input type="checkbox" class="form-check-input" name="gridCheckbox" value="CRDN_ID"
onchange="pageObject['${pageName}'].checkCrdnList(this, this.checked);">
</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center cmn">{CRDN_INPT_SE_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center cmn">{VHRNO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center cmn">{CRDN_YMD_TM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start cmn">{CRDN_PLC}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center cmn">{ATCH_FILE_CNT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start pvs dpv eca">{CRDN_SN}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center dpv">{PRK_PSBLTY_RSLT_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center cmn">{CRDN_STTS_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center cmn">{LEVY_EXCL_RSN_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center cmn">{LEVY_EXCL_YMD}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start cmn">{LEVY_EXCL_ETC_CN}</td>
<td onclick ondblclick class="text-center cmn">CRDN_INPT_SE_NM</td>
<td onclick ondblclick class="text-center cmn">VHRNO</td>
<td onclick ondblclick class="text-center cmn">CRDN_YMD_TM</td>
<td onclick ondblclick class="text-start cmn">CRDN_PLC</td>
<td onclick ondblclick class="text-center cmn">ATCH_FILE_CNT</td>
<td onclick ondblclick class="text-start pvs dpv eca">CRDN_SN</td>
<td onclick ondblclick class="text-center dpv">PRK_PSBLTY_RSLT_NM</td>
<td onclick ondblclick class="text-center cmn">CRDN_STTS_NM</td>
<td onclick ondblclick class="text-center cmn">LEVY_EXCL_RSN_NM</td>
<td onclick ondblclick class="text-center cmn">LEVY_EXCL_YMD</td>
<td onclick ondblclick class="text-start cmn">LEVY_EXCL_ETC_CN</td>
<td class="dummy-td cmn"></td>
</tr>
</template>

@ -68,16 +68,16 @@
</tr>
</thead>
<tbody name="useTeamTbody"></tbody>
<template name="useTeamRow">
<tr data-key="{TEAM_ID}">
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{TEAM_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{CRDN_SE_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{TEAMER_1}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{TEAMER_2}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{TEAMER_3}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{TEAMER_4}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{ETC_CN}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{REG_DT}</td>
<template is="curly-brackets" name="useTeamRow">
<tr data-key="TEAM_ID">
<td onclick ondblclick class="text-start">TEAM_NM</td>
<td onclick ondblclick class="text-start">CRDN_SE_NM</td>
<td onclick ondblclick class="text-start">TEAMER_1</td>
<td onclick ondblclick class="text-start">TEAMER_2</td>
<td onclick ondblclick class="text-start">TEAMER_3</td>
<td onclick ondblclick class="text-start">TEAMER_4</td>
<td onclick ondblclick class="text-start">ETC_CN</td>
<td onclick ondblclick class="text-center">REG_DT</td>
<td class="dummy-td"></td>
</tr>
</template>
@ -204,17 +204,17 @@
</tr>
</thead>
<tbody name="delTeamTbody"></tbody>
<template name="delTeamRow">
<tr data-key="{TEAM_ID}">
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{TEAM_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{CRDN_SE_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{TEAMER_1}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{TEAMER_2}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{TEAMER_3}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{TEAMER_4}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{ETC_CN}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{REG_DT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{MDFCN_DT}</td>
<template is="curly-brackets" name="delTeamRow">
<tr data-key="TEAM_ID">
<td onclick ondblclick class="text-start">TEAM_NM</td>
<td onclick ondblclick class="text-start">CRDN_SE_NM</td>
<td onclick ondblclick class="text-start">TEAMER_1</td>
<td onclick ondblclick class="text-start">TEAMER_2</td>
<td onclick ondblclick class="text-start">TEAMER_3</td>
<td onclick ondblclick class="text-start">TEAMER_4</td>
<td onclick ondblclick class="text-start">ETC_CN</td>
<td onclick ondblclick class="text-center">REG_DT</td>
<td onclick ondblclick class="text-center">MDFCN_DT</td>
<td class="dummy-td"></td>
</tr>
</template>

@ -83,22 +83,22 @@
</tr>
</thead>
<tbody name="exmptnVhclTbody"></tbody>
<template name="exmptnVhclRow">
<tr data-key="{EXMPTN_VHCL_ID}">
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end">{ROW_NUM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{VHRNO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{EXMPTN_RSN}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{DOC_NO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{OWNR_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{EXMPTN_BGNG_YMD}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{EXMPTN_END_YMD}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{RGTR_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{REG_DT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{MDFR_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{MDFCN_DT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{DLTR_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{DEL_RSN}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{DEL_DT}</td>
<template is="curly-brackets" name="exmptnVhclRow">
<tr data-key="EXMPTN_VHCL_ID">
<td onclick ondblclick class="text-end">ROW_NUM</td>
<td onclick ondblclick class="text-center">VHRNO</td>
<td onclick ondblclick class="text-start">EXMPTN_RSN</td>
<td onclick ondblclick class="text-start">DOC_NO</td>
<td onclick ondblclick class="text-start">OWNR_NM</td>
<td onclick ondblclick class="text-center">EXMPTN_BGNG_YMD</td>
<td onclick ondblclick class="text-center">EXMPTN_END_YMD</td>
<td onclick ondblclick class="text-start">RGTR_NM</td>
<td onclick ondblclick class="text-center">REG_DT</td>
<td onclick ondblclick class="text-start">MDFR_NM</td>
<td onclick ondblclick class="text-center">MDFCN_DT</td>
<td onclick ondblclick class="text-start">DLTR_NM</td>
<td onclick ondblclick class="text-start">DEL_RSN</td>
<td onclick ondblclick class="text-center">DEL_DT</td>
<td class="dummy-td"></td>
</tr>
</template>

@ -29,23 +29,23 @@
</tr>
</thead>
<tbody name="exmptnVhclTbody"></tbody>
<template name="exmptnVhclRow">
<tr data-key="{HSTRY_SN}">
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end">{HSTRY_SN}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{VHRNO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{EXMPTN_RSN}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{DOC_NO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{OWNR_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{EXMPTN_BGNG_YMD}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{EXMPTN_END_YMD}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{DEL_YN}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{DEL_RSN}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{RGTR_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{REG_DT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{MDFR_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{MDFCN_DT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{DLTR_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{DEL_DT}</td>
<template is="curly-brackets" name="exmptnVhclRow">
<tr data-key="HSTRY_SN">
<td onclick ondblclick class="text-end">HSTRY_SN</td>
<td onclick ondblclick class="text-center">VHRNO</td>
<td onclick ondblclick class="text-start">EXMPTN_RSN</td>
<td onclick ondblclick class="text-start">DOC_NO</td>
<td onclick ondblclick class="text-start">OWNR_NM</td>
<td onclick ondblclick class="text-center">EXMPTN_BGNG_YMD</td>
<td onclick ondblclick class="text-center">EXMPTN_END_YMD</td>
<td onclick ondblclick class="text-center">DEL_YN</td>
<td onclick ondblclick class="text-start">DEL_RSN</td>
<td onclick ondblclick class="text-start">RGTR_NM</td>
<td onclick ondblclick class="text-center">REG_DT</td>
<td onclick ondblclick class="text-start">MDFR_NM</td>
<td onclick ondblclick class="text-center">MDFCN_DT</td>
<td onclick ondblclick class="text-start">DLTR_NM</td>
<td onclick ondblclick class="text-center">DEL_DT</td>
<td class="dummy-td"></td>
</tr>
</template>

@ -165,21 +165,21 @@
</tr>
</thead>
<tbody name="crdnTbody"></tbody>
<template name="crdnRow">
<tr data-key="{CRDN_ID}">
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end">{ROW_NUM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_RCPT_NO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_LIST_NO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_REG_SE_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_APLCNT_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_PRCS_PIC_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_PRCS_PIC_TELNO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_RCPT_YMD}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_PRCS_PRNMNT_DT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_YMD_TM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{VLTN_ARTCL}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{VHRNO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{ATCH_FILE_CNT}</td>
<template is="curly-brackets" name="crdnRow">
<tr data-key="CRDN_ID">
<td onclick ondblclick class="text-end">ROW_NUM</td>
<td onclick ondblclick class="text-center">CVLCPT_RCPT_NO</td>
<td onclick ondblclick class="text-center">CVLCPT_LIST_NO</td>
<td onclick ondblclick class="text-center">CRDN_REG_SE_NM</td>
<td onclick ondblclick class="text-center">CVLCPT_APLCNT_NM</td>
<td onclick ondblclick class="text-center">CVLCPT_PRCS_PIC_NM</td>
<td onclick ondblclick class="text-center">CVLCPT_PRCS_PIC_TELNO</td>
<td onclick ondblclick class="text-center">CVLCPT_RCPT_YMD</td>
<td onclick ondblclick class="text-center">CVLCPT_PRCS_PRNMNT_DT</td>
<td onclick ondblclick class="text-center">CRDN_YMD_TM</td>
<td onclick ondblclick class="text-center">VLTN_ARTCL</td>
<td onclick ondblclick class="text-center">VHRNO</td>
<td onclick ondblclick class="text-center">ATCH_FILE_CNT</td>
<td class="dummy-td"></td>
</tr>
</template>

@ -188,25 +188,25 @@
</tr>
</thead>
<tbody name="crdnTbody"></tbody>
<template name="crdnRow">
<tr data-key="{CRDN_ID}">
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end">{ROW_NUM}</td>
<template is="curly-brackets" name="crdnRow">
<tr data-key="CRDN_ID">
<td onclick ondblclick class="text-end">ROW_NUM</td>
<td class="text-center">
<input type="checkbox" name="gridCheckbox" name="gridCheckbox" value="{CRDN_ID}"
<input type="checkbox" name="gridCheckbox" name="gridCheckbox" value="CRDN_ID"
onchange="pageObject['${pageName}'].checkCrdnList(this, this.checked);" />
</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_RCPT_NO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_LIST_NO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_APLCNT_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_PRCS_PIC_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_PRCS_PIC_TELNO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_RCPT_YMD}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_PRCS_PRNMNT_DT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_YMD_TM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{VLTN_ARTCL}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{VHRNO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{LEVY_EXCL_RSN_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{ETC_CN}</td>
<td onclick ondblclick class="text-center">CVLCPT_RCPT_NO</td>
<td onclick ondblclick class="text-center">CVLCPT_LIST_NO</td>
<td onclick ondblclick class="text-center">CVLCPT_APLCNT_NM</td>
<td onclick ondblclick class="text-center">CVLCPT_PRCS_PIC_NM</td>
<td onclick ondblclick class="text-center">CVLCPT_PRCS_PIC_TELNO</td>
<td onclick ondblclick class="text-center">CVLCPT_RCPT_YMD</td>
<td onclick ondblclick class="text-center">CVLCPT_PRCS_PRNMNT_DT</td>
<td onclick ondblclick class="text-center">CRDN_YMD_TM</td>
<td onclick ondblclick class="text-center">VLTN_ARTCL</td>
<td onclick ondblclick class="text-center">VHRNO</td>
<td onclick ondblclick class="text-center">LEVY_EXCL_RSN_NM</td>
<td onclick ondblclick class="text-center">ETC_CN</td>
<td class="dummy-td"></td>
</tr>
</template>

@ -166,23 +166,23 @@
</tr>
</thead>
<tbody name="crdnTbody"></tbody>
<template name="crdnRow">
<tr data-key="{CRDN_ID}">
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end">{ROW_NUM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_RCPT_NO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_LIST_NO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_REG_SE_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_APLCNT_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_PRCS_PIC_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_PRCS_PIC_TELNO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_RCPT_YMD}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CVLCPT_PRCS_PRNMNT_DT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_YMD_TM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{VLTN_ARTCL}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{VHRNO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{ATCH_FILE_CNT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{LEVY_EXCL_RSN_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{ETC_CN}</td>
<template is="curly-brackets" name="crdnRow">
<tr data-key="CRDN_ID">
<td onclick ondblclick class="text-end">ROW_NUM</td>
<td onclick ondblclick class="text-center">CVLCPT_RCPT_NO</td>
<td onclick ondblclick class="text-center">CVLCPT_LIST_NO</td>
<td onclick ondblclick class="text-center">CRDN_REG_SE_NM</td>
<td onclick ondblclick class="text-center">CVLCPT_APLCNT_NM</td>
<td onclick ondblclick class="text-center">CVLCPT_PRCS_PIC_NM</td>
<td onclick ondblclick class="text-center">CVLCPT_PRCS_PIC_TELNO</td>
<td onclick ondblclick class="text-center">CVLCPT_RCPT_YMD</td>
<td onclick ondblclick class="text-center">CVLCPT_PRCS_PRNMNT_DT</td>
<td onclick ondblclick class="text-center">CRDN_YMD_TM</td>
<td onclick ondblclick class="text-center">VLTN_ARTCL</td>
<td onclick ondblclick class="text-center">VHRNO</td>
<td onclick ondblclick class="text-center">ATCH_FILE_CNT</td>
<td onclick ondblclick class="text-center">LEVY_EXCL_RSN_NM</td>
<td onclick ondblclick class="text-center">ETC_CN</td>
<td class="dummy-td"></td>
</tr>
</template>

@ -88,15 +88,15 @@
</tr>
</thead>
<tbody name="dmndTbody"></tbody>
<template name="dmndRow">
<tr data-key="{INDIV_ID}">
<td onclick="{onclick}" class="text-end">{ROW_NUM}</td>
<td onclick="{onclick}" class="text-center">{DMND_YMD}</td>
<td onclick="{onclick}" class="text-center">{RGTR}</td>
<td onclick="{onclick}" class="text-center">{RCPT_YMD}</td>
<td onclick="{onclick}" class="text-center">{PST_NO}</td>
<td onclick="{onclick}" class="text-center">{STTS_NM}</td>
<td onclick="{onclick}" class="text-center">{RSPNS_DT}</td>
<template is="curly-brackets" name="dmndRow">
<tr data-key="INDIV_ID">
<td onclick class="text-end">ROW_NUM</td>
<td onclick class="text-center">DMND_YMD</td>
<td onclick class="text-center">RGTR</td>
<td onclick class="text-center">RCPT_YMD</td>
<td onclick class="text-center">PST_NO</td>
<td onclick class="text-center">STTS_NM</td>
<td onclick class="text-center">RSPNS_DT</td>
<td class="dummy-td"></td>
</tr>
</template>

@ -124,13 +124,13 @@
</tr>
</thead>
<tbody name="vltnTbody"></tbody>
<template name="vltnRow">
<tr data-key="{VLTN_CASE_ID}">
<template is="curly-brackets" name="vltnRow">
<tr data-key="VLTN_CASE_ID">
<td class="text-center min-w-px-50 mw-px-50">
<input type="radio" name="levyRadio" value="{VLTN_CASE_ID}"
onchange="{onchange}" />
<input type="radio" name="levyRadio" value="VLTN_CASE_ID"
onchange />
</td>
<td onclick="{onclick}" class="text-center">{VLTN_CASE_NM}</td>
<td onclick class="text-center">VLTN_CASE_NM</td>
</tr>
</template>
<template name="vltnNotFound">
@ -154,13 +154,13 @@
</tr>
</thead>
<tbody name="warningTbody"></tbody>
<template name="warningRow">
<tr data-key="{LEVY_EXCL_RSN_CD}">
<template is="curly-brackets" name="warningRow">
<tr data-key="LEVY_EXCL_RSN_CD">
<td class="text-center min-w-px-50 mw-px-50">
<input type="radio" name="warningRadio" value="{LEVY_EXCL_RSN_CD}"
onchange="{onchange}" />
<input type="radio" name="warningRadio" value="LEVY_EXCL_RSN_CD"
onchange />
</td>
<td onclick="{onclick}" class="text-center">{LEVY_EXCL_RSN_NM}</td>
<td onclick class="text-center">LEVY_EXCL_RSN_NM</td>
</tr>
</template>
<template name="warningNotFound">
@ -185,14 +185,14 @@
</tr>
</thead>
<tbody name="nonlevyTbody"></tbody>
<template name="nonlevyRow">
<tr data-key="{LEVY_EXCL_RSN_CD}">
<template is="curly-brackets" name="nonlevyRow">
<tr data-key="LEVY_EXCL_RSN_CD">
<td class="text-center min-w-px-50 mw-px-50">
<input type="radio" name="nonlevyRadio" value="{LEVY_EXCL_RSN_CD}"
onchange="{onchange}" />
<input type="radio" name="nonlevyRadio" value="LEVY_EXCL_RSN_CD"
onchange />
</td>
<td onclick="{onclick}" class="text-center">{LEVY_EXCL_RSN_NM}</td>
<td onclick="{onclick}" class="text-center">{USE_YN}</td>
<td onclick class="text-center">LEVY_EXCL_RSN_NM</td>
<td onclick class="text-center">USE_YN</td>
</tr>
</template>
<template name="nonlevyNotFound">

@ -47,13 +47,13 @@
</tr>
</thead>
<tbody name="warningWordsTbody"></tbody>
<template name="warningWordsRow">
<tr data-key="{LEVY_EXCL_RSN_CD}">
<template is="curly-brackets" name="warningWordsRow">
<tr data-key="LEVY_EXCL_RSN_CD">
<td class="text-center min-w-px-50 mw-px-50">
<input type="radio" name="gridRadio" value="{LEVY_EXCL_RSN_CD}"
onchange="{onchange}" />
<input type="radio" name="gridRadio" value="LEVY_EXCL_RSN_CD"
onchange />
</td>
<td onclick="{onclick}" class="text-center">{LEVY_EXCL_RSN_NM}</td>
<td onclick class="text-center">LEVY_EXCL_RSN_NM</td>
</tr>
</template>
<template name="warningWordsNotFound">

@ -99,7 +99,7 @@
<div class="col-md-12">
<label for="roadNmCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">도로명코드</label>
<input type="text" class="form-control w-px-120" id="roadNmCd--${pageName}" name="roadNmCd" data-map="ROAD_NM_CD" readonly />
<input type="text" class="form-control w-px-30" id="udgdSeCd--${pageName}" name="udgdSeCd" data-map="UDGD_SE_CD" readonly />
<input type="text" class="form-control w-px-40" id="udgdSeCd--${pageName}" name="udgdSeCd" data-map="UDGD_SE_CD" readonly />
<input type="text" class="form-control w-px-60" id="bmno--${pageName}" name="bmno" data-map="BMNO" readonly />
<input type="text" class="form-control w-px-60" id="bsno--${pageName}" name="bsno" data-map="BSNO" readonly />
<input type="text" class="form-control w-px-230" id="bldgMngNo--${pageName}" name="bldgMngNo" data-map="BLDG_MNG_NO" readonly />
@ -108,7 +108,7 @@
<div class="col-md-6">
<label for="stdgCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">법정동코드</label>
<input type="text" class="form-control w-30" id="stdgCd--${pageName}" name="stdgCd" data-map="STDG_CD" readonly />
<input type="text" class="form-control w-px-30" id="mtnSeCd--${pageName}" name="mtnSeCd" data-map="MTN_SE_CD" readonly />
<input type="text" class="form-control w-px-40" id="mtnSeCd--${pageName}" name="mtnSeCd" data-map="MTN_SE_CD" readonly />
<input type="text" class="form-control w-px-50" id="mno--${pageName}" name="mno" data-map="MNO" readonly />
<input type="text" class="form-control w-px-50" id="sno--${pageName}" name="sno" data-map="SNO" readonly />
</div>

@ -167,3 +167,65 @@ class IdDataList extends HTMLDataListElement {
}
customElements.define("id-datalist", IdDataList, { extends: "datalist" });
/**************************************************************************
* 중괄호 자동 추가 템플릿
**************************************************************************/
class CurlyBrackets extends HTMLTemplateElement {
constructor() {
super();
let thisCon = this.content;
let trs = thisCon.querySelectorAll("tr");
trs.forEach(function(node) {
let key = node.getAttribute("data-key");
if(key != null && key != "" && key.indexOf("{") == -1){
node.setAttribute("data-key","{"+key+"}");
}
let index = node.getAttribute("data-index");
if(index != null && index != "" && index.indexOf("{") == -1){
node.setAttribute("data-index","{"+index+"}");
}
});
let tds = thisCon.querySelectorAll("td");
tds.forEach(function(node) {
if(node.getAttribute("onclick") != null && node.getAttribute("onclick") == ""){
node.setAttribute("onclick","{onclick}");
}
if(node.getAttribute("ondblclick") != null && node.getAttribute("ondblclick") == ""){
node.setAttribute("ondblclick","{ondblclick}");
}
if(node.textContent.trim() != "" && node.textContent.indexOf("{") == -1){
node.textContent = "{"+node.textContent.trim()+"}";
}
});
let tdCheckboxes = thisCon.querySelectorAll("td>input[type='checkbox']");
tdCheckboxes.forEach(function(node) {
if(node.getAttribute("value") != null && node.getAttribute("value") != "" && node.getAttribute("value") != "on"){
node.setAttribute("value","{"+node.getAttribute("value")+"}");
}
if(node.getAttribute("onchange") != null && node.getAttribute("onchange") == ""){
node.setAttribute("onchange","{onchange}");
}
});
let tdRadios = thisCon.querySelectorAll("td>input[type='radio']");
tdRadios.forEach(function(node) {
if(node.getAttribute("value") != null && node.getAttribute("value") != "" && node.getAttribute("value") != "on"){
node.setAttribute("value","{"+node.getAttribute("value")+"}");
}
if(node.getAttribute("onchange") != null && node.getAttribute("onchange") == ""){
node.setAttribute("onchange","{onchange}");
}
});
}
}
customElements.define("curly-brackets", CurlyBrackets, { extends: "template" });

Loading…
Cancel
Save