주소록 엑셀 upload 후 닫기 실행 수정

This commit is contained in:
hehihoho3@gmail.com 2024-12-20 12:53:48 +09:00
parent 43118182c1
commit 3c8e608ccf
5 changed files with 15 additions and 8 deletions

View File

@ -141,7 +141,7 @@ function insertAddrAjax() {
alert("해당 그룹에 중복된 번호가 있습니다.");
return;
}
//alert("저장 되었습니다.");
alert("저장 되었습니다.");
listAddrGrp();
addrGroupLoadAjax();
@ -275,7 +275,6 @@ $(document).on('click', '#btnAddrMassClose', function() {
// 대량등록 닫기
function setAddrMassClose() {
$('#btnAddrMassClose').click();
var $objTabul = fn_utils_getTabulator();
$objTabul.clearData();
@ -300,6 +299,8 @@ function setAddrMassClose() {
addrGroupLoadAjax();
addrLoadAjax();
fn_errorPopClean(); // 에러 팝업 초기화
closeTooltip();
}
// 주소록 탭마다 돌면서 총, 중복, 오류 건수 초기화

View File

@ -122,7 +122,7 @@ function insertAddrAjax() {
alert("해당 그룹에 중복된 번호가 있습니다.");
return;
}
//alert("저장 되었습니다.");
alert("저장 되었습니다.");
listAddrGrp();
addrGroupLoadAjax();

View File

@ -691,7 +691,6 @@ $(document).on('click', '#errorExcelBtn', function() {
});
</script>
<!-- 중복전화번호 data-tooltip:addrMassDupli_layer -->

View File

@ -375,7 +375,7 @@ function replTotalPriceSum(msg_short, msg_long, totRows){
$('.nowMsgCnt').text(numberWithCommas(msgCnt.toFixed()));
//변환문자 건수 내용 표기
totalCntTxt = "그림 : <strong>" + totRows + "</strong> 건";;
totalCntTxt = "그림 : <strong>" + numberWithCommas(totRows) + "</strong> 건";;
}else{
@ -391,7 +391,7 @@ function replTotalPriceSum(msg_short, msg_long, totRows){
$('#eachPrice').val(numberWithCommas(longPrice));
//변환문자 건수 내용 표기
totalCntTxt = "장문 : <strong>" + msg_long + "</strong> 건";
totalCntTxt = "장문 : <strong>" + numberWithCommas(msg_long) + "</strong> 건";
//변환장문 건수 Hidden 폼에 넣어주기
$('#longMsgCnt').val(msg_long);
@ -417,12 +417,12 @@ function replTotalPriceSum(msg_short, msg_long, totRows){
if(msg_long > 0){
//변환문자 건수 내용 표기
totalCntTxt = totalCntTxt + "/ 단문 : <strong>" + msg_short + "</strong> 건";
totalCntTxt = totalCntTxt + "/ 단문 : <strong>" + numberWithCommas(msg_short) + "</strong> 건";
}else{
//변환문자 건수 내용 표기
totalCntTxt = "단문 : <strong>" + msg_short + "</strong> 건";
totalCntTxt = "단문 : <strong>" + numberWithCommas(msg_short) + "</strong> 건";
}
@ -1091,3 +1091,5 @@ function setRowDupCnt(cnt){
$('#rowDupCnt').text(cnt)
}

View File

@ -450,4 +450,9 @@ function resetTableFieldsToDefault() {
}
function closeTooltip(){
$('.adr_popup01').hide();
$('.mask').removeClass('on');
$('body').removeAttr('style');
}