|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
<div class="d-flex flex-row justify-content-evenly">
|
|
|
|
|
|
|
|
|
|
<div class="card" style="max-width:1100px;" title="단속정보">
|
|
|
|
|
<form id="frm--${pageName}" class="dpv eca">
|
|
|
|
|
<form id="frmEdit--${pageName}" class="dpv eca">
|
|
|
|
|
<input name="crdnId" type="hidden" data-map="CRDN_ID" />
|
|
|
|
|
<input name="taskSeCd" type="hidden" value="${taskSeCd}" />
|
|
|
|
|
<div class="row g-1">
|
|
|
|
@ -152,8 +152,8 @@
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="card" style="width:400px;">
|
|
|
|
|
<form id="frmDummy--${pageName}" class="dpv eca" method="post" enctype="multipart/form-data">
|
|
|
|
|
<input type="file" id="uploadFileList--${pageName}" name="uploadFileList" multiple />
|
|
|
|
|
<form id="frmFile--${pageName}" class="dpv eca" method="post" enctype="multipart/form-data">
|
|
|
|
|
<input type="file" id="uploadFileList--${pageName}" name="uploadFileList" multiple accept="image/*" />
|
|
|
|
|
</form>
|
|
|
|
|
<div id="display--${pageName}">
|
|
|
|
|
|
|
|
|
@ -178,7 +178,7 @@ $(document).ready(function(){
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* DatasetControl, Dataset, FormFields
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
$P.formFields = new FimsFormFields("#frm--${pageName}");
|
|
|
|
|
$P.formFields = new FimsFormFields("#frmEdit--${pageName}");
|
|
|
|
|
|
|
|
|
|
$P.uploadSet = uploadSupport("#uploadFileList--${pageName}");
|
|
|
|
|
|
|
|
|
@ -198,7 +198,7 @@ $(document).ready(function(){
|
|
|
|
|
var item = $P.crdnControl.getCurrent("item"),
|
|
|
|
|
create = "added" == item.state;
|
|
|
|
|
|
|
|
|
|
var formData = new FormData(document.getElementById("frmDummy--${pageName}"));
|
|
|
|
|
var formData = new FormData(document.getElementById("frmFile--${pageName}"));
|
|
|
|
|
for(var key in info) {
|
|
|
|
|
var value = info[key];
|
|
|
|
|
formData.append(key,value);
|
|
|
|
@ -228,7 +228,7 @@ $(document).ready(function(){
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$P.fnSave = () => {
|
|
|
|
|
if (!$("#frm--${pageName} input").validInputs()) return;
|
|
|
|
|
if (!$("#frmEdit--${pageName} input").validInputs()) return;
|
|
|
|
|
|
|
|
|
|
dialog.alert({
|
|
|
|
|
content:"현재 단속 정보를 저장하시겠습니까?",
|
|
|
|
@ -247,7 +247,7 @@ $(document).ready(function(){
|
|
|
|
|
* 초기화
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
//달력 초기화
|
|
|
|
|
initDatepicker("frm--${pageName}");
|
|
|
|
|
initDatepicker("frmEdit--${pageName}");
|
|
|
|
|
|
|
|
|
|
//보안모드
|
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
|