diff --git a/public/css/custom.css b/public/css/custom.css index b950985..a5afec2 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -222,9 +222,6 @@ opacity: 0.6; /* 흐려 보이게 */ right: 1rem; z-index: 2; background-color: #fff !important; - border-radius: 0.5rem; - opacity: 1; - padding: 0.635rem; box-shadow: 0 0.125rem 0.25rem rgba(161, 172, 184, 0.4); transition: all 0.23s ease 0.1s; transform: translate(23px, -25px); @@ -236,4 +233,7 @@ opacity: 0.6; /* 흐려 보이게 */ transform: translate(20px, -20px); } +.end-project { + background-color: #ddd !important; +} /* project list end */ \ No newline at end of file diff --git a/src/components/list/ProjectCard.vue b/src/components/list/ProjectCard.vue index 7af8059..1cddcdc 100644 --- a/src/components/list/ProjectCard.vue +++ b/src/components/list/ProjectCard.vue @@ -1,16 +1,18 @@ diff --git a/src/components/projectlist/ProjectList.vue b/src/components/projectlist/ProjectList.vue index cc10764..d81da4c 100644 --- a/src/components/projectlist/ProjectList.vue +++ b/src/components/projectlist/ProjectList.vue @@ -23,6 +23,7 @@ :projctSeq="post.PROJCTSEQ" :projctCol="post.PROJCTCOL" :projctColor="post.projctcolor" + :projctCreatorId="post.PROJCTCMB" @update="getProjectList" /> @@ -204,21 +205,20 @@ // 등록 :: 주소 업데이트 핸들러 const handleAddressUpdate = (data) => { - addressData.value = data; -}; + addressData.value = data; + }; - // 시작일이나 종료일이 변경될 때마다 종료일을 유효성 검사 + // 종료일이 시작일보다 이전 날짜라면 종료일을 시작일로 맞추기 watch([startDay, endDay], () => { - if (startDay.value && endDay.value) { - const start = new Date(startDay.value); - const end = new Date(endDay.value); + if (startDay.value && endDay.value) { + const start = new Date(startDay.value); + const end = new Date(endDay.value); - // 종료일이 시작일보다 이전 날짜라면 종료일을 시작일로 맞추기 - if (end < start) { - endDay.value = startDay.value; + if (end < start) { + endDay.value = startDay.value; + } } - } - }); + }, { flush: 'post' }); // 프로젝트 등록 const handleCreate = async () => { @@ -240,7 +240,7 @@ projctArr: addressData.value.address, projctDtl: addressData.value.detailAddress, projctZip: addressData.value.postcode, - projctCmb: user.value.name, + projctCmb: user.value.id, }).then(res => { if (res.status === 200) { toastStore.onToast('프로젝트가 등록되었습니다.', 's'); diff --git a/src/components/user/UserList.vue b/src/components/user/UserList.vue index f921ce3..19c37be 100644 --- a/src/components/user/UserList.vue +++ b/src/components/user/UserList.vue @@ -1,11 +1,12 @@