sndb01260-info 으로 대체.

main
jjh 10 months ago
parent ac5783a907
commit e88e033317

@ -1,151 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="/resources/image/favicon.ico" />
<!-- Fonts -->
<link rel="stylesheet" href="/resources/font/publicsans/fontface.css" />
<!-- Icons. Uncomment required icon fonts -->
<link rel="stylesheet" href="/resources/3rd-party/sneat/fonts/boxicons.css" />
<link rel="stylesheet" href="/resources/3rd-party/sneat/fonts/fontawesome.css" />
<link rel="stylesheet" href="/resources/3rd-party/sneat/fonts/flag-icons.css" />
<link rel="stylesheet" href="/resources/css/fims/framework/common/xit-icon.css" />
<!-- Core CSS -->
<link rel="stylesheet" href="/resources/3rd-party/sneat/css/theme-default.css" />
<link rel="stylesheet" href="/resources/3rd-party/sneat/css/docs.css" />
<link rel="stylesheet" href="/resources/css/fims/framework/common/xit-core.css" />
<link rel="stylesheet" href="/resources/css/fims/framework/common/xit-core-extend.css" />
<!-- Vendors CSS -->
<link rel="stylesheet" href="/resources/3rd-party/sneat/libs/perfect-scrollbar/perfect-scrollbar.css" />
<link rel="stylesheet" href="/resources/css/styles.css" />
<link rel="stylesheet" href="/resources/css/fims/framework/common/common.css"/>
<link rel="stylesheet" href="/resources/lib/fims/framework/jquery-ui/1.13.2/themes/redmond/jquery-ui.css" />
<link rel="stylesheet" href="/resources/3rd-party/sneat/libs/bootstrap-datepicker/bootstrap-datepicker.css" />
<title>공시송달 입력</title>
</head>
<body>
<div class="card m-4 p-3">
<form id="frmInput" name="frmInput" method="post">
<div class="container-search">
<div class="row g-1">
<!-- 총건수 -->
<div class="col-md-12 text-end">
<label for=tnocs" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">총건수</label>
<input type="text" class="form-control w-px-80 text-end" id="tnocs" name="tnocs" readonly />
</div>
<!-- 일자 -->
<div class="col-md-12">
<label for="calYmd" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">일자</label>
<input type="text" class="form-control form-date" id="calYmd" name="calYmd"
data-fmt-type="day" title="날짜 선택" maxlength="10" required />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</div>
<!-- 제목 명 -->
<div class="col-md-12">
<label for=ttlNm" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">제목</label>
<input type="text" class="form-control w-75" id="ttlNm" name="ttlNm" autocomplete="off" required />
</div>
<!-- 문서 번호 -->
<div class="col-md-12">
<label for="docNo" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">문서번호</label>
<input type="text" class="form-control w-75" id="docNo" name="docNo" autocomplete="off" />
</div>
<!-- 기타 내용 -->
<div class="col-md-12">
<label for="etcCn" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">기타 내용</label>
<textarea type="text" class="form-control w-75" id="etcCn" name="etcCn" autocomplete="off" rows="3" data-maxlengthb="1000"></textarea>
</div>
</div>
</div>
</form>
<div>
<span class="container-page-btn">
<span class="container-window-btn-right">
<button type="button" class="btn btn-primary w-px-80" title="확인" onclick="fnOK()">확인</button>
</span>
</span>
</div>
</div>
<script type="text/JavaScript" src="/resources/3rd-party/sneat/libs/jquery/jquery.js" ></script>
<script src="/resources/3rd-party/sneat/libs/popper/popper.js"></script>
<script src="/resources/3rd-party/sneat/js/bootstrap.js"></script>
<script src="/resources/3rd-party/sneat/libs/perfect-scrollbar/perfect-scrollbar.js"></script>
<script src="/resources/3rd-party/sneat/js/menu.js"></script>
<script src="/resources/3rd-party/sneat/libs/jstree/jstree.js"></script>
<script src="/resources/3rd-party/jstree/jstree-support.js"></script>
<script src="/resources/3rd-party/sneat/libs/chartjs/chartjs.js"></script>
<script src="/resources/lib/fims/framework/jquery-ui/1.13.2/jquery-ui.js"></script>
<script src="/resources/3rd-party/bootstrap-datepicker/bootstrap-datepicker-support.js"></script>
<script src="/resources/js/fims/framework/cmm/cmmDateUtil.js"></script>
<script src="/resources/js/fims/framework/cmm/initAfterPageLoad.js"></script>
<script language="javascript">
var callbackFuncName = location.search.split("&")[0].split("=")[1];
var callPurpose = location.search.split("&")[1].split("=")[1];
var tnocs = location.search.split("&")[2].split("=")[1];
var calYmd = location.search.split("&")[3].split("=")[1];
var ttlNm = decodeURI(location.search.split("&")[4].split("=")[1]);
var docNo = decodeURI(location.search.split("&")[5].split("=")[1]);
var etcCn = decodeURI(location.search.split("&")[6].split("=")[1]);
// form-date 항목에서 키보드로 입력시 날짜 포맷팅 적용
$("#frmInput").find(".form-date").each(function() {
$(this).on("input", function() {
let value = this.value.replaceAll("-", "");
if (value.length > 7) {
this.value = value.substring(0, 4) + "-" + value.substring(4, 6) + "-" + value.substring(6);
} else if (value.length > 5) {
this.value = value.substring(0, 4) + "-" + value.substring(4);
}
});
});
// 날짜형식에 "-"이 사용된 경우에 한하여 날짜값에서 "-" 기호를 제거한다.
function inputDateSplit(obj) {
if (obj == "") {
return obj;
} else {
let dateArray = obj.split("-");
return dateArray[0] + dateArray[1] + dateArray[2];
}
}
function fnOK() {
let obj = {};
obj.tnocs = $("#tnocs").val(); // 총건수
obj.calYmd = inputDateSplit($("#calYmd").val()); // 일자
obj.ttlNm = $("#ttlNm").val(); // 제목
obj.docNo = $("#docNo").val(); // 문서 번호
obj.etcCn = $("#etcCn").val(); // 기타 내용
window.opener[callbackFuncName](obj);
window.close();
}
$(document).ready(function() {
// 달력 초기화
initDatepicker("frmInput");
$("#calYmd").datepicker("setDate", calYmd);
$("#tnocs").val(tnocs);
$("#ttlNm").val(ttlNm);
$("#docNo").val(docNo);
$("#etcCn").val(etcCn);
});
</script>
</body>
</html>
Loading…
Cancel
Save