fix : 이메일/sms발송화면 호출개선

This commit is contained in:
jazz
2026-03-17 17:57:16 +09:00
parent a229a7fec0
commit fa337ec3a7
9 changed files with 105 additions and 17 deletions

View File

@@ -34,8 +34,14 @@
}
})
fn_select_Sndng();
<c:choose>
<c:when test="${mssageVO != null && mssageVO.reqTab eq 'search'}">
fn_select_listForm();
</c:when>
<c:otherwise>
fn_select_Sndng();
</c:otherwise>
</c:choose>
});

View File

@@ -24,9 +24,15 @@
</head>
<script>
$(document).ready(function () {
var reqTab = '${resultMap.mssageVO.reqTab}';
fn_preview();
fn_select_Sndng();
if (reqTab == 'send'){
fn_select_Sndng('${resultMap.mssageVO.mbtlnb}');
}else if (reqTab == 'search'){
fn_select_listForm();
}else {
fn_select_Sndng();
}
//특수문자 버튼
$("#special_cont").click(function(){
@@ -55,8 +61,8 @@
/* ********************************************************
* 메시지 수동 발송 TAB
******************************************************** */
const fn_select_Sndng = function () {
const fn_select_Sndng = function (mbtlnb) {
console.log("==========mbtlnb",mbtlnb);
$.ajax({
type: 'post',
url: '/mngr/ntcn/mssage/selectMssagePassivSndng',
@@ -67,6 +73,9 @@
$("#selectSndngBtn").addClass("active");
$("#selectSndng").addClass("active");
$('#selectSndng').html(resultHtml);
if (mbtlnb != null){
$('#inputData').text(mbtlnb);
}
}
});
}