From 7933c125d5d06f77881068bb77accdb4ad028dd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=84=9D=20=EC=B5=9C?= Date: Mon, 11 Mar 2024 17:51:40 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=A4=EB=AC=B8=EA=B4=80=EB=A6=AC=20?= =?UTF-8?q?=EC=A7=88=EB=AC=B8=EC=9D=98=20=EB=B3=B4=EA=B8=B0=20=EB=A6=AC?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=EC=97=90=20=EC=9D=91=EB=8B=B5=20=EC=BB=AC?= =?UTF-8?q?=EB=9F=BC=20=ED=91=9C=ED=98=84.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/admin/contents/survey/QuestionModal.jsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/contents/survey/QuestionModal.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/contents/survey/QuestionModal.jsx index f10df17..e5af92b 100644 --- a/egovframe-template-simple-react-contribution/src/pages/admin/contents/survey/QuestionModal.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/admin/contents/survey/QuestionModal.jsx @@ -57,7 +57,7 @@ function QuestionModal({svySeq}){ qtItemSeq: null, qtSeq:null, itemNm: null, - questionYn:null + questionYn:'Y' }) setSelectedQt(temp); } @@ -228,11 +228,13 @@ function QuestionModal({svySeq}){ + + @@ -248,6 +250,15 @@ function QuestionModal({svySeq}){ setSelectedQt(qt); }}/> +
보기응답 삭제
+ { + const qt = {...selectedQt} + qt.itemList[index].questionYn = e.target.checked?'Y':'N' + setSelectedQt(qt); + }}/> +