From fbc578c307da25562ed885451b42b6628f1b1124 Mon Sep 17 00:00:00 2001 From: dyhj625 Date: Fri, 14 Feb 2025 14:50:23 +0900 Subject: [PATCH] =?UTF-8?q?=ED=9C=B4=EA=B0=80=EC=88=98=EC=A0=95,=EB=B2=84?= =?UTF-8?q?=ED=8A=BC=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/custom.css | 23 +-- src/components/button/BackBtn.vue | 12 ++ src/components/button/SaveBtn.vue | 23 +++ src/components/modal/VacationGrantModal.vue | 95 +++++++++++++ src/components/modal/VacationModal.vue | 2 +- src/components/vacation/ProfileList.vue | 16 ++- src/views/board/BoardList.vue | 8 +- src/views/board/BoardWrite.vue | 15 +- src/views/vacation/VacationManagement.vue | 148 +++++++++++++------- 9 files changed, 257 insertions(+), 85 deletions(-) create mode 100644 src/components/button/BackBtn.vue create mode 100644 src/components/button/SaveBtn.vue create mode 100644 src/components/modal/VacationGrantModal.vue diff --git a/public/css/custom.css b/public/css/custom.css index 35ed370..a105678 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -5,30 +5,13 @@ display: block !important; } -.notice-row td { +/* 게시판리스트 */ +.bg-label-gray td { color: #DC3545 !important; } -.notice-row { - background-color: #f8f9fa; -} -.general-row { - background-color: white; - color: black; -} -.clickable-row { - cursor: pointer; -} -.clickable-row:hover { - background-color: #f1f1f1; -} -.new-badge { - font-size: 0.65rem; - padding: 0.2em 0.4em; - vertical-align: middle; -} -/* 휴가*/ +/* 휴가 */ .half-day-buttons { display: flex; justify-content: center; diff --git a/src/components/button/BackBtn.vue b/src/components/button/BackBtn.vue new file mode 100644 index 0000000..ad7bfc2 --- /dev/null +++ b/src/components/button/BackBtn.vue @@ -0,0 +1,12 @@ + + + diff --git a/src/components/button/SaveBtn.vue b/src/components/button/SaveBtn.vue new file mode 100644 index 0000000..7c8068a --- /dev/null +++ b/src/components/button/SaveBtn.vue @@ -0,0 +1,23 @@ + + + diff --git a/src/components/modal/VacationGrantModal.vue b/src/components/modal/VacationGrantModal.vue new file mode 100644 index 0000000..4d66368 --- /dev/null +++ b/src/components/modal/VacationGrantModal.vue @@ -0,0 +1,95 @@ + + + + + diff --git a/src/components/modal/VacationModal.vue b/src/components/modal/VacationModal.vue index 6e90f44..3a183c3 100644 --- a/src/components/modal/VacationModal.vue +++ b/src/components/modal/VacationModal.vue @@ -87,7 +87,7 @@ align-items: center; /* 스크롤 가능한 모달 */ .modal-content { -max-height: 80vh; +max-height: 60vh; overflow-y: auto; padding: 20px; width: 75%; diff --git a/src/components/vacation/ProfileList.vue b/src/components/vacation/ProfileList.vue index 32ffdd5..a0f267e 100644 --- a/src/components/vacation/ProfileList.vue +++ b/src/components/vacation/ProfileList.vue @@ -17,6 +17,9 @@ @error="setDefaultImage" @load="showImage" /> + + {{ remainingVacationData[user.MEMBERSEQ] || 0 }} + @@ -30,6 +33,10 @@ defineEmits(["profileClick"]); + defineProps({ + remainingVacationData: Object, +}); + const userStore = useUserStore(); const userListStore = useUserListStore(); @@ -53,7 +60,6 @@ // 사용자별 색상 저장 userList.value.forEach(user => { userColors.value[user.MEMBERSEQ] = user.usercolor || "#ccc"; - console.log(userColors.value[user.MEMBERSEQ]) }); nextTick(() => { @@ -109,4 +115,12 @@ diff --git a/src/views/board/BoardList.vue b/src/views/board/BoardList.vue index 59f6e90..a5e4135 100644 --- a/src/views/board/BoardList.vue +++ b/src/views/board/BoardList.vue @@ -55,14 +55,14 @@