From fcd1cdca77a31fdbe6ae0baf92efec56a1b3f0a8 Mon Sep 17 00:00:00 2001 From: minuk926 Date: Mon, 6 Feb 2023 22:07:06 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=B6=80=EA=B3=BC,=20=EB=8B=B5?= =?UTF-8?q?=EB=B3=80=20=ED=99=94=EB=A9=B4=EB=8B=A8=20=EA=B0=9C=EB=B0=9C=20?= =?UTF-8?q?=EC=A7=84=ED=96=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fims/biz/rt/rtCrackdownMgtMainForm.jsp | 30 ++++++++++++++++--- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtCrackdownMgtMainForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtCrackdownMgtMainForm.jsp index d7c8c4db..1bc00a8c 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtCrackdownMgtMainForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtCrackdownMgtMainForm.jsp @@ -17,8 +17,8 @@ Date Author Description
@@ -84,7 +84,8 @@ Date Author Description
전체 ㅣ
- 부과 + 부과처리 + 답변처리
@@ -215,16 +216,22 @@ Date Author Description switch(CUR_TAB_IDX){ case 0: $('#btnExtrRegist').show(); + $('#btnImpose').hide(); + $('#btnAnswer').hide(); $('#regltProcessSttusCode').show(); $('input:radio[name=regltSeCode]').prop('disabled', false); break; case 1: $('#btnExtrRegist').hide(); + $('#btnImpose').show(); + $('#btnAnswer').hide(); $('#regltProcessSttusCode').show(); $('input:radio[name=regltSeCode]').prop('disabled', false); break; case 2: $('#btnExtrRegist').hide(); + $('#btnImpose').hide(); + $('#btnAnswer').show(); $('#regltProcessSttusCode').hide(); $('input:radio[name=regltSeCode]').val('09').prop('checked', true); $('input:radio[name=regltSeCode]').prop('disabled', true); @@ -271,6 +278,21 @@ Date Author Description }) fnBiz.pagePopup('impose'); }); + + $('#btnAnswer').on('click', () => { + const arrChecks = ARR_GRID[CUR_TAB_IDX].getCheckedRows(); + if(arrChecks.length === 0){ + alert('답변 처리할 대상을 먼저 선택해 주세요'); + return false; + } + IMPOSE_DATA = arrChecks.map((row) => { + return { + regltId: row.regltId + ,cvplRceptNo: row.cvplRceptNo + } + }) + //fnBiz.pagePopup('impose'); + }); }); /* ******************************* @@ -500,7 +522,7 @@ Date Author Description $('#sch_date_from').datepicker('setDate', DateUtil.getDateDay(-5475).date); $('#sch_date_to').datepicker('setDate', new Date()); CUR_TAB_IDX = 0; - $('#btnImpose').hide(); + fnBiz.resetBtn(); $("#tabs").tabs({active : CUR_TAB_IDX}); initGrid(); });