|
|
@@ -205,9 +205,9 @@
|
|
|
</tbody>
|
|
|
</table>
|
|
|
|
|
|
- <h4>[G11-1] 휴면/미접속자 방어쿠폰 자동발송</h4>
|
|
|
- <button type="button" class="btn btn-success btn-ssm" onclick="fnSave('G11-1');">저장</button>
|
|
|
- <button type="button" class="btn btn-info btn-ssm" onclick="fnOpenEnvsetPopup('G11-1', '휴면/미접속자');">이력보기</button>
|
|
|
+ <h4>[G12] 휴면/미접속자 방어쿠폰 자동발송-1</h4>
|
|
|
+ <button type="button" class="btn btn-success btn-ssm" onclick="fnSave('G12');">저장</button>
|
|
|
+ <button type="button" class="btn btn-info btn-ssm" onclick="fnOpenEnvsetPopup('G12', '휴면/미접속자 12');">이력보기</button>
|
|
|
<table class="frmStyle" aria-describedby="휴면/미접속자">
|
|
|
<colgroup>
|
|
|
<col style="width: 15%;"/>
|
|
|
@@ -217,29 +217,102 @@
|
|
|
<tr>
|
|
|
<th>미로그인 시작일(일)</th>
|
|
|
<td>
|
|
|
- <input name="g11-1StrSetVal1" type="text" class="w50 aR" maxlength="3" data-valid-type="integer" data-valid-name="미로그인 시작일"/><span class="cRed">일</span> 입니다.
|
|
|
+ <input name="g12StrSetVal1" type="text" class="w50 aR" maxlength="3" data-valid-type="integer" data-valid-name="미로그인 시작일"/><span class="cRed">일</span> 입니다.
|
|
|
<span class="infoTxt cBlue"><i class="fa fa-info-circle marL20" aria-hidden="true"></i>0으로 설정하면 자동으로 발송되지 않습니다.</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>미로그인 종료일(일)</th>
|
|
|
<td>
|
|
|
- <input name="g11-1StrSetVal2" type="text" class="w50 aR" maxlength="3" data-valid-type="integer" data-valid-name="미로그인 시작일"/><span class="cRed">일</span> 입니다.
|
|
|
+ <input name="g12StrSetVal2" type="text" class="w50 aR" maxlength="3" data-valid-type="integer" data-valid-name="미로그인 종료일"/><span class="cRed">일</span> 입니다.
|
|
|
<span class="infoTxt cBlue"><i class="fa fa-info-circle marL20" aria-hidden="true"></i>0으로 설정하면 자동으로 발송되지 않습니다.</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>혜택쿠폰</th>
|
|
|
<td>
|
|
|
- <input type="text" class="w300" name="g11-1StrSetVal3Nm" onkeypress="if (window.event.keyCode == 13) { fnOpenCouponRetrievePopup('input[name=g11-1StrSetVal3]', 'input[name=g11-1StrSetVal3Nm]'); }"/>
|
|
|
- <button type="button" class="btn icn" onclick="fnOpenCouponRetrievePopup('input[name=g11-1StrSetVal3]', 'input[name=g11-1StrSetVal3Nm]');"><i class="fa fa-search cpn" aria-hidden="true"></i></button>
|
|
|
- <input name="g11-1StrSetVal3" type="text" class="w100" maxlength="20" readonly="readonly"/>
|
|
|
- <button type="button" class="btn icn" onclick="$('input[name=g11-1StrSetVal3], input[name=g11-1StrSetVal3Nm]').val('');"><i class="fa fa-eraser" aria-hidden="true"></i></button>
|
|
|
+ <input type="text" class="w300" name="g12StrSetVal3Nm" onkeypress="if (window.event.keyCode == 13) { fnOpenCouponRetrievePopup('input[name=g12StrSetVal3]', 'input[name=g12StrSetVal3Nm]'); }"/>
|
|
|
+ <button type="button" class="btn icn" onclick="fnOpenCouponRetrievePopup('input[name=g12StrSetVal3]', 'input[name=g12StrSetVal3Nm]');"><i class="fa fa-search cpn" aria-hidden="true"></i></button>
|
|
|
+ <input name="g12StrSetVal3" type="text" class="w100" maxlength="20" readonly="readonly"/>
|
|
|
+ <button type="button" class="btn icn" onclick="$('input[name=g12StrSetVal3], input[name=g12StrSetVal3Nm]').val('');"><i class="fa fa-eraser" aria-hidden="true"></i></button>
|
|
|
+ <span class="infoTxt cBlue"><i class="fa fa-info-circle marL20" aria-hidden="true"></i>SMS/이메일 수신동의자</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
-
|
|
|
+
|
|
|
+ <h4>[G13] 휴면/미접속자 방어쿠폰 자동발송-2</h4>
|
|
|
+ <button type="button" class="btn btn-success btn-ssm" onclick="fnSave('G13');">저장</button>
|
|
|
+ <button type="button" class="btn btn-info btn-ssm" onclick="fnOpenEnvsetPopup('G13', '휴면/미접속자 13');">이력보기</button>
|
|
|
+ <table class="frmStyle" aria-describedby="휴면/미접속자">
|
|
|
+ <colgroup>
|
|
|
+ <col style="width: 15%;"/>
|
|
|
+ <col/>
|
|
|
+ </colgroup>
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <th>미로그인 시작일(일)</th>
|
|
|
+ <td>
|
|
|
+ <input name="g13StrSetVal1" type="text" class="w50 aR" maxlength="3" data-valid-type="integer" data-valid-name="미로그인 시작일"/><span class="cRed">일</span> 입니다.
|
|
|
+ <span class="infoTxt cBlue"><i class="fa fa-info-circle marL20" aria-hidden="true"></i>0으로 설정하면 자동으로 발송되지 않습니다.</span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>미로그인 종료일(일)</th>
|
|
|
+ <td>
|
|
|
+ <input name="g13StrSetVal2" type="text" class="w50 aR" maxlength="3" data-valid-type="integer" data-valid-name="미로그인 시작일"/><span class="cRed">일</span> 입니다.
|
|
|
+ <span class="infoTxt cBlue"><i class="fa fa-info-circle marL20" aria-hidden="true"></i>0으로 설정하면 자동으로 발송되지 않습니다.</span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>혜택쿠폰</th>
|
|
|
+ <td>
|
|
|
+ <input type="text" class="w300" name="g13StrSetVal3Nm" onkeypress="if (window.event.keyCode == 13) { fnOpenCouponRetrievePopup('input[name=g13StrSetVal3]', 'input[name=g13StrSetVal3Nm]'); }"/>
|
|
|
+ <button type="button" class="btn icn" onclick="fnOpenCouponRetrievePopup('input[name=g13StrSetVal3]', 'input[name=g13StrSetVal3Nm]');"><i class="fa fa-search cpn" aria-hidden="true"></i></button>
|
|
|
+ <input name="g13StrSetVal3" type="text" class="w100" maxlength="20" readonly="readonly"/>
|
|
|
+ <button type="button" class="btn icn" onclick="$('input[name=g13StrSetVal3], input[name=g13StrSetVal3Nm]').val('');"><i class="fa fa-eraser" aria-hidden="true"></i></button>
|
|
|
+ <span class="infoTxt cBlue"><i class="fa fa-info-circle marL20" aria-hidden="true"></i>SMS/이메일 수신동의자</span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ <h4>[G14] 휴면/미접속자 방어쿠폰 자동발송-3</h4>
|
|
|
+ <button type="button" class="btn btn-success btn-ssm" onclick="fnSave('G14');">저장</button>
|
|
|
+ <button type="button" class="btn btn-info btn-ssm" onclick="fnOpenEnvsetPopup('G14', '휴면/미접속자 14');">이력보기</button>
|
|
|
+ <table class="frmStyle" aria-describedby="휴면/미접속자">
|
|
|
+ <colgroup>
|
|
|
+ <col style="width: 15%;"/>
|
|
|
+ <col/>
|
|
|
+ </colgroup>
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <th>미로그인 시작일(일)</th>
|
|
|
+ <td>
|
|
|
+ <input name="g14StrSetVal1" type="text" class="w50 aR" maxlength="3" data-valid-type="integer" data-valid-name="미로그인 시작일"/><span class="cRed">일</span> 입니다.
|
|
|
+ <span class="infoTxt cBlue"><i class="fa fa-info-circle marL20" aria-hidden="true"></i>0으로 설정하면 자동으로 발송되지 않습니다.</span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>미로그인 종료일(일)</th>
|
|
|
+ <td>
|
|
|
+ <input name="g14StrSetVal2" type="text" class="w50 aR" maxlength="3" data-valid-type="integer" data-valid-name="미로그인 시작일"/><span class="cRed">일</span> 입니다.
|
|
|
+ <span class="infoTxt cBlue"><i class="fa fa-info-circle marL20" aria-hidden="true"></i>0으로 설정하면 자동으로 발송되지 않습니다.</span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>혜택쿠폰</th>
|
|
|
+ <td>
|
|
|
+ <input type="text" class="w300" name="g14StrSetVal3Nm" onkeypress="if (window.event.keyCode == 13) { fnOpenCouponRetrievePopup('input[name=g14StrSetVal3]', 'input[name=g14StrSetVal3Nm]'); }"/>
|
|
|
+ <button type="button" class="btn icn" onclick="fnOpenCouponRetrievePopup('input[name=g14StrSetVal3]', 'input[name=g14StrSetVal3Nm]');"><i class="fa fa-search cpn" aria-hidden="true"></i></button>
|
|
|
+ <input name="g14StrSetVal3" type="text" class="w100" maxlength="20" readonly="readonly"/>
|
|
|
+ <button type="button" class="btn icn" onclick="$('input[name=g14StrSetVal3], input[name=g14StrSetVal3Nm]').val('');"><i class="fa fa-eraser" aria-hidden="true"></i></button>
|
|
|
+ <span class="infoTxt cBlue"><i class="fa fa-info-circle marL20" aria-hidden="true"></i>SMS/이메일 수신동의자</span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+
|
|
|
<h4>[O10] 주문/결제</h4>
|
|
|
<button type="button" class="btn btn-success btn-ssm" onclick="fnSave('O10');">저장</button>
|
|
|
<button type="button" class="btn btn-info btn-ssm" onclick="fnOpenEnvsetPopup('O10', '주문/결제');">이력보기</button>
|
|
|
@@ -466,6 +539,42 @@
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
+
|
|
|
+ // 휴면/미접속자 방어쿠폰 12
|
|
|
+ $.getJSON(actionUrl + '/G12'
|
|
|
+ , function(result, status) {
|
|
|
+ if (status === 'success') {
|
|
|
+ if (!gagajf.isNull(result)) {
|
|
|
+ $('input[name=g12StrSetVal1]').val(result.strSetVal1);
|
|
|
+ $('input[name=g12StrSetVal2]').val(result.strSetVal2);
|
|
|
+ $('input[name=g12StrSetVal3]').val(result.strSetVal3);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ // 휴면/미접속자 방어쿠폰 13
|
|
|
+ $.getJSON(actionUrl + '/G13'
|
|
|
+ , function(result, status) {
|
|
|
+ if (status === 'success') {
|
|
|
+ if (!gagajf.isNull(result)) {
|
|
|
+ $('input[name=g13StrSetVal1]').val(result.strSetVal1);
|
|
|
+ $('input[name=g13StrSetVal2]').val(result.strSetVal2);
|
|
|
+ $('input[name=g13StrSetVal3]').val(result.strSetVal3);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ // 휴면/미접속자 방어쿠폰 11-3
|
|
|
+ $.getJSON(actionUrl + '/G14'
|
|
|
+ , function(result, status) {
|
|
|
+ if (status === 'success') {
|
|
|
+ if (!gagajf.isNull(result)) {
|
|
|
+ $('input[name=g14StrSetVal1]').val(result.strSetVal1);
|
|
|
+ $('input[name=g14StrSetVal2]').val(result.strSetVal2);
|
|
|
+ $('input[name=g14StrSetVal3]').val(result.strSetVal3);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
|
|
|
// 파일첨부 선택 시
|
|
|
@@ -541,6 +650,21 @@
|
|
|
params.strSetVal1 = $('input[name=d10StrSetVal1]').val();
|
|
|
params.strSetVal2 = $('input[name=d10StrSetVal2]').val();
|
|
|
params.strSetVal3 = $('input[name=d10StrSetVal3]').val();
|
|
|
+ } else if (envsetType == 'G12') { // 휴면/미접속자 방어쿠폰 12
|
|
|
+ params.envsetNm = '휴면/미접속자 12';
|
|
|
+ params.strSetVal1 = $('input[name=g12StrSetVal1]').val();
|
|
|
+ params.strSetVal2 = $('input[name=g12StrSetVal2]').val();
|
|
|
+ params.strSetVal3 = $('input[name=g12StrSetVal3]').val();
|
|
|
+ } else if (envsetType == 'G13') { // 휴면/미접속자 방어쿠폰 13
|
|
|
+ params.envsetNm = '휴면/미접속자 13';
|
|
|
+ params.strSetVal1 = $('input[name=g13StrSetVal1]').val();
|
|
|
+ params.strSetVal2 = $('input[name=g13StrSetVal2]').val();
|
|
|
+ params.strSetVal3 = $('input[name=g13StrSetVal3]').val();
|
|
|
+ } else if (envsetType == 'G14') { // 휴면/미접속자 방어쿠폰 14
|
|
|
+ params.envsetNm = '휴면/미접속자 14';
|
|
|
+ params.strSetVal1 = $('input[name=g14StrSetVal1]').val();
|
|
|
+ params.strSetVal2 = $('input[name=g14StrSetVal2]').val();
|
|
|
+ params.strSetVal3 = $('input[name=g14StrSetVal3]').val();
|
|
|
}
|
|
|
|
|
|
var jsonData = JSON.stringify(params);
|
|
|
@@ -555,7 +679,15 @@
|
|
|
+ '&envsetTypeNm=' + encodeURIComponent(envsetTypeNm);
|
|
|
cfnOpenModalPopup(actionUrl, 'popupEnvset');
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
+ // 쿠폰조회 팝업
|
|
|
+ var fnOpenCouponRetrievePopup = function(strReturnCode, strReturnName) {
|
|
|
+ var oParam = new Object();
|
|
|
+ oParam.returnCode = strReturnCode;
|
|
|
+ oParam.returnName = strReturnName;
|
|
|
+ cfnOpenCouponRetrievePopup($(strReturnName).val(), oParam);
|
|
|
+ }
|
|
|
+
|
|
|
$(document).ready(function() {
|
|
|
$('select[name=siteCd]').trigger('change');
|
|
|
});
|