location.reload() 1차 작업

master
DESKTOP-QGC5RJO\DBNT 2023-03-16 17:57:53 +09:00
parent 7e00a557d7
commit 695075cd35
5 changed files with 11 additions and 5 deletions

View File

@ -97,7 +97,8 @@ function saveCiWork(status){
alert("저장되었습니다."); alert("저장되었습니다.");
contentFade("out"); contentFade("out");
$("#ciWorkEditModal").modal('hide'); $("#ciWorkEditModal").modal('hide');
getCiWorkViewModal(result); //getCiWorkViewModal(result);
location.reload();
}, },
error : function(xhr, status) { error : function(xhr, status) {
alert("저장에 실패하였습니다.") alert("저장에 실패하였습니다.")

View File

@ -99,7 +99,8 @@ $(document).on('click', '#updateCellPhone', function (){
success : function(result) { success : function(result) {
alert("수정되었습니다."); alert("수정되었습니다.");
contentFade("out"); contentFade("out");
showModal(result); //showModal(result);
location.reload();
}, },
error : function(xhr, status) { error : function(xhr, status) {
alert("수정에 실패하였습니다.") alert("수정에 실패하였습니다.")

View File

@ -85,8 +85,8 @@ $(document).on('click', '#saveEquip', function (){
contentType: false, contentType: false,
success : function() { success : function() {
alert("저장되었습니다."); alert("저장되었습니다.");
location.reload();
contentFade("out"); contentFade("out");
location.reload();
}, },
error : function(xhr, status) { error : function(xhr, status) {
alert("저장에 실패하였습니다.") alert("저장에 실패하였습니다.")
@ -174,6 +174,7 @@ $(document).on('click', '#updateEquip', function (){
alert("수정되었습니다."); alert("수정되었습니다.");
showUpdateModal(data); showUpdateModal(data);
contentFade("out"); contentFade("out");
location.reload();
}, },
error : function(xhr, status) { error : function(xhr, status) {
alert("수정에 실패하였습니다.") alert("수정에 실패하였습니다.")

View File

@ -439,6 +439,7 @@ function saveCrackdownStatus(saveYn){
alert("저장되었습니다."); alert("저장되었습니다.");
contentFade("out"); contentFade("out");
$("#crackdownStatusEditModal").modal('hide'); $("#crackdownStatusEditModal").modal('hide');
location.reload();
}, },
error : function(xhr, status) { error : function(xhr, status) {
alert("저장에 실패하였습니다.") alert("저장에 실패하였습니다.")

View File

@ -90,8 +90,9 @@ $(document).on('click', '.apprvBtn', function (){
}, },
success : function(result) { success : function(result) {
alert("저장되었습니다") alert("저장되었습니다")
getPlanViewModal(result); // getPlanViewModal(result);
contentFade("out"); contentFade("out");
location.reload();
}, },
error : function(xhr, status) { error : function(xhr, status) {
alert("저장에 실패하였습니다."); alert("저장에 실패하였습니다.");
@ -173,7 +174,8 @@ function savePlan(planState){
alert("저장되었습니다."); alert("저장되었습니다.");
contentFade("out"); contentFade("out");
$("#planEditModal").modal('hide'); $("#planEditModal").modal('hide');
getPlanViewModal(result); //getPlanViewModal(result);
location.reload();
}, },
error : function(xhr, status) { error : function(xhr, status) {
alert("저장에 실패하였습니다.") alert("저장에 실패하였습니다.")