요구사항 작업중.

master
강석 최 2023-01-12 18:38:17 +09:00
parent 18714e8f71
commit 3e5748a36a
40 changed files with 244 additions and 227 deletions

View File

@ -10,8 +10,8 @@ $(document).on('click', '.userInfoTr', function (){
$("#accessTab").click(); $("#accessTab").click();
$("#authEditModal").modal('show'); $("#authEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })

View File

@ -11,8 +11,8 @@ $(function(){
codeCategoryList = data; codeCategoryList = data;
makeCategoryTr(); makeCategoryTr();
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}); });

View File

@ -82,7 +82,8 @@ function searchModalSubmit(pageIndex){
setSelectedChkBox(); setSelectedChkBox();
} }
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -326,3 +327,14 @@ function getToday(){
function OnInitCompleted(e){ function OnInitCompleted(e){
e.editorTarget.SetBodyValue(document.getElementById("content").value); e.editorTarget.SetBodyValue(document.getElementById("content").value);
} }
function ajaxErrorAction(e){
if(e.responseText.includes("로그인이 해제되었습니다.")){
alert("로그인이 해제되었습니다.")
location.href="/";
}else if(e.responseText.includes("접근이 거부되었습니다.")){
alert("접근이 거부되었습니다.")
location.href="/";
}
}

View File

@ -51,8 +51,8 @@ function getActivityCaseEditModal(caseKey){
setUploadDiv(); setUploadDiv();
$("#activityCaseEditModal").modal('show'); $("#activityCaseEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -65,8 +65,8 @@ function getSuspectDiv(){
success: function(html){ success: function(html){
$("#suspectHome").append(html) $("#suspectHome").append(html)
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -84,8 +84,8 @@ function getOfficerDiv(){
$("#officerHome").append(html) $("#officerHome").append(html)
$("#userModal").modal("hide"); $("#userModal").modal("hide");
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -100,8 +100,8 @@ function getActivityCaseViewModal(caseKey){
$("#activityCaseViewModalBody").empty().append(html) $("#activityCaseViewModalBody").empty().append(html)
$("#activityCaseViewModal").modal('show'); $("#activityCaseViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -46,8 +46,8 @@ function getCiWorkEditModal(ciwKey){
setEditor('editor', '400'); setEditor('editor', '400');
$("#ciWorkEditModal").modal('show'); $("#ciWorkEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -62,8 +62,8 @@ function getCiWorkViewModal(ciwKey){
$("#ciWorkViewModalBody").empty().append(html) $("#ciWorkViewModalBody").empty().append(html)
$("#ciWorkViewModal").modal('show'); $("#ciWorkViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -26,8 +26,8 @@ function getCiaEduEditModal(ciKey){
setUploadDiv(); setUploadDiv();
$("#ciaEduEditModal").modal('show'); $("#ciaEduEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -86,8 +86,8 @@ function getCiaEduViewModal(ciKey){
$("#ciaEduViewModalBody").empty().append(html) $("#ciaEduViewModalBody").empty().append(html)
$("#ciaEduViewModal").modal('show'); $("#ciaEduViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -26,8 +26,8 @@ function getCiaForeignerEditModal(ciKey){
setUploadDiv(); setUploadDiv();
$("#ciaForeignerEditModal").modal('show'); $("#ciaForeignerEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -87,8 +87,8 @@ function getCiaForeignerViewModal(ciKey){
$("#ciaForeignerViewModalBody").empty().append(html) $("#ciaForeignerViewModalBody").empty().append(html)
$("#ciaForeignerViewModal").modal('show'); $("#ciaForeignerViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -21,8 +21,8 @@ function getCiaManageCompanyEditModal(ciKey){
setUploadDiv(); setUploadDiv();
$("#ciaManageCompanyEditModal").modal('show'); $("#ciaManageCompanyEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -81,8 +81,8 @@ function getCiaManageCompanyViewModal(ciKey){
$("#ciaManageCompanyViewModalBody").empty().append(html) $("#ciaManageCompanyViewModalBody").empty().append(html)
$("#ciaManageCompanyViewModal").modal('show'); $("#ciaManageCompanyViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -21,8 +21,8 @@ function getCiaSaftyDemandEditModal(ciKey){
setUploadDiv(); setUploadDiv();
$("#ciaSaftyDemandEditModal").modal('show'); $("#ciaSaftyDemandEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -103,8 +103,8 @@ function getCiaSaftyDemandViewModal(ciKey){
$("#ciaSaftyDemandViewModalBody").empty().append(html) $("#ciaSaftyDemandViewModalBody").empty().append(html)
$("#ciaSaftyDemandViewModal").modal('show'); $("#ciaSaftyDemandViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -25,7 +25,8 @@ function changeManager(ogCd){
$("#pUserSeq").empty().append(html); $("#pUserSeq").empty().append(html);
$("#pUserSeq").prop('disabled',false); $("#pUserSeq").prop('disabled',false);
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -77,8 +78,8 @@ function showModal(phoneKey){
changeManager($("#mgtOrgan").val()); changeManager($("#mgtOrgan").val());
} }
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -26,8 +26,8 @@ $(document).on('click', '#addEquip', function (){
autoclose: true autoclose: true
}) })
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })
@ -45,8 +45,8 @@ $(document).on('change', '#equType', function (){
success: function(html){ success: function(html){
$("#detailType").empty().append(html) $("#detailType").empty().append(html)
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}); });
@ -127,8 +127,8 @@ function showUpdateModal(equKey){
autoclose: true autoclose: true
}) })
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -204,8 +204,8 @@ $(document).on('click', '#historyBtn', function (){
$("#equipHistoryModalContent").empty().append(html) $("#equipHistoryModalContent").empty().append(html)
$("#equipHistoryModal").modal('show'); $("#equipHistoryModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })
@ -235,8 +235,8 @@ $(document).on('click', '.historyInfoTr', function (){
$('#vImgName').attr("src", "/equip/getEquipImg?equKey="+data.equKey+"&versionNo="+data.versionNo); $('#vImgName').attr("src", "/equip/getEquipImg?equKey="+data.equKey+"&versionNo="+data.versionNo);
$('#vImgName').show(); $('#vImgName').show();
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })

View File

@ -32,8 +32,8 @@ function showEditModal(useType){
}); });
$('#detailSelf').hide(); $('#detailSelf').hide();
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -108,8 +108,8 @@ function showModifyModal(useNo,useType,mgtOrgan){
$('#mDetailSelf').show(); $('#mDetailSelf').show();
} }
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -173,8 +173,8 @@ $(document).on('click', '#historyBtn', function (){
$("#useEditModal").modal('show'); $("#useEditModal").modal('show');
$('#vDetailSelf').hide(); $('#vDetailSelf').hide();
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })
@ -210,8 +210,8 @@ $(document).on('click', '.historyTr', function (event){
$('#vCnt').val(data.peopleCnt); $('#vCnt').val(data.peopleCnt);
$('#vDescription').val(data.description); $('#vDescription').val(data.description);
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })

View File

@ -102,8 +102,8 @@ function getFaRptViewModal(faRptKey){
$("#faRptViewBody").empty().append(html) $("#faRptViewBody").empty().append(html)
$("#faRptViewModal").modal('show'); $("#faRptViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -120,8 +120,8 @@ function getFaRptEditModal(faRpt){
setEditor('editor', '500'); setEditor('editor', '500');
$("#faRptEditModal").modal('show'); $("#faRptEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -117,8 +117,8 @@ function getEditModal(cdsKey){
$("#asfCovEditModal").modal('show'); $("#asfCovEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -133,8 +133,8 @@ function getViewModal(asfCovKey){
$("#asfCovViewModalContent").empty().append(html) $("#asfCovViewModalContent").empty().append(html)
$("#asfCovViewModal").modal('show'); $("#asfCovViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -221,8 +221,8 @@ function getCrackdownStatusHistoryDetail(versionNo, cdsKey){
success: function(html){ success: function(html){
$("#historyDetailDiv").empty().append(html); $("#historyDetailDiv").empty().append(html);
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -238,8 +238,8 @@ function getCrackdownStatusViewModal(cdsKey){
$("#crackdownStatusViewBody").empty().append(html) $("#crackdownStatusViewBody").empty().append(html)
$("#crackdownStatusViewModal").modal('show'); $("#crackdownStatusViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -254,8 +254,8 @@ function getCrackdownStatusHistoryViewModal(cdsKey){
$("#crackdownStatusViewBody").empty().append(html) $("#crackdownStatusViewBody").empty().append(html)
$("#crackdownStatusViewModal").modal('show'); $("#crackdownStatusViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -339,8 +339,8 @@ function getCrackdownStatusEditModal(cdsKey){
lang:'kr' lang:'kr'
}); });
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -44,8 +44,8 @@ $(document).on('change', '#caseNum', function (){
$("#caseNum").val(""); $("#caseNum").val("");
} }
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })
@ -96,8 +96,8 @@ $(document).on('click', '.versionInfoTr', function (){
success: function(html){ success: function(html){
$("#fishingBoardVersionInfoDiv").empty().append(html); $("#fishingBoardVersionInfoDiv").empty().append(html);
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })
@ -211,8 +211,8 @@ function getFishingBoatEditModal(cdsKey){
} }
$("#fishingBoatEditModal").modal('show'); $("#fishingBoatEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -230,8 +230,8 @@ function getFishingBoatViewModal(cdsKey){
} }
$("#fishingBoatViewModal").modal('show'); $("#fishingBoatViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -248,8 +248,8 @@ function getCrackdownBoatOption(categoryCd){
crackdownBoat.removeAttr("disabled"); crackdownBoat.removeAttr("disabled");
} }
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -425,8 +425,8 @@ function getIcaViewModal(icaKey){
$("#icaViewBody").empty().append(html) $("#icaViewBody").empty().append(html)
$("#icaViewModal").modal('show'); $("#icaViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -455,8 +455,8 @@ function getIcaEditModal(icaKey){
}); });
setEditor('editor', '400'); setEditor('editor', '400');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -132,8 +132,8 @@ function getProcessResultHistoryDetail(versionNo, prKey, cdsKey, fbKey){
success: function(html){ success: function(html){
$("#historyDetailDiv").empty().append(html); $("#historyDetailDiv").empty().append(html);
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -149,8 +149,8 @@ function getProcessResultViewModal(prKey){
$("#processResultViewBody").empty().append(html) $("#processResultViewBody").empty().append(html)
$("#processResultViewModal").modal('show'); $("#processResultViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -169,8 +169,8 @@ function getProcessResultHistoryViewModal(prKey, cdsKey, fbKey){
$("#processResultViewBody").empty().append(html) $("#processResultViewBody").empty().append(html)
$("#processResultViewModal").modal('show'); $("#processResultViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -211,8 +211,8 @@ function getProcessResultAddModal(){
autoclose: true autoclose: true
}); });
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -256,8 +256,8 @@ function getProcessResultEditModal(prKey){
autoclose: true autoclose: true
}); });
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -103,8 +103,8 @@ function getSailorHistoryDetail(versionNo, sailorKey, cdsKey, fbKey){
success: function(html){ success: function(html){
$("#historyDetailDiv").empty().append(html); $("#historyDetailDiv").empty().append(html);
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -121,8 +121,8 @@ function getSailorViewModal(sailorKey){
$("#sailorViewBody").empty().append(html); $("#sailorViewBody").empty().append(html);
$("#sailorViewModal").modal('show'); $("#sailorViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -141,8 +141,8 @@ function getSailorHistoryViewModal(sailorKey, cdsKey, fbKey){
$("#sailorViewBody").empty().append(html) $("#sailorViewBody").empty().append(html)
$("#sailorViewModal").modal('show'); $("#sailorViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -167,8 +167,8 @@ function getSailorEditModal(sailorKey){
autoclose: true autoclose: true
}); });
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -188,8 +188,8 @@ function getSailorAddModal(){
autoclose: true autoclose: true
}); });
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -12,8 +12,8 @@ $(document).on('click', '#addPartInfo', function (){
changeManager($("#mgtOrgan").val()); changeManager($("#mgtOrgan").val());
setUploadDiv(); setUploadDiv();
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })
@ -70,7 +70,8 @@ function changeManager(ogCd){
$("#piUserSeq").empty().append(html); $("#piUserSeq").empty().append(html);
$("#piUserSeq").prop('disabled',false); $("#piUserSeq").prop('disabled',false);
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -89,7 +90,8 @@ $(document).on('change', '#mMgtOrgan', function (){
$("#mPiUserSeq").empty().append(html); $("#mPiUserSeq").empty().append(html);
$("#mPiUserSeq").prop('disabled',false); $("#mPiUserSeq").prop('disabled',false);
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}else{ }else{
@ -193,8 +195,8 @@ function showModal(piSeq){
} }
setUploadDiv(); setUploadDiv();
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -321,8 +323,8 @@ function showHistory(piSeq){
$("#partInfoEditModalEditModalContent").empty().append(html); $("#partInfoEditModalEditModalContent").empty().append(html);
$("#partInfoEditModal").modal('show'); $("#partInfoEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -344,8 +346,8 @@ $(document).on('click', '.historyInfoTr', function (){
success: function(html){ success: function(html){
$("#valueDiv").empty().append(html); $("#valueDiv").empty().append(html);
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })

View File

@ -15,8 +15,8 @@ $(document).on('click', '#addPartWork', function (){
}); });
setEditor('editor', '400'); setEditor('editor', '400');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })
@ -106,8 +106,8 @@ function showModal(pwSeq,piSeq){
setEditor('editor', '400'); setEditor('editor', '400');
$("#partWorkEditModal").modal('show'); $("#partWorkEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -27,8 +27,8 @@ function showEditModal(siType){
$("#ipShipModal").modal('show'); $("#ipShipModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -120,8 +120,8 @@ function showViewModal(siSeq,siType){
$("#ipShipModalContent").empty().append(html); $("#ipShipModalContent").empty().append(html);
$("#ipShipModal").modal('show'); $("#ipShipModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -139,8 +139,8 @@ function showHistory(siSeq,siType){
$("#ipShipModalContent").empty().append(html); $("#ipShipModalContent").empty().append(html);
$("#ipShipModal").modal('show'); $("#ipShipModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -216,8 +216,8 @@ $(document).on('click', '.historyInfoTr', function (){
success: function(html){ success: function(html){
$("#valueDiv").empty().append(html); $("#valueDiv").empty().append(html);
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })

View File

@ -26,8 +26,8 @@ function vulnEditModal(vulnKey){
$("#vulnEditModal").modal('show'); $("#vulnEditModal").modal('show');
setUploadDiv(); setUploadDiv();
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -74,8 +74,8 @@ $(document).on('click', '#infoModal', function (){
$("#vulnEditModalContent").empty().append(html); $("#vulnEditModalContent").empty().append(html);
$("#vulnEditModal").modal('show'); $("#vulnEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })
@ -92,8 +92,8 @@ $(document).on('click', '#viewModal', function (){
$("#vulnEditModalContent").empty().append(html); $("#vulnEditModalContent").empty().append(html);
$("#vulnEditModal").modal('show'); $("#vulnEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })

View File

@ -160,8 +160,8 @@ function getAffairViewModal(affairKey){
$("#affairViewBody").empty().append(html) $("#affairViewBody").empty().append(html)
$("#affairViewModal").modal('show'); $("#affairViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -186,8 +186,8 @@ function getAffairEditModal(affairKey){
setEditor('editor', '470'); setEditor('editor', '470');
setUploadDiv(); setUploadDiv();
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -38,9 +38,9 @@ function goFieldStatistics(){
$(".statisticsMenu").hide(); $(".statisticsMenu").hide();
searchFade("out"); searchFade("out");
}, },
error:function(){ error:function(e){
searchFade("out"); searchFade("out");
ajaxErrorAction(e);
} }
}); });
} }
@ -76,8 +76,9 @@ function goRatingStatistics(){
$(".statisticsMenu").hide(); $(".statisticsMenu").hide();
searchFade("out"); searchFade("out");
}, },
error:function(){ error:function(e){
searchFade("out"); searchFade("out");
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -42,8 +42,8 @@ function getDesignationEditModal(mdKey){
setUploadDiv(); setUploadDiv();
$("#designationEditModal").modal('show'); $("#designationEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -129,8 +129,8 @@ function getDesignationViewModal(mdKey){
$("#designationViewModalBody").empty().append(html) $("#designationViewModalBody").empty().append(html)
$("#designationViewModal").modal('show'); $("#designationViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -111,8 +111,8 @@ function getPlanViewModal(planKey){
$("#planViewBody").empty().append(html) $("#planViewBody").empty().append(html)
$("#planViewModal").modal('show'); $("#planViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -145,8 +145,8 @@ function getPlanEditModal(planKey){
}); });
setUploadDiv(); setUploadDiv();
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -69,8 +69,8 @@ $(document).on('click', '#affairModalBtn', function (){
$("#affairListModalContent").empty().append(html) $("#affairListModalContent").empty().append(html)
$("#affairListModal").modal('show'); $("#affairListModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -115,8 +115,8 @@ $(document).on('click', '#clearInfoAddBtn', function (){
success: function(html){ success: function(html){
infoRow.append(html); infoRow.append(html);
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })
@ -143,8 +143,8 @@ $(document).on('click', '#resultInfoAddBtn', function (){
] ]
}); });
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })
@ -203,8 +203,8 @@ function getResultViewModal(resultKey){
$("#resultViewBody").empty().append(html) $("#resultViewBody").empty().append(html)
$("#resultViewModal").modal('show'); $("#resultViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -237,8 +237,8 @@ function getResultEditModal(resultKey){
}); });
setUploadDiv(); setUploadDiv();
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -35,8 +35,8 @@ function getSriEditModal(faSriKey){
setUploadDiv(); setUploadDiv();
$("#sriEditModal").modal('show'); $("#sriEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -149,8 +149,8 @@ function getSriViewModal(faSriKey){
$("#sriViewBody").empty().append(html) $("#sriViewBody").empty().append(html)
$("#sriViewModal").modal('show'); $("#sriViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -82,8 +82,8 @@ function getIvsgtViewModal(ivsgtKey){
$("#ivsgtViewBody").empty().append(html) $("#ivsgtViewBody").empty().append(html)
$("#ivsgtViewModal").modal('show'); $("#ivsgtViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -104,8 +104,8 @@ function getIvsgtEditModal(ivsgtKey, ivsgtType){
setEditor('editor', '400') setEditor('editor', '400')
setUploadDiv(); setUploadDiv();
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -123,8 +123,8 @@ function getSearchViewModal(ivsgtType, contentTitle){
$("#searchViewBody").empty().append(html) $("#searchViewBody").empty().append(html)
$("#searchViewModal").modal('show'); $("#searchViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -115,8 +115,8 @@ function getEditModal(majorKey){
$("#MajorEditModal").modal('show'); $("#MajorEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -131,8 +131,8 @@ function getViewModal(majorKey){
$("#viewContent").empty().append(html) $("#viewContent").empty().append(html)
$("#MajorViewModal").modal('show'); $("#MajorViewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -89,8 +89,8 @@ function getModalForm(menuMgt){
$("#menuEditModalContent").empty().append(html) $("#menuEditModalContent").empty().append(html)
$("#menuEditModal").modal('show') $("#menuEditModal").modal('show')
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -10,8 +10,8 @@ $(function (){
organList = data; organList = data;
setUsedOrganTr("OG001", "OGC002"); setUsedOrganTr("OG001", "OGC002");
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })

View File

@ -34,8 +34,8 @@ $(document).on('click', '.careerAddBtn', function (){
}); });
$("#careerFormModal").modal('show'); $("#careerFormModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })
@ -172,8 +172,8 @@ function getCareerModal(userSeq, careerCd){
$("#careerModalContent").empty().append(html); $("#careerModalContent").empty().append(html);
$("#careerModal").modal('show'); $("#careerModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -187,8 +187,8 @@ function getKwmsCareerModal(userSeq, dicCode){
$("#kwmsCareerModalContent").empty().append(html); $("#kwmsCareerModalContent").empty().append(html);
$("#kwmsCareerModal").modal('show'); $("#kwmsCareerModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
});*/ });*/
} }

View File

@ -24,8 +24,8 @@ function showModal(userSeq){
}); });
$("#eduEditModal").modal('show'); $("#eduEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -19,8 +19,8 @@ $(document).on('click', '#personnelStatusAddBtn', function (){
success: function(html){ success: function(html){
$("#personnelStatusEditDiv").append(html) $("#personnelStatusEditDiv").append(html)
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })
@ -54,8 +54,8 @@ $(document).on('change', '.ogCd', function (){
personnelStatusRow.find(".jt001Max").val(data.jt001Max); personnelStatusRow.find(".jt001Max").val(data.jt001Max);
personnelStatusRow.find(".jt001Now").val(data.jt001Now); personnelStatusRow.find(".jt001Now").val(data.jt001Now);
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}else{ }else{
@ -83,8 +83,9 @@ $(document).on('click', '.nowPersonnelStatusBtn', function (){
personnelStatusRow.find(".jt001Now").val(data.jt001Now); personnelStatusRow.find(".jt001Now").val(data.jt001Now);
} }
}, },
error:function(){ error:function(e){
alert("조회에 실패하였습니다.") alert("조회에 실패하였습니다.")
ajaxErrorAction(e);
} }
}); });
}) })
@ -152,8 +153,8 @@ $(document).on('click', '.statusTr', function (){
$("#personnelStatusHistoryModalBody").empty().append(html) $("#personnelStatusHistoryModalBody").empty().append(html)
$("#personnelStatusHistoryModal").modal('show'); $("#personnelStatusHistoryModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })

View File

@ -21,8 +21,8 @@ function showModal(userSeq){
}); });
$("#policeEditModal").modal('show'); $("#policeEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -94,8 +94,8 @@ $(document).on('click', '#historyTab', function (){
$("#policeEditModalContent").empty().append(html); $("#policeEditModalContent").empty().append(html);
$("#policeEditModal").modal('show'); $("#policeEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })
@ -138,8 +138,8 @@ $(document).on('click', '.historyInfoTr', function (){
$('#vSeriesCd').val(data.seriesCd); $('#vSeriesCd').val(data.seriesCd);
$('#vLanguageCd').val(data.languageCd); $('#vLanguageCd').val(data.languageCd);
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })

View File

@ -91,8 +91,8 @@ function getEditModal(publicKey, publicType){
setEditor('editor', '570'); setEditor('editor', '570');
$("#editModal").modal('show'); $("#editModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -107,8 +107,8 @@ function getViewModal(publicKey, publicType){
$("#viewContent").empty().append(html) $("#viewContent").empty().append(html)
$("#viewModal").modal('show'); $("#viewModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }

View File

@ -165,8 +165,8 @@ $(document).on('click', '.historyInfoTr', function (){
$("#dmlYnV").val(data.dmlYn); $("#dmlYnV").val(data.dmlYn);
$("#remarkV").val(data.remark); $("#remarkV").val(data.remark);
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })
@ -219,8 +219,8 @@ function revisionHistory(trKey,verNo,url){
autoclose: true autoclose: true
}); });
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -316,8 +316,8 @@ function showCareer(trKey){
$("#careerView").empty().append(html) $("#careerView").empty().append(html)
$("#translatorCareerModal").modal('show'); $("#translatorCareerModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }
@ -336,8 +336,8 @@ $(document).on('click', '#crrInsertBtn', function (){
$("#careerView").empty().append(html) $("#careerView").empty().append(html)
$("#translatorCareerModal").modal('show'); $("#translatorCareerModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
}) })

View File

@ -214,8 +214,8 @@ function openEditModal(userSeq){
}); });
$("#userEditModal").modal('show'); $("#userEditModal").modal('show');
}, },
error:function(){ error:function(e){
ajaxErrorAction(e);
} }
}); });
} }