커스텀엘리먼트 추가

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

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

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

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

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

@ -218,24 +218,24 @@
style="width: 250px;" class="cmn">제외내역</th> style="width: 250px;" class="cmn">제외내역</th>
<th class="cmn dummy-th"></th> <th class="cmn dummy-th"></th>
</template> </template>
<template name="crdnRow"> <template is="curly-brackets" name="crdnRow">
<tr data-key="{CRDN_ID}"> <tr data-key="CRDN_ID">
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end cmn">{ROW_NUM}</td> <td onclick ondblclick class="text-end cmn">ROW_NUM</td>
<td class="cmn text-center"> <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);"> onchange="pageObject['${pageName}'].checkCrdnList(this, this.checked);">
</td> </td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center cmn">{CRDN_INPT_SE_NM}</td> <td onclick ondblclick class="text-center cmn">CRDN_INPT_SE_NM</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center cmn">{VHRNO}</td> <td onclick ondblclick class="text-center cmn">VHRNO</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center cmn">{CRDN_YMD_TM}</td> <td onclick ondblclick class="text-center cmn">CRDN_YMD_TM</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start cmn">{CRDN_PLC}</td> <td onclick ondblclick class="text-start cmn">CRDN_PLC</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center cmn">{ATCH_FILE_CNT}</td> <td onclick 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 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 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 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 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 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-start cmn">LEVY_EXCL_ETC_CN</td>
<td class="dummy-td cmn"></td> <td class="dummy-td cmn"></td>
</tr> </tr>
</template> </template>

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

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

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

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

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

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

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

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

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

@ -99,7 +99,7 @@
<div class="col-md-12"> <div class="col-md-12">
<label for="roadNmCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">도로명코드</label> <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-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="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-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 /> <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"> <div class="col-md-6">
<label for="stdgCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">법정동코드</label> <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-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="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 /> <input type="text" class="form-control w-px-50" id="sno--${pageName}" name="sno" data-map="SNO" readonly />
</div> </div>

@ -167,3 +167,65 @@ class IdDataList extends HTMLDataListElement {
} }
customElements.define("id-datalist", IdDataList, { extends: "datalist" }); 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