diff --git a/src/components/board/BoardComment.vue b/src/components/board/BoardComment.vue index c34b6d0..e2f1722 100644 --- a/src/components/board/BoardComment.vue +++ b/src/components/board/BoardComment.vue @@ -17,12 +17,13 @@ @updateReaction="handleUpdateReaction" /> -
+
@@ -122,9 +123,9 @@ 'update:password', ]); - const filterInput = (event) => { - event.target.value = event.target.value.replace(/\s/g, ""); // 공백 제거 - emit("update:password", event.target.value); + const filterInput = event => { + event.target.value = event.target.value.replace(/\s/g, ''); // 공백 제거 + emit('update:password', event.target.value); }; const localEditedContent = ref(props.comment.content); diff --git a/src/components/board/BoardCommentArea.vue b/src/components/board/BoardCommentArea.vue index fcfd8e3..ee41350 100644 --- a/src/components/board/BoardCommentArea.vue +++ b/src/components/board/BoardCommentArea.vue @@ -41,6 +41,7 @@ type="password" id="basic-default-password" class="form-control flex-grow-1" + autocomplete="new-password" v-model="password" placeholder="비밀번호 입력" @input="passwordAlertTextHandler" @@ -103,8 +104,8 @@ textAlert.value = ''; }; - const passwordAlertTextHandler = (event) => { - event.target.value = event.target.value.replace(/\s/g, ""); + const passwordAlertTextHandler = event => { + event.target.value = event.target.value.replace(/\s/g, ''); passwordAlert2.value = ''; }; diff --git a/src/components/board/BoardProfile.vue b/src/components/board/BoardProfile.vue index f86ec1c..c9c5306 100644 --- a/src/components/board/BoardProfile.vue +++ b/src/components/board/BoardProfile.vue @@ -20,8 +20,10 @@
diff --git a/src/components/button/EditBtn.vue b/src/components/button/EditBtn.vue index 89e8307..5ee75a7 100644 --- a/src/components/button/EditBtn.vue +++ b/src/components/button/EditBtn.vue @@ -1,39 +1,40 @@ diff --git a/src/components/vacation/ProfileList.vue b/src/components/vacation/ProfileList.vue index 2c79ea9..fcab2a4 100644 --- a/src/components/vacation/ProfileList.vue +++ b/src/components/vacation/ProfileList.vue @@ -74,16 +74,13 @@ nextTick(() => { const sortedUserList = computed(() => { if (!employeeId.value) return []; - // 관리자가 아닌 사용자만 필터링 - const nonAdminUsers = userList.value.filter(user => user.MEMBERROL !== "ROLE_ADMIN"); - - const myProfile = nonAdminUsers.find(user => user.MEMBERSEQ === employeeId.value); - const otherUsers = nonAdminUsers.filter(user => user.MEMBERSEQ !== employeeId.value); + // 모든 사용자 포함 (관리자 필터링 제거) + const myProfile = userList.value.find(user => user.MEMBERSEQ === employeeId.value); + const otherUsers = userList.value.filter(user => user.MEMBERSEQ !== employeeId.value); return myProfile ? [myProfile, ...otherUsers] : otherUsers; }); - const getUserProfileImage = (profilePath) => profilePath && profilePath.trim() ? `${baseUrl}upload/img/profile/${profilePath}` : defaultProfile; diff --git a/src/components/voteboard/voteCardCheckList.vue b/src/components/voteboard/voteCardCheckList.vue index 9f6aa6f..889dbe0 100644 --- a/src/components/voteboard/voteCardCheckList.vue +++ b/src/components/voteboard/voteCardCheckList.vue @@ -10,7 +10,8 @@ @change="handleChange" > {{ data.LOCVOTCON }} - +
+
{{ data.LOCVOTLIK }} @@ -54,5 +55,10 @@ const handleChange = (event) => { diff --git a/src/components/voteboard/voteLinkInput.vue b/src/components/voteboard/voteLinkInput.vue index fb9cd0c..ee65244 100644 --- a/src/components/voteboard/voteLinkInput.vue +++ b/src/components/voteboard/voteLinkInput.vue @@ -6,21 +6,22 @@
-
- {{ link }} + + {{ link }} +
@@ -60,4 +61,10 @@ display: flex; align-items: center; gap: 8px; /* 아이콘과 입력창 간격 조정 */ } +a { + max-width: 500px; /* 원하는 너비로 조정 */ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} diff --git a/src/views/board/BoardView.vue b/src/views/board/BoardView.vue index e918796..6caf0f3 100644 --- a/src/views/board/BoardView.vue +++ b/src/views/board/BoardView.vue @@ -26,7 +26,7 @@ user.MEMBERROL !== "ROLE_ADMIN"); - - // 필터링된 리스트를 userList에 반영 - userList.value = [...filteredUsers]; + userList.value = [...userListStore.userList]; if (!userList.value.length) { console.warn("📌 사용자 목록이 비어 있음!"); diff --git a/src/views/voteboard/voteBoardList.vue b/src/views/voteboard/voteBoardList.vue index 678ae89..0f5dd38 100644 --- a/src/views/voteboard/voteBoardList.vue +++ b/src/views/voteboard/voteBoardList.vue @@ -15,7 +15,7 @@
-
❌❌등록된 투표가 없습니다.❌❌
+
등록된 투표가 없습니다.