그리드 컬럼 최소너비 수정

main
이범준 1 year ago
parent 4c7ae19af7
commit 58d5321051

@ -81,18 +81,29 @@
<thead id="crdnThead--${pageName}"> <thead id="crdnThead--${pageName}">
<tr data-by="by--${pageName}" data-by-output="byOutput--${pageName}" <tr data-by="by--${pageName}" data-by-output="byOutput--${pageName}"
data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}"> data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
<th width="80">No.</th> <th style="min-width: 80px;">No.</th>
<th width="80" onclick="searchFromGridTitle('CRDN_REG_SE_CD',this.innerText,'codeValue','FIM026');">등록구분</th> <th onclick="searchFromGridTitle('CRDN_REG_SE_CD',this.innerText,'codeValue','FIM026');"
<th width="80" onclick="searchFromGridTitle('CVLCPT_APLCNT_NM',this.innerText,'match','part');">신고자</th> style="min-width: 80px;">등록구분</th>
<th width="80" onclick="searchFromGridTitle('CVLCPT_PRCS_PIC_NM',this.innerText,'match','part');">담당자</th> <th onclick="searchFromGridTitle('CVLCPT_APLCNT_NM',this.innerText,'match','part');"
<th width="80" onclick="searchFromGridTitle('CVLCPT_PRCS_PIC_TELNO',this.innerText,'match','part');">담당자전화번호</th> style="min-width: 80px;">신고자</th>
<th width="80" onclick="searchFromGridTitle('CVLCPT_RCPT_YMD',this.innerText,'ymd');">접수일자</th> <th onclick="searchFromGridTitle('CVLCPT_PRCS_PIC_NM',this.innerText,'match','part');"
<th width="80" onclick="searchFromGridTitle('CVLCPT_PRCS_PRNMNT_DT',this.innerText,'ymd');">처리기한</th> style="min-width: 80px;">담당자</th>
<th width="80" onclick="searchFromGridTitle('CRDN_YMD','위반일자','ymd');">위반일시</th> <th onclick="searchFromGridTitle('CVLCPT_PRCS_PIC_TELNO',this.innerText,'match','part');"
<th width="80" onclick="searchFromGridTitle('ATCH_FILE_CNT',this.innerText,'match','perfect');">사진건수</th> style="min-width: 80px;">담당자전화번호</th>
<th width="80" onclick="searchFromGridTitle('VLTN_ARTCL',this.innerText);">위반내용</th> <th onclick="searchFromGridTitle('CVLCPT_RCPT_YMD',this.innerText,'ymd');"
<th width="80" onclick="searchFromGridTitle('CVLCPT_RCPT_NO',this.innerText,'match','part');">접수번호</th> style="min-width: 80px;">접수일자</th>
<th width="80" onclick="searchFromGridTitle('VHRNO',this.innerText,'match','part');">차량번호</th> <th onclick="searchFromGridTitle('CVLCPT_PRCS_PRNMNT_DT',this.innerText,'ymd');"
style="min-width: 80px;">처리기한</th>
<th onclick="searchFromGridTitle('CRDN_YMD','위반일자','ymd');"
style="min-width: 80px;">위반일시</th>
<th onclick="searchFromGridTitle('ATCH_FILE_CNT',this.innerText,'match','perfect');"
style="min-width: 80px;">사진건수</th>
<th onclick="searchFromGridTitle('VLTN_ARTCL',this.innerText);"
style="min-width: 80px;">위반내용</th>
<th onclick="searchFromGridTitle('CVLCPT_RCPT_NO',this.innerText,'match','part');"
style="min-width: 80px;">접수번호</th>
<th onclick="searchFromGridTitle('VHRNO',this.innerText,'match','part');"
style="min-width: 80px;">차량번호</th>
</tr> </tr>
</thead> </thead>
<tbody id="crdnTbody--${pageName}"></tbody> <tbody id="crdnTbody--${pageName}"></tbody>

