|
|
@ -88,7 +88,7 @@
|
|
|
|
<!-- DataTables(그리드) -->
|
|
|
|
<!-- DataTables(그리드) -->
|
|
|
|
<div class="card-datatable text-nowrap">
|
|
|
|
<div class="card-datatable text-nowrap">
|
|
|
|
<div class="dataTables_wrapper dt-bootstrap5 no-footer" id="DataTables_Table_0_wrapper--${pageName}">
|
|
|
|
<div class="dataTables_wrapper dt-bootstrap5 no-footer" id="DataTables_Table_0_wrapper--${pageName}">
|
|
|
|
<div class="table-responsive ox-scroll oy-scroll h-px-500" id="table-responsive--${pageName}">
|
|
|
|
<div class="table-responsive ox-scroll oy-scroll" style="height: 580px !important;" id="table-responsive--${pageName}">
|
|
|
|
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_0--${pageName}" aria-describedby="DataTables_Table_0_info">
|
|
|
|
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_0--${pageName}" aria-describedby="DataTables_Table_0_info">
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
<tr id="theadTr--${pageName}"
|
|
|
|
<tr id="theadTr--${pageName}"
|
|
|
@ -259,27 +259,6 @@
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$("#theadTr--${pageName}").find("input[type='checkbox']").prop("checked", false); // 체크 해제
|
|
|
|
$("#theadTr--${pageName}").find("input[type='checkbox']").prop("checked", false); // 체크 해제
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 신청서 정보 dialog
|
|
|
|
|
|
|
|
$P.control.getInfo = (gdccId) => {
|
|
|
|
|
|
|
|
/*let dialogTitle = "신청서 정보 등록";
|
|
|
|
|
|
|
|
let params = {};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
|
|
|
url : wctx.url("/adds/nims/dsuseMgtReceipt-info.do")
|
|
|
|
|
|
|
|
, data : params || {}
|
|
|
|
|
|
|
|
, success : resp => {
|
|
|
|
|
|
|
|
dialog.open({
|
|
|
|
|
|
|
|
id : $P.control.prefixed("Dialog")
|
|
|
|
|
|
|
|
, title : dialogTitle
|
|
|
|
|
|
|
|
, content : resp
|
|
|
|
|
|
|
|
, size : $P.control.infoSize
|
|
|
|
|
|
|
|
, onClose : () => { }
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});*/
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -381,7 +360,7 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
fetch(wctx.url("/adds/nims/getHwpForRptDoc.do") + "?" + parameter)
|
|
|
|
fetch(wctx.url("/adds/nims/getHwpForRptDoc.do") + "?" + parameter)
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
var header = response.headers.get('Content-Disposition');
|
|
|
|
let header = response.headers.get('Content-Disposition');
|
|
|
|
if(!header){
|
|
|
|
if(!header){
|
|
|
|
response.json().then((responseJson)=>{
|
|
|
|
response.json().then((responseJson)=>{
|
|
|
|
dialog.alert({
|
|
|
|
dialog.alert({
|
|
|
@ -393,8 +372,8 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
new Error("");
|
|
|
|
new Error("");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var parts = header.split(';');
|
|
|
|
let parts = header.split(';');
|
|
|
|
filename = decodeURIComponent(parts[1].split('=')[1]);
|
|
|
|
let filename = decodeURIComponent(parts[1].split('=')[1]);
|
|
|
|
if(filename.startsWith("\"")){
|
|
|
|
if(filename.startsWith("\"")){
|
|
|
|
filename = filename.substring(1);
|
|
|
|
filename = filename.substring(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|