From 7c69420af3a281955304faff8514365b422b0bf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A3=BC=EC=88=98=ED=98=84?= Date: Thu, 17 Jul 2025 09:29:10 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/main/resources/templates/record/calendar.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/front/src/main/resources/templates/record/calendar.html b/front/src/main/resources/templates/record/calendar.html index 98d347d3..35fdbff0 100644 --- a/front/src/main/resources/templates/record/calendar.html +++ b/front/src/main/resources/templates/record/calendar.html @@ -835,6 +835,7 @@ let dailyNo = [] let msgTxt = ''; let month = viewDate.getMonth() + 1; + let idxPlus = 0; msgTxt += "등록하지 않은 일계부 항목이 있습니다.\n 정확한 조사를 위해 꾸준히 입력해 주세요.\n"; if(response.dailyRecordAlertDtoList.length > 0){ response.dailyRecordAlertDtoList.forEach((dto) =>{ @@ -847,14 +848,11 @@ dailyNo.push(dateTxt); }); msgTxt += "

1. 일계부 미등록

\n

"+dailyNo.join(',')+"

\n"; + idxPlus ++; } - if(response.monthRecordAlertDtoList.length > 0) { response.monthRecordAlertDtoList.forEach((dto,idx) => { - if(response.dailyRecordAlertDtoList.length > 0){ - idx ++; - } - msgTxt += "

"+idx+". "+dto+"

\n"; + msgTxt += "

"+ (idx+idxPlus+1) +". "+dto+"

\n"; }); }