@ -86,19 +86,19 @@
class="datatables-ajax table table-bordered dataTable no-footer"> class="datatables-ajax table table-bordered dataTable no-footer">
<thead id="crdnThead--${pageName}"> <thead id="crdnThead--${pageName}">
<tr> <tr>
<th width="80">No.</th> <th style="min-width: 80px;">No.</th>
<th width="80">등록구분</th> <th style="min-width: 80px;">등록구분</th>
<th width="80">위반내용</th> <th style="min-width: 80px;">위반내용</th>
<th width="80">신고자</th> <th style="min-width: 80px;">신고자</th>
<th width="80">담당자</th> <th style="min-width: 80px;">담당자</th>
<th width="80">담당자전화번호</th> <th style="min-width: 80px;">담당자전화번호</th>
<th width="80">접수일자</th> <th style="min-width: 80px;">접수일자</th>
<th width="80">처리기한</th> <th style="min-width: 80px;">처리기한</th>
<th width="80">위반일자</th> <th style="min-width: 80px;">위반일자</th>
<th width="80">접수번호</th> <th style="min-width: 80px;">접수번호</th>
<th width="80">차량번호</th> <th style="min-width: 80px;">차량번호</th>
<th width="80">서손/계도사유</th> <th style="min-width: 80px;">서손/계도사유</th>
<th width="80">특기사항</th> <th style="min-width: 80px;">특기사항</th>
</tr> </tr>
</thead> </thead>
<tbody id="crdnTbody--${pageName}"></tbody> <tbody id="crdnTbody--${pageName}"></tbody>

@ -58,13 +58,13 @@
class="datatables-ajax table table-bordered dataTable no-footer"> class="datatables-ajax table table-bordered dataTable no-footer">
<thead> <thead>
<tr id="crdnTheadTr--${pageName}"> <tr id="crdnTheadTr--${pageName}">
<th width="50">No.</th> <th style="min-width: 50px;">No.</th>
<th width="80">등록구분</th> <th style="min-width: 80px;">등록구분</th>
<th width="80">자료출처</th> <th style="min-width: 80px;">자료출처</th>
<th width="80">위반일시</th> <th style="min-width: 80px;">위반일시</th>
<th width="80">차량번호</th> <th style="min-width: 80px;">차량번호</th>
<th width="200">위반장소</th> <th style="min-width: 200px;">위반장소</th>
<th width="80">위반내용</th> <th style="min-width: 80px;">위반내용</th>
</tr> </tr>
</thead> </thead>
<tbody id="crdnTbody--${pageName}"></tbody> <tbody id="crdnTbody--${pageName}"></tbody>

@ -150,20 +150,20 @@
</tbody> </tbody>
<template id="crdnCols--${pageName}"> <template id="crdnCols--${pageName}">
<th width="80" class="cmn">No.</th> <th style="min-width: 80px;" class="cmn">No.</th>
<th width="80" class="pvs bpv dpv eca">자료출처</th> <th style="min-width: 80px;" class="pvs bpv dpv eca">자료출처</th>
<th width="80" class="cmn">차량번호</th> <th style="min-width: 80px;" class="cmn">차량번호</th>
<th width="80" class="cmn">위반일시</th> <th style="min-width: 80px;" class="cmn">위반일시</th>
<th width="80" class="dpv eca">신고/단속자</th> <th style="min-width: 80px;" class="dpv eca">신고/단속자</th>
<th width="80" class="cmn">위반장소</th> <th style="min-width: 80px;" class="cmn">위반장소</th>
<th width="80" class="cmn">체납액</th> <th style="min-width: 80px;" class="cmn">체납액</th>
<th width="80" class="cmn">사진건수</th> <th style="min-width: 80px;" class="cmn">사진건수</th>
<th width="80" class="pvs dpv eca">스티커번호</th> <th style="min-width: 80px;" class="pvs dpv eca">스티커번호</th>
<th width="80" class="pvs bpv dpv eca">차량확인</th> <th style="min-width: 80px;" class="pvs bpv dpv eca">차량확인</th>
<th width="80" class="cmn">처리상태</th> <th style="min-width: 80px;" class="cmn">처리상태</th>
<th width="80" class="cmn">제외사유</th> <th style="min-width: 80px;" class="cmn">제외사유</th>
<th width="80" class="cmn">제외처리일자</th> <th style="min-width: 80px;" class="cmn">제외처리일자</th>
<th width="80" class="cmn">제외내역</th> <th style="min-width: 80px;" class="cmn">제외내역</th>
</template> </template>
<template id="crdnRow--${pageName}"> <template id="crdnRow--${pageName}">
<tr data-key="{CRDN_ID}"> <tr data-key="{CRDN_ID}">

