개별총정보 호출 수정.

main
JoJH 2 weeks ago
parent a4a9f272e0
commit 0dfa096e39

@ -108,7 +108,7 @@
<input type="text" class="form-control w-px-400" name="term" autocomplete="off" /> <input type="text" class="form-control w-px-400" name="term" autocomplete="off" />
<!-- 상세 검색조건 버튼 --> <!-- 상세 검색조건 버튼 -->
<span class="flr"> <span class="flr">
<button type="button" class="btn btn-open-detail" data-bs-toggle="collapse" <button type="button" class="btn btn-open-detail" data-bs-toggle="collapse"
data-bs-target="[data-doctx='${pageName}'] [name='searchDetail']"> data-bs-target="[data-doctx='${pageName}'] [name='searchDetail']">
<i class="bx bx-chevron-down"></i> <i class="bx bx-chevron-down"></i>
상세검색 상세검색
@ -152,7 +152,7 @@
</select> </select>
<input type="hidden" name="schRgtrCd" /> <input type="hidden" name="schRgtrCd" />
<input type="text" class="form-control w-px-160" name="schRgtrNm" /> <input type="text" class="form-control w-px-160" name="schRgtrNm" />
<button type="button" class="btn btn-sm btn-outline-dark" <button type="button" class="btn btn-sm btn-outline-dark"
name="btnFindUser" title="사용자 검색">검색</button> name="btnFindUser" title="사용자 검색">검색</button>
</div> </div>
</div> </div>
@ -164,12 +164,12 @@
<span is="paging-info" name="photoInspectionPagingInfo" class="dataTables_info"></span> <span is="paging-info" name="photoInspectionPagingInfo" class="dataTables_info"></span>
<ul name="photoInspectionPaging" class="pagination pagination-primary"></ul> <ul name="photoInspectionPaging" class="pagination pagination-primary"></ul>
</div> </div>
<div class="d-flex flex-row justify-content-between area-samevehicleinspection"> <div class="d-flex flex-row justify-content-between area-samevehicleinspection">
<span is="paging-info" name="sameVehicleInspectionMainPagingInfo" class="dataTables_info"></span> <span is="paging-info" name="sameVehicleInspectionMainPagingInfo" class="dataTables_info"></span>
<ul name="sameVehicleInspectionMainPaging" class="pagination pagination-primary"></ul> <ul name="sameVehicleInspectionMainPaging" class="pagination pagination-primary"></ul>
</div> </div>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<button type="button" name="btnInstLevyExcl" class="btn btn-primary" <button type="button" name="btnInstLevyExcl" class="btn btn-primary"
title="비부과 등록">비부과 등록</button> title="비부과 등록">비부과 등록</button>
@ -434,12 +434,12 @@ $(document).ready(function(){
$P.showPhoto(curCrdnId,nextCrdnId,curDataVhrno,nextDataVhrno); $P.showPhoto(curCrdnId,nextCrdnId,curDataVhrno,nextDataVhrno);
} }
$P.pagingSupport0 = new FimsPagingSupport({ $P.pagingSupport0 = new FimsPagingSupport({
doq: $P, doq: $P,
linkContainer: "[name='photoInspectionPaging']" linkContainer: "[name='photoInspectionPaging']"
}); });
//동일차량검사 datasetControl 인스턴스 //동일차량검사 datasetControl 인스턴스
var alt = newCrdn02010Alt($P); var alt = newCrdn02010Alt($P);
alt.defaultFetchSize = FETCH_XS; alt.defaultFetchSize = FETCH_XS;
@ -463,14 +463,14 @@ $(document).ready(function(){
$P.$findn("sameVehicleInspectionSubTbody").html(""); $P.$findn("sameVehicleInspectionSubTbody").html("");
} }
} }
$P.pagingSupport1 = new FimsPagingSupport({ $P.pagingSupport1 = new FimsPagingSupport({
doq: $P, doq: $P,
linkContainer: "[name='sameVehicleInspectionMainPaging']" linkContainer: "[name='sameVehicleInspectionMainPaging']"
}); });
var shift = newCrdn02010Shift($P); var shift = newCrdn02010Shift($P);
shift.dataset.onDatasetChange = (obj, option) => { shift.dataset.onDatasetChange = (obj, option) => {
var t = $P.getGridTemplate("sameVehicleInspectionSub"); var t = $P.getGridTemplate("sameVehicleInspectionSub");
var trs = Apply.fromDataset.getTbody(shift.dataset, t.found, t.notFound, t.replacer); var trs = Apply.fromDataset.getTbody(shift.dataset, t.found, t.notFound, t.replacer);
@ -481,7 +481,7 @@ $(document).ready(function(){
Apply.fromDataset.currentRow(shift.dataset, dataItem, $P.findn("sameVehicleInspectionSubTbody")); Apply.fromDataset.currentRow(shift.dataset, dataItem, $P.findn("sameVehicleInspectionSubTbody"));
}; };
/************************************************************************** /**************************************************************************
* pageObject.function * pageObject.function
**************************************************************************/ **************************************************************************/
@ -579,7 +579,7 @@ $(document).ready(function(){
Apply.fromDatasetControl.reload(ctrl).then((resp)=>{ Apply.fromDatasetControl.reload(ctrl).then((resp)=>{
Apply.toDataset.set(ctrl.dataset, resp); Apply.toDataset.set(ctrl.dataset, resp);
ctrl.dataset.onDatasetChange(resp, {reloaded : true}); ctrl.dataset.onDatasetChange(resp, {reloaded : true});
let todoCurrent = Apply.fromDataset.getTodoCurrent(ctrl.dataset, ctrl.beforeCurrent, "CRDN_ID"); let todoCurrent = Apply.fromDataset.getTodoCurrent(ctrl.dataset, ctrl.beforeCurrent, "CRDN_ID");
ctrl.beforeCurrent = null; ctrl.beforeCurrent = null;
if(todoCurrent != null){ if(todoCurrent != null){
@ -596,7 +596,7 @@ $(document).ready(function(){
Apply.fromDatasetControl.reload(alt).then((resp)=>{ Apply.fromDatasetControl.reload(alt).then((resp)=>{
Apply.toDataset.set(alt.dataset, resp); Apply.toDataset.set(alt.dataset, resp);
alt.dataset.onDatasetChange(resp, {reloaded : true}); alt.dataset.onDatasetChange(resp, {reloaded : true});
let todoCurrent = Apply.fromDataset.getTodoCurrent(alt.dataset, alt.beforeCurrent, "CRDN_ID_LIST"); let todoCurrent = Apply.fromDataset.getTodoCurrent(alt.dataset, alt.beforeCurrent, "CRDN_ID_LIST");
alt.beforeCurrent = null; alt.beforeCurrent = null;
if(todoCurrent != null){ if(todoCurrent != null){
@ -777,18 +777,18 @@ $(document).ready(function(){
var dialogUrl = wctx.url("/sprt/sprt02/010/main.do"); var dialogUrl = wctx.url("/sprt/sprt02/010/main.do");
let params = { let params = {
callControlName : "pageObject['${pageName}'].ctrl" callPageName : "${pageName}",
, crdnId : dataKey crdnId : dataKey
} }
ajax.get({ ajax.get({
url : dialogUrl, url : dialogUrl,
data : params, data : params,
success : (resp) => { success : (resp) => {
let dialogName = "totalInfoMainDialog"; let dialogName = "totalInfoMainDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId, id : dialogId,
title : "개별총정보", size : "xxl", content : resp, title : "개별총정보", size : "xxl", content : resp,
@ -886,7 +886,7 @@ $(document).ready(function(){
let dialogName = "levyExclDialog"; let dialogName = "levyExclDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId, id : dialogId,
title : "부과제외 정보", title : "부과제외 정보",
@ -937,7 +937,7 @@ $(document).ready(function(){
let dialogName = "overTimeProcessDialog"; let dialogName = "overTimeProcessDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId, id : dialogId,
title : "2시간 초과 처리", title : "2시간 초과 처리",
@ -982,16 +982,16 @@ $(document).ready(function(){
let dialogName = "userDialog"; let dialogName = "userDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id: dialogId id: dialogId
, title: "사용자 검색" , title: "사용자 검색"
, content: resp , content: resp
, size: "lg" , size: "lg"
, init: () => { , init: () => {
$("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("name", dialogName);
$("#"+dialogId).attr("data-ref-doctx","${pageName}"); $("#"+dialogId).attr("data-ref-doctx","${pageName}");
AppSupport.setDialogZindex(); AppSupport.setDialogZindex();
} }
}); });
@ -1021,7 +1021,7 @@ $(document).ready(function(){
$P.$findn("btnPhotoInspection").removeClass("active"); $P.$findn("btnPhotoInspection").removeClass("active");
$P.currentDisplay = "sameVehicleInspection"; $P.currentDisplay = "sameVehicleInspection";
}); });
$P.$findn('btnSearch').on('click', () => $P.searchInspectionList()); //검색버튼 $P.$findn('btnSearch').on('click', () => $P.searchInspectionList()); //검색버튼
// 동적검색에서 엔터(Enter) 키를 누르면 검색한다. // 동적검색에서 엔터(Enter) 키를 누르면 검색한다.
$P.$findn("term").onEnterPress($P.searchInspectionList); $P.$findn("term").onEnterPress($P.searchInspectionList);

@ -135,7 +135,7 @@ $(document).ready(function(){
* DatasetControl, DatasetSupport, FormFields * DatasetControl, DatasetSupport, FormFields
**************************************************************************/ **************************************************************************/
var ctrl = newCrdn03010Control($P); var ctrl = newCrdn03010Control($P);
ctrl.defaultFetchSize = FETCH_XS; ctrl.defaultFetchSize = FETCH_XS;
ctrl.query = { pageNum : 1, fetchSize : ctrl.defaultFetchSize }; ctrl.query = { pageNum : 1, fetchSize : ctrl.defaultFetchSize };
ctrl.beforeCurrent = null; ctrl.beforeCurrent = null;
@ -152,12 +152,12 @@ $(document).ready(function(){
ctrl.dataset.onCurrentChange = (dataItem) => { ctrl.dataset.onCurrentChange = (dataItem) => {
Apply.fromDataset.currentRow(ctrl.dataset, dataItem, $P.findn("crdnTbody")); Apply.fromDataset.currentRow(ctrl.dataset, dataItem, $P.findn("crdnTbody"));
}; };
$P.pagingSupport = new FimsPagingSupport({ $P.pagingSupport = new FimsPagingSupport({
doq: $P, doq: $P,
linkContainer: "[name='crdnPaging']" linkContainer: "[name='crdnPaging']"
}); });
/************************************************************************** /**************************************************************************
* pageObject.function * pageObject.function
**************************************************************************/ **************************************************************************/
@ -194,16 +194,16 @@ $(document).ready(function(){
} }
$P.refreshCrdnList = () => { $P.refreshCrdnList = () => {
ctrl.beforeCurrent = { ctrl.beforeCurrent = {
primaryKey : ctrl.dataset.getCurrent()["CRDN_ID"], primaryKey : ctrl.dataset.getCurrent()["CRDN_ID"],
arrayIndex : ctrl.dataset.getCurrent()["ROW_NUM"] - 1 arrayIndex : ctrl.dataset.getCurrent()["ROW_NUM"] - 1
}; };
Apply.fromDatasetControl.reload(ctrl).then((resp)=>{ Apply.fromDatasetControl.reload(ctrl).then((resp)=>{
Apply.toDataset.set(ctrl.dataset, resp); Apply.toDataset.set(ctrl.dataset, resp);
ctrl.dataset.onDatasetChange(resp, {reloaded : true}); ctrl.dataset.onDatasetChange(resp, {reloaded : true});
let todoCurrent = Apply.fromDataset.getTodoCurrent(ctrl.dataset, ctrl.beforeCurrent, "CRDN_ID"); let todoCurrent = Apply.fromDataset.getTodoCurrent(ctrl.dataset, ctrl.beforeCurrent, "CRDN_ID");
ctrl.beforeCurrent = null; ctrl.beforeCurrent = null;
if(todoCurrent != null){ if(todoCurrent != null){
@ -251,7 +251,7 @@ $(document).ready(function(){
if(option != null && option.reloaded){ if(option != null && option.reloaded){
initScroll = false; initScroll = false;
} }
$P.findn("table-responsive").changeContent(trs, initScroll, noMore); $P.findn("table-responsive").changeContent(trs, initScroll, noMore);
//보안모드 //보안모드
@ -270,8 +270,8 @@ $(document).ready(function(){
$P.dblclickCrdnList = (dataKey) => { $P.dblclickCrdnList = (dataKey) => {
let params = { let params = {
callControlName : "pageObject['${pageName}'].ctrl" callPageName : "${pageName}",
, crdnId : dataKey crdnId : dataKey
} }
ajax.get({ ajax.get({
@ -281,7 +281,7 @@ $(document).ready(function(){
let dialogName = "totalInfoMainDialog"; let dialogName = "totalInfoMainDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId, id : dialogId,
title : "개별총정보", size : "xxl", content : resp, title : "개별총정보", size : "xxl", content : resp,

@ -73,7 +73,7 @@
<input type="text" class="form-control w-px-400" name="term" autocomplete="off" /> <input type="text" class="form-control w-px-400" name="term" autocomplete="off" />
<!-- 상세 검색조건 버튼 --> <!-- 상세 검색조건 버튼 -->
<span class="flr"> <span class="flr">
<button type="button" class="btn btn-open-detail" data-bs-toggle="collapse" <button type="button" class="btn btn-open-detail" data-bs-toggle="collapse"
data-bs-target="[data-doctx='${pageName}'] [name='searchDetail']"> data-bs-target="[data-doctx='${pageName}'] [name='searchDetail']">
<i class="bx bx-chevron-down"></i> <i class="bx bx-chevron-down"></i>
상세검색 상세검색
@ -177,7 +177,7 @@
<div class="card-datatable text-nowrap"> <div class="card-datatable text-nowrap">
<div class="dataTables_wrapper dt-bootstrap5 no-footer"> <div class="dataTables_wrapper dt-bootstrap5 no-footer">
<div name="table-responsive" <div name="table-responsive"
class="table-responsive ox-scroll oy-scroll h-px-500"> class="table-responsive ox-scroll oy-scroll h-px-500">
<table name="crdnTable" class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer"> <table name="crdnTable" class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer">
<thead class="sticky-thead"> <thead class="sticky-thead">
@ -276,7 +276,7 @@
</div> </div>
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
<script> <script>
@ -298,12 +298,12 @@ pageObject["${pageName}"] = newDoctxFinder("${pageName}");
$(document).ready(function(){ $(document).ready(function(){
var $P = pageObject["${pageName}"]; var $P = pageObject["${pageName}"];
/************************************************************************** /**************************************************************************
* DatasetControl, DatasetSupport, FormFields * DatasetControl, DatasetSupport, FormFields
**************************************************************************/ **************************************************************************/
var ctrl = newCrdn06010Control($P); var ctrl = newCrdn06010Control($P);
ctrl.defaultFetchSize = FETCH_XS; ctrl.defaultFetchSize = FETCH_XS;
ctrl.query = { pageNum : 1, fetchSize : ctrl.defaultFetchSize }; ctrl.query = { pageNum : 1, fetchSize : ctrl.defaultFetchSize };
@ -324,12 +324,12 @@ $(document).ready(function(){
Apply.fromDataset.gridCheckbox(ctrl.dataset, $P.findn("crdnTbody"), 1, selectedArr); Apply.fromDataset.gridCheckbox(ctrl.dataset, $P.findn("crdnTbody"), 1, selectedArr);
Apply.fromDataset.gridButton(ctrl.dataset, $P.findn("btnSendCrdn"), selectedArr); Apply.fromDataset.gridButton(ctrl.dataset, $P.findn("btnSendCrdn"), selectedArr);
}; };
$P.pagingSupport = new FimsPagingSupport({ $P.pagingSupport = new FimsPagingSupport({
doq: $P, doq: $P,
linkContainer: "[name='crdnPaging']" linkContainer: "[name='crdnPaging']"
}); });
/************************************************************************** /**************************************************************************
* pageObject.function * pageObject.function
**************************************************************************/ **************************************************************************/
@ -480,7 +480,7 @@ $(document).ready(function(){
$P.dblclickCrdnList = (dataKey) => { $P.dblclickCrdnList = (dataKey) => {
var params = { var params = {
callControlName : "pageObject['${pageName}'].ctrl", callPageName : "${pageName}",
crdnId : dataKey crdnId : dataKey
}; };
@ -490,7 +490,7 @@ $(document).ready(function(){
success : (resp) => { success : (resp) => {
let dialogName = "totalInfoMainDialog"; let dialogName = "totalInfoMainDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId, id : dialogId,
title : "개별총정보", size : "xxl", content : resp, title : "개별총정보", size : "xxl", content : resp,
@ -510,7 +510,7 @@ $(document).ready(function(){
var taskSeCd = datas[0].TASK_SE_CD; var taskSeCd = datas[0].TASK_SE_CD;
var keys = datas.map(item => item.CRDN_ID); var keys = datas.map(item => item.CRDN_ID);
var url = ""; var url = "";
if(taskSeCd == "PVS"){ if(taskSeCd == "PVS"){
url = "/"+taskSeCd+"/nxrp/nxrp01/010/createIndivB01.do"; url = "/"+taskSeCd+"/nxrp/nxrp01/010/createIndivB01.do";
@ -561,16 +561,16 @@ $(document).ready(function(){
let dialogName = "userDialog"; let dialogName = "userDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id: dialogId id: dialogId
, title: "사용자 검색" , title: "사용자 검색"
, content: resp , content: resp
, size: "lg" , size: "lg"
, init: () => { , init: () => {
$("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("name", dialogName);
$("#"+dialogId).attr("data-ref-doctx","${pageName}"); $("#"+dialogId).attr("data-ref-doctx","${pageName}");
AppSupport.setDialogZindex(); AppSupport.setDialogZindex();
} }
}); });
@ -585,11 +585,11 @@ $(document).ready(function(){
$P.$findn("btnSearch").on('click', () => $P.searchCrdnList()); $P.$findn("btnSearch").on('click', () => $P.searchCrdnList());
$P.$findn("btnExcel").on('click', () => $P.fnExcelDown(false)); $P.$findn("btnExcel").on('click', () => $P.fnExcelDown(false));
$P.$findn("btnExcelForApproval").on('click', () => $P.fnExcelDown(true)); $P.$findn("btnExcelForApproval").on('click', () => $P.fnExcelDown(true));
$P.$findn("btnFindUser").on("click", () => $P.fnGetFindUser()); // 사용자 검색 $P.$findn("btnFindUser").on("click", () => $P.fnGetFindUser()); // 사용자 검색
// 동적검색에서 엔터(Enter) 키를 누르면 검색한다. // 동적검색에서 엔터(Enter) 키를 누르면 검색한다.
$P.$findn("term").onEnterPress($P.searchCrdnList); $P.$findn("term").onEnterPress($P.searchCrdnList);
Componentization.fnMakeResizableTable($P.findn("table-responsive")); Componentization.fnMakeResizableTable($P.findn("table-responsive"));
Componentization.fnMakeScrollableTable($P.findn("table-responsive"), $P.scrollCrdnList); Componentization.fnMakeScrollableTable($P.findn("table-responsive"), $P.scrollCrdnList);

@ -85,7 +85,7 @@
<input type="text" class="form-control w-px-400" name="term" autocomplete="off" /> <input type="text" class="form-control w-px-400" name="term" autocomplete="off" />
<!-- 상세 검색조건 버튼 --> <!-- 상세 검색조건 버튼 -->
<span class="flr"> <span class="flr">
<button type="button" class="btn btn-open-detail" data-bs-toggle="collapse" <button type="button" class="btn btn-open-detail" data-bs-toggle="collapse"
data-bs-target="[data-doctx='${pageName}'] [name='searchDetail']"> data-bs-target="[data-doctx='${pageName}'] [name='searchDetail']">
<i class="bx bx-chevron-down"></i> <i class="bx bx-chevron-down"></i>
상세검색 상세검색
@ -147,7 +147,7 @@
<div class="card-datatable text-nowrap"> <div class="card-datatable text-nowrap">
<div class="dataTables_wrapper dt-bootstrap5 no-footer"> <div class="dataTables_wrapper dt-bootstrap5 no-footer">
<div name="table-responsive" <div name="table-responsive"
class="table-responsive ox-scroll oy-scroll h-px-500"> class="table-responsive ox-scroll oy-scroll h-px-500">
<table name="crdnTable" class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer"> <table name="crdnTable" class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer">
<thead name="crdnThead" class="sticky-thead"> <thead name="crdnThead" class="sticky-thead">
@ -275,7 +275,7 @@ $(document).ready(function(){
doq: $P, doq: $P,
linkContainer: "[name='crdnPaging']" linkContainer: "[name='crdnPaging']"
}); });
/************************************************************************** /**************************************************************************
* pageObject.function * pageObject.function
**************************************************************************/ **************************************************************************/
@ -376,7 +376,7 @@ $(document).ready(function(){
if(option != null && option.reloaded){ if(option != null && option.reloaded){
initScroll = false; initScroll = false;
} }
$P.findn("table-responsive").changeContent(trs, initScroll, noMore); $P.findn("table-responsive").changeContent(trs, initScroll, noMore);
//보안모드 //보안모드
@ -420,8 +420,8 @@ $(document).ready(function(){
$P.dblclickCrdnList = (dataKey) => { $P.dblclickCrdnList = (dataKey) => {
let params = { let params = {
callControlName : "pageObject['${pageName}'].ctrl" callPageName : "${pageName}",
, crdnId : dataKey crdnId : dataKey
} }
ajax.get({ ajax.get({
@ -430,7 +430,7 @@ $(document).ready(function(){
success : (resp) => { success : (resp) => {
let dialogName = "totalInfoMainDialog"; let dialogName = "totalInfoMainDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId, id : dialogId,
title : "개별총정보", size : "xxl", content : resp, title : "개별총정보", size : "xxl", content : resp,
@ -460,7 +460,7 @@ $(document).ready(function(){
let dialogName = "cvlcptOrgnlDialog"; let dialogName = "cvlcptOrgnlDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId, id : dialogId,
title : "민원내역 원본", title : "민원내역 원본",
@ -469,7 +469,7 @@ $(document).ready(function(){
init : () => { init : () => {
$("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("name", dialogName);
$("#"+dialogId).attr("data-ref-doctx","${pageName}"); $("#"+dialogId).attr("data-ref-doctx","${pageName}");
var parentRes = new Object(); var parentRes = new Object();
var childReq = pageObject.childReq.pop(); var childReq = pageObject.childReq.pop();
@ -496,14 +496,14 @@ $(document).ready(function(){
var taskSeCd = $P.$findn("frmSearch").find("input[name='taskSeCd']:checked").val(); var taskSeCd = $P.$findn("frmSearch").find("input[name='taskSeCd']:checked").val();
ajax.get({ ajax.get({
url : wctx.url("/"+taskSeCd+"/cvlc/cvlc02/060/info.do"), url : wctx.url("/"+taskSeCd+"/cvlc/cvlc02/060/info.do"),
data : { crdnId : cur["CRDN_ID"] }, data : { crdnId : cur["CRDN_ID"] },
success : (resp) => { success : (resp) => {
let dialogName = "answerPreviewDialog"; let dialogName = "answerPreviewDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId, id : dialogId,
title : "답변내용 미리보기", title : "답변내용 미리보기",
@ -512,7 +512,7 @@ $(document).ready(function(){
init : () => { init : () => {
$("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("name", dialogName);
$("#"+dialogId).attr("data-ref-doctx","${pageName}"); $("#"+dialogId).attr("data-ref-doctx","${pageName}");
var parentRes = new Object(); var parentRes = new Object();
var childReq = pageObject.childReq.pop(); var childReq = pageObject.childReq.pop();
@ -683,11 +683,11 @@ $(document).ready(function(){
$P.$findn("btnSearch").on('click', () => $P.searchCrdnList()); $P.$findn("btnSearch").on('click', () => $P.searchCrdnList());
$P.$findn("btnExcel").on('click', () => $P.fnExcelDown(false)); $P.$findn("btnExcel").on('click', () => $P.fnExcelDown(false));
$P.$findn("btnExcelForApproval").on('click', () => $P.fnExcelDown(true)); $P.$findn("btnExcelForApproval").on('click', () => $P.fnExcelDown(true));
// 동적검색에서 엔터(Enter) 키를 누르면 검색한다. // 동적검색에서 엔터(Enter) 키를 누르면 검색한다.
$P.$findn("term").onEnterPress($P.searchCrdnList); $P.$findn("term").onEnterPress($P.searchCrdnList);
$P.$findn("btnOpenCvlcptOrgnl").on("click", () => $P.fnOpenCvlcptOrgnl()); $P.$findn("btnOpenCvlcptOrgnl").on("click", () => $P.fnOpenCvlcptOrgnl());
$P.$findn("btnOpenAnswerPreview").on("click", () => $P.fnOpenAnswerPreview()); $P.$findn("btnOpenAnswerPreview").on("click", () => $P.fnOpenAnswerPreview());
$P.$findn("btnExecuteAnswer").on("click", () => $P.fnExecuteAnswer()); $P.$findn("btnExecuteAnswer").on("click", () => $P.fnExecuteAnswer());

@ -78,7 +78,7 @@
<input type="text" class="form-control w-px-400" name="term" autocomplete="off" /> <input type="text" class="form-control w-px-400" name="term" autocomplete="off" />
<!-- 상세 검색조건 버튼 --> <!-- 상세 검색조건 버튼 -->
<span class="flr"> <span class="flr">
<button type="button" class="btn btn-open-detail" data-bs-toggle="collapse" <button type="button" class="btn btn-open-detail" data-bs-toggle="collapse"
data-bs-target="[data-doctx='${pageName}'] [name='searchDetail']"> data-bs-target="[data-doctx='${pageName}'] [name='searchDetail']">
<i class="bx bx-chevron-down"></i> <i class="bx bx-chevron-down"></i>
상세검색 상세검색
@ -125,7 +125,7 @@
<div class="card-datatable text-nowrap"> <div class="card-datatable text-nowrap">
<div class="dataTables_wrapper dt-bootstrap5 no-footer"> <div class="dataTables_wrapper dt-bootstrap5 no-footer">
<div name="table-responsive" <div name="table-responsive"
class="table-responsive ox-scroll oy-scroll h-px-500"> class="table-responsive ox-scroll oy-scroll h-px-500">
<table name="crdnTable" class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer"> <table name="crdnTable" class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer">
<thead name="crdnThead" class="sticky-thead"> <thead name="crdnThead" class="sticky-thead">
@ -259,7 +259,7 @@ $(document).ready(function(){
doq: $P, doq: $P,
linkContainer: "[name='crdnPaging']" linkContainer: "[name='crdnPaging']"
}); });
/************************************************************************** /**************************************************************************
* pageObject.function * pageObject.function
**************************************************************************/ **************************************************************************/
@ -320,7 +320,7 @@ $(document).ready(function(){
if(todoCurrent != null){ if(todoCurrent != null){
ctrl.dataset.setCurrent(todoCurrent.index, true); ctrl.dataset.setCurrent(todoCurrent.index, true);
} }
}); });
} }
@ -361,7 +361,7 @@ $(document).ready(function(){
if(option != null && option.reloaded){ if(option != null && option.reloaded){
initScroll = false; initScroll = false;
} }
$P.findn("table-responsive").changeContent(trs, initScroll, noMore); $P.findn("table-responsive").changeContent(trs, initScroll, noMore);
//보안모드 //보안모드
@ -381,8 +381,8 @@ $(document).ready(function(){
$P.dblclickCrdnList = (dataKey) => { $P.dblclickCrdnList = (dataKey) => {
let params = { let params = {
callControlName : "pageObject['${pageName}'].ctrl" callPageName : "${pageName}",
, crdnId : dataKey crdnId : dataKey
} }
ajax.get({ ajax.get({
@ -392,7 +392,7 @@ $(document).ready(function(){
let dialogName = "totalInfoMainDialog"; let dialogName = "totalInfoMainDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId, id : dialogId,
title : "개별총정보", size : "xxl", content : resp, title : "개별총정보", size : "xxl", content : resp,
@ -449,14 +449,14 @@ $(document).ready(function(){
var taskSeCd = $P.$findn("frmSearch").find("input[name='taskSeCd']:checked").val(); var taskSeCd = $P.$findn("frmSearch").find("input[name='taskSeCd']:checked").val();
ajax.get({ ajax.get({
url : wctx.url("/"+taskSeCd+"/cvlc/cvlc01/050/info.do"), url : wctx.url("/"+taskSeCd+"/cvlc/cvlc01/050/info.do"),
data : { crdnId : cur["CRDN_ID"] }, data : { crdnId : cur["CRDN_ID"] },
success : (resp) => { success : (resp) => {
let dialogName = "cvlcptOrgnlDialog"; let dialogName = "cvlcptOrgnlDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId, id : dialogId,
title : "민원내역 원본", title : "민원내역 원본",
@ -465,7 +465,7 @@ $(document).ready(function(){
init : () => { init : () => {
$("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("name", dialogName);
$("#"+dialogId).attr("data-ref-doctx","${pageName}"); $("#"+dialogId).attr("data-ref-doctx","${pageName}");
var parentRes = new Object(); var parentRes = new Object();
var childReq = pageObject.childReq.pop(); var childReq = pageObject.childReq.pop();
@ -534,10 +534,10 @@ $(document).ready(function(){
$P.$findn("btnReset").on('click', () => $P.fnReset()); $P.$findn("btnReset").on('click', () => $P.fnReset());
$P.$findn("btnSearch").on('click', () => $P.searchCrdnList()); $P.$findn("btnSearch").on('click', () => $P.searchCrdnList());
$P.$findn("btnExcel").on('click', () => $P.fnExcelDown()); $P.$findn("btnExcel").on('click', () => $P.fnExcelDown());
// 동적검색에서 엔터(Enter) 키를 누르면 검색한다. // 동적검색에서 엔터(Enter) 키를 누르면 검색한다.
$P.$findn("term").onEnterPress($P.searchCrdnList); $P.$findn("term").onEnterPress($P.searchCrdnList);
$P.$findn("btnDelete").on("click", () => $P.fnRemove()); $P.$findn("btnDelete").on("click", () => $P.fnRemove());
$P.$findn("btnOpenCvlcptOrgnl").on("click", () => $P.fnOpenCvlcptOrgnl()); $P.$findn("btnOpenCvlcptOrgnl").on("click", () => $P.fnOpenCvlcptOrgnl());

@ -16,7 +16,7 @@
</div> </div>
</div> </div>
</div> </div>
<jsp:include page="/WEB-INF/jsp/fims/sprt/sprt01014-info.jsp" /> <jsp:include page="/WEB-INF/jsp/fims/sprt/sprt01014-info.jsp" />
<jsp:include page="/WEB-INF/jsp/fims/sprt/sprt01015-info.jsp" /> <jsp:include page="/WEB-INF/jsp/fims/sprt/sprt01015-info.jsp" />
@ -86,7 +86,7 @@ $(document).ready(function() {
var checkbox = $(this); var checkbox = $(this);
checkbox.prop("checked", keys.includes(checkbox.val())); checkbox.prop("checked", keys.includes(checkbox.val()));
}); });
let status = getCheckboxesStatus($P.$findn("upTbody").find("input[type='checkbox']")); let status = getCheckboxesStatus($P.$findn("upTbody").find("input[type='checkbox']"));
let thc = $P.$findn("upTheadTr").find("input[type='checkbox']"); let thc = $P.$findn("upTheadTr").find("input[type='checkbox']");
@ -106,20 +106,20 @@ $(document).ready(function() {
var checkbox = $(this); var checkbox = $(this);
checkbox.prop("checked", keys.includes(checkbox.val())); checkbox.prop("checked", keys.includes(checkbox.val()));
}); });
let status = getCheckboxesStatus($P.$findn("downTbody").find("input[type='checkbox']")); let status = getCheckboxesStatus($P.$findn("downTbody").find("input[type='checkbox']"));
let thc = $P.$findn("downTheadTr").find("input[type='checkbox']"); let thc = $P.$findn("downTheadTr").find("input[type='checkbox']");
if(status == 1 && !thc.is(":checked")){ if(status == 1 && !thc.is(":checked")){
thc.prop("checked", true); thc.prop("checked", true);
} else if(status == -1 && thc.is(":checked")){ } else if(status == -1 && thc.is(":checked")){
thc.prop("checked", false); thc.prop("checked", false);
} }
}; };
//그리드 체크박스 //그리드 체크박스
$P.selectCheckbox = (obj, arg1, arg2) => { $P.selectCheckbox = (obj, arg1, arg2) => {
@ -130,7 +130,7 @@ $(document).ready(function() {
ctrl.upDataset.select(arg1, arg2); ctrl.upDataset.select(arg1, arg2);
} else { } else {
ctrl.upDataset.select(arg1); ctrl.upDataset.select(arg1);
} }
} else if(id.startsWith("down")){ } else if(id.startsWith("down")){
if(arg2 != null){ if(arg2 != null){
ctrl.downDataset.select(arg1, arg2); ctrl.downDataset.select(arg1, arg2);
@ -139,7 +139,7 @@ $(document).ready(function() {
} }
} }
} }
$P.toast = new bootstrap.Toast($P.findn("divToast"), { $P.toast = new bootstrap.Toast($P.findn("divToast"), {
animation: true, animation: true,
autohide: true, autohide: true,
@ -379,7 +379,7 @@ $(document).ready(function() {
if(cur != null){ if(cur != null){
clipboardCopy(cur.RTPYR_NO); clipboardCopy(cur.RTPYR_NO);
$P.$findn("toastText").html("납부자번호가 복사되었습니다."); $P.$findn("toastText").html("납부자번호가 복사되었습니다.");
$P.toast.show(); $P.toast.show();
} }
@ -432,7 +432,7 @@ $(document).ready(function() {
, success : (resp) => { , success : (resp) => {
let dialogName = "inputEtcCnDialog"; let dialogName = "inputEtcCnDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId id : dialogId
, title : "특기사항입력-일괄" , title : "특기사항입력-일괄"
@ -442,7 +442,7 @@ $(document).ready(function() {
$("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("name", dialogName);
$("#"+dialogId).attr("data-ref-doctx","${pageName}"); $("#"+dialogId).attr("data-ref-doctx","${pageName}");
let refDlgId = $P.refDlgId(dialogName); let refDlgId = $P.refDlgId(dialogName);
var found = $("#"+refDlgId).find("table template")[0].innerHTML; var found = $("#"+refDlgId).find("table template")[0].innerHTML;
var trs = cur.inStrings(found, null); var trs = cur.inStrings(found, null);
$("#"+refDlgId).find("tbody").html(trs.join()); $("#"+refDlgId).find("tbody").html(trs.join());
@ -479,7 +479,7 @@ $(document).ready(function() {
, success : (resp) => { , success : (resp) => {
let dialogName = "printCrdnDialog"; let dialogName = "printCrdnDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId id : dialogId
, title : "종합조회-단속내역" , title : "종합조회-단속내역"
@ -489,7 +489,7 @@ $(document).ready(function() {
$("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("name", dialogName);
$("#"+dialogId).attr("data-ref-doctx","${pageName}"); $("#"+dialogId).attr("data-ref-doctx","${pageName}");
let refDlgId = $P.refDlgId(dialogName); let refDlgId = $P.refDlgId(dialogName);
var found = $("#"+refDlgId).find("table template")[0].innerHTML; var found = $("#"+refDlgId).find("table template")[0].innerHTML;
var trs1 = upDataset.inStrings(found, null); var trs1 = upDataset.inStrings(found, null);
var trs2 = downDataset.inStrings(found, null); var trs2 = downDataset.inStrings(found, null);
@ -524,7 +524,7 @@ $(document).ready(function() {
, success : (resp) => { , success : (resp) => {
let dialogName = "printBillDialog"; let dialogName = "printBillDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId id : dialogId
, title : "종합조회-교부청구서,채권신고서" , title : "종합조회-교부청구서,채권신고서"
@ -534,7 +534,7 @@ $(document).ready(function() {
$("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("name", dialogName);
$("#"+dialogId).attr("data-ref-doctx","${pageName}"); $("#"+dialogId).attr("data-ref-doctx","${pageName}");
let refDlgId = $P.refDlgId(dialogName); let refDlgId = $P.refDlgId(dialogName);
var found = $("#"+refDlgId).find("table template")[0].innerHTML; var found = $("#"+refDlgId).find("table template")[0].innerHTML;
var trs = upDataset.inStrings(found, null); var trs = upDataset.inStrings(found, null);
$("#"+refDlgId).find("tbody").html(trs.join()); $("#"+refDlgId).find("tbody").html(trs.join());
@ -604,7 +604,7 @@ $(document).ready(function() {
, success : (resp) => { , success : (resp) => {
let dialogName = "printAdvntceDialog"; let dialogName = "printAdvntceDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId, id : dialogId,
title : "종합조회-사전통지서", title : "종합조회-사전통지서",
@ -614,7 +614,7 @@ $(document).ready(function() {
$("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("name", dialogName);
$("#"+dialogId).attr("data-ref-doctx","${pageName}"); $("#"+dialogId).attr("data-ref-doctx","${pageName}");
let refDlgId = $P.refDlgId(dialogName); let refDlgId = $P.refDlgId(dialogName);
var found = $("#"+refDlgId).find("table template")[0].innerHTML; var found = $("#"+refDlgId).find("table template")[0].innerHTML;
var trs = upDataset.inStrings(found, null); var trs = upDataset.inStrings(found, null);
$("#"+refDlgId).find("tbody").html(trs.join()); $("#"+refDlgId).find("tbody").html(trs.join());
@ -662,7 +662,7 @@ $(document).ready(function() {
, success : (resp) => { , success : (resp) => {
let dialogName = "printNhtDialog"; let dialogName = "printNhtDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId, id : dialogId,
title : "종합조회-고지서", title : "종합조회-고지서",
@ -672,7 +672,7 @@ $(document).ready(function() {
$("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("name", dialogName);
$("#"+dialogId).attr("data-ref-doctx","${pageName}"); $("#"+dialogId).attr("data-ref-doctx","${pageName}");
let refDlgId = $P.refDlgId(dialogName); let refDlgId = $P.refDlgId(dialogName);
var found = $("#"+refDlgId).find("table template")[0].innerHTML; var found = $("#"+refDlgId).find("table template")[0].innerHTML;
var trs = upDataset.inStrings(found, null); var trs = upDataset.inStrings(found, null);
$("#"+refDlgId).find("tbody").html(trs.join()); $("#"+refDlgId).find("tbody").html(trs.join());
@ -722,8 +722,8 @@ $(document).ready(function() {
} }
var params = { var params = {
callControlName : "pageObject['${pageName}'].ctrl" callPageName : "${pageName}",
, crdnId : crdnId crdnId : crdnId
} }
var url = wctx.url("/sprt/sprt02/010/main.do"); var url = wctx.url("/sprt/sprt02/010/main.do");
@ -735,16 +735,16 @@ $(document).ready(function() {
let dialogName = "totalInfoMainDialog"; let dialogName = "totalInfoMainDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId id : dialogId
, title : "개별총정보" , title : "개별총정보"
, size : "xxl" , size : "xxl"
, content : resp , content : resp
, init : () => { , init : () => {
$("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("name", dialogName);
$("#"+dialogId).attr("data-ref-doctx","${pageName}"); $("#"+dialogId).attr("data-ref-doctx","${pageName}");
AppSupport.setDialogZindex(); AppSupport.setDialogZindex();
} }
, onClose : () => { } , onClose : () => { }
@ -773,7 +773,7 @@ $(document).ready(function() {
let info = downDataset.getData(filtered[0].index); let info = downDataset.getData(filtered[0].index);
return info; return info;
} }
} }
return null; return null;
@ -862,8 +862,8 @@ $(document).ready(function() {
if(fastSearch){ if(fastSearch){
fastSearch = false; fastSearch = false;
if($("#fastBy--top").val() == "vhrno"){ if($("#fastBy--top").val() == "vhrno"){
$P.$findn("ischVhrno").val($("#fastTerm--top").val()); $P.$findn("ischVhrno").val($("#fastTerm--top").val());
} else if($("#fastBy--top").val() == "rtpyrNm"){ } else if($("#fastBy--top").val() == "rtpyrNm"){

Loading…
Cancel
Save