@ -174,19 +174,19 @@
class="datatables-ajax table table-bordered dataTable no-footer"> class="datatables-ajax table table-bordered dataTable no-footer">
<thead> <thead>
<tr> <tr>
<th width="80px">No.</th> <th style="min-width: 80px;">No.</th>
<th width="80px">단속일시</th> <th style="min-width: 160px;">단속일시</th>
<th width="80px">차량번호</th> <th style="min-width: 80px;">차량번호</th>
<th width="80px">위반건수</th> <th style="min-width: 80px;">위반건수</th>
<th width="80px" class="text-orange">검사결과</th> <th style="min-width: 80px;" class="text-orange">검사결과</th>
<th width="80px" class="text-orange">처리방법</th> <th style="min-width: 250px;" class="text-orange">처리방법</th>
<th width="80px">위반동</th> <th style="min-width: 80px;">위반동</th>
<th width="80px">위반장소</th> <th style="min-width: 300px;">위반장소</th>
<th width="80px">사진매수</th> <th style="min-width: 80px;">사진매수</th>
<th width="80px">처리상태</th> <th style="min-width: 80px;">처리상태</th>
<th width="80px">원금액</th> <th style="min-width: 80px;">원금액</th>
<th width="80px">감경금액</th> <th style="min-width: 80px;">감경금액</th>
<th width="80px">자료출처</th> <th style="min-width: 80px;">자료출처</th>
</tr> </tr>
</thead> </thead>
<tbody id="photoInspectionTbody--${pageName}"></tbody> <tbody id="photoInspectionTbody--${pageName}"></tbody>
@ -199,7 +199,8 @@
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{INSP_RSLT}</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">{PRCS_MTHD}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_STDG_NM}</td> <td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_STDG_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{CRDN_PLC}</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">{ATCH_FILE_CNT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_STTS_CD}</td> <td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_STTS_CD}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end">{FFNLG_AMT}</td> <td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end">{FFNLG_AMT}</td>
@ -293,7 +294,8 @@
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{TEAM_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">{VHRNO}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_STDG_NM}</td> <td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_STDG_NM}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{CRDN_PLC}</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_CD}</td> <td onclick="{onclick}" ondblclick="{ondblclick}" class="text-center">{CRDN_STTS_CD}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end">{FFNLG_AMT}</td> <td onclick="{onclick}" ondblclick="{ondblclick}" class="text-end">{FFNLG_AMT}</td>
<td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{RTPYR_NM}</td> <td onclick="{onclick}" ondblclick="{ondblclick}" class="text-start">{RTPYR_NM}</td>
@ -589,7 +591,7 @@ $(document).ready(function(){
} }
$P.openLevyExclPop = (levyExclSeCd) => { $P.openLevyExclPop = (levyExclSeCd) => {
let info; var info = "";
if ($P.currentDisplay == "photoInspection") { if ($P.currentDisplay == "photoInspection") {
info = $P.photoInspectionControl.dataset.getCurrent("item"); info = $P.photoInspectionControl.dataset.getCurrent("item");
@ -599,29 +601,28 @@ $(document).ready(function(){
return; return;
} }
// 선택된 자료가 없다면.. return
if (info == undefined || info == "") { if (info == undefined || info == "") {
return; return;
} }
let params = { var params = {
crdnId : info.data.CRDN_ID "crdnId" : info.data.CRDN_ID,
, levyExclSeCd : levyExclSeCd "levyExclSeCd" : levyExclSeCd
}; };
ajax.get({ ajax.get({
url : wctx.url("/excl/excl01/020/info.do") url : wctx.url("/excl/excl01/020/info.do"),
, data : params || {} data : params || {},
, success : resp => { success : resp => {
resp = resp.replace(/infoPrefix/g, this.prefix) resp = resp.replace(/infoPrefix/g, this.prefix)
.replace(/prefixName/g, this.prefixName) .replace(/prefixName/g, this.prefixName)
dialog.open({ dialog.open({
id : "levyExcldialog" id : "levyExcldialog--${pageName}",
, title : "부과제외 정보" title : "부과제외 정보",
, content : resp content : resp,
, size : "lg" size : "lg",
, init : () => $P.photoInspectionControl.setInfo(info) init : () => $P.photoInspectionControl.setInfo(info),
, onClose : () => { $P.photoInspectionControl.load(1); } // callback onClose : () => { $P.photoInspectionControl.load(1); } // callback
}); });
} }
}); });

@ -62,15 +62,22 @@
<tr id="crdnTheadTr--${pageName}" <tr id="crdnTheadTr--${pageName}"
data-by="by--${pageName}" data-by-output="byOutput--${pageName}" data-by="by--${pageName}" data-by-output="byOutput--${pageName}"
data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}"> data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
<th width="80">No.</th> <th style="min-width: 80px;">No.</th>
<th width="80" onclick="searchFromGridTitle('CRDN_INPT_SE_CD',this.innerText,'codeValue','FIM003');">자료출처</th> <th onclick="searchFromGridTitle('CRDN_INPT_SE_CD',this.innerText,'codeValue','FIM003');"
<th width="80" onclick="searchFromGridTitle('CRDN_YMD','위반일자','ymd','');">위반일시</th> style="min-width: 80px;">자료출처</th>
<th width="80" onclick="searchFromGridTitle('VHRNO',this.innerText,'match','part');">차량번호</th> <th onclick="searchFromGridTitle('CRDN_YMD','위반일자','ymd','');"
<th width="80" onclick="searchFromGridTitle('CRDN_STDG_NM',this.innerText,'match','perfect');">법정동</th> style="min-width: 80px;">위반일시</th>
<th width="80" onclick="searchFromGridTitle('APLCNT_CRDN_NM',this.innerText,'','');">신고/단속자</th> <th onclick="searchFromGridTitle('VHRNO',this.innerText,'match','part');"
<th width="80" class="text-orange">잔액</th> style="min-width: 80px;">차량번호</th>
<th width="80" onclick="searchFromGridTitle('ATCH_FILE_CNT',this.innerText,'match','perfect');">사진건수</th> <th onclick="searchFromGridTitle('CRDN_STDG_NM',this.innerText,'match','perfect');"
<th width="80" onclick="searchFromGridTitle('CRDN_SN',this.innerText,'match','perfect');">발행번호</th> style="min-width: 80px;">법정동</th>
<th onclick="searchFromGridTitle('APLCNT_CRDN_NM',this.innerText,'','');"
style="min-width: 80px;">신고/단속자</th>
<th class="text-orange">잔액</th>
<th onclick="searchFromGridTitle('ATCH_FILE_CNT',this.innerText,'match','perfect');"
style="min-width: 80px;">사진건수</th>
<th onclick="searchFromGridTitle('CRDN_SN',this.innerText,'match','perfect');"
style="min-width: 80px;">발행번호</th>
</tr> </tr>
</thead> </thead>
<tbody id="crdnTbody--${pageName}"> <tbody id="crdnTbody--${pageName}">

@ -75,15 +75,22 @@
<tr id="crdnTheadTr--${pageName}" <tr id="crdnTheadTr--${pageName}"
data-by="by--${pageName}" data-by-output="byOutput--${pageName}" data-by="by--${pageName}" data-by-output="byOutput--${pageName}"
data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}"> data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
<th width="80">No.</th> <th style="min-width: 80px;">No.</th>
<th width="80" onclick="searchFromGridTitle('RDUCT_YMD',this.innerText,'ymd','');">감액일자</th> <th onclick="searchFromGridTitle('RDUCT_YMD',this.innerText,'ymd','');"
<th width="80" onclick="searchFromGridTitle('RDUCT_RSN_CD',this.innerText,'codeValue','FIM019');">감액사유</th> style="min-width: 80px;">감액일자</th>
<th width="80" onclick="searchFromGridTitle('CRDN_YMD','접수(위반)일자','ymd','');">접수(위반)일시</th> <th onclick="searchFromGridTitle('RDUCT_RSN_CD',this.innerText,'codeValue','FIM019');"
<th width="80" onclick="searchFromGridTitle('VHRNO',this.innerText,'match','part');">차량번호</th> style="min-width: 80px;">감액사유</th>
<th width="80" onclick="searchFromGridTitle('RDUCT_AMT',this.innerText,'match','perfect');">감액금액</th> <th onclick="searchFromGridTitle('CRDN_YMD','접수(위반)일자','ymd','');"
<th width="80" class="text-orange">잔액</th> style="min-width: 80px;">접수(위반)일시</th>
<th width="80" onclick="searchFromGridTitle('RDUCT_ETC_CN',this.innerText,'match','part');">감액특기사항</th> <th onclick="searchFromGridTitle('VHRNO',this.innerText,'match','part');"
<th width="80" onclick="searchFromGridTitle('CRDN_STTS_CD',this.innerText,'codeValue','FIM010');">처리상태</th> style="min-width: 80px;">차량번호</th>
<th onclick="searchFromGridTitle('RDUCT_AMT',this.innerText,'match','perfect');"
>감액금액</th>
<th class="text-orange" style="min-width: 80px;">잔액</th>
<th onclick="searchFromGridTitle('RDUCT_ETC_CN',this.innerText,'match','part');"
style="min-width: 80px;">감액특기사항</th>
<th onclick="searchFromGridTitle('CRDN_STTS_CD',this.innerText,'codeValue','FIM010');"
style="min-width: 80px;">처리상태</th>
</tr> </tr>
</thead> </thead>
<tbody id="crdnTbody--${pageName}"></tbody> <tbody id="crdnTbody--${pageName}"></tbody>

Loading…
Cancel
Save