From e27425d773a5d3e9a70416250262176d3f26fe9f Mon Sep 17 00:00:00 2001 From: yoon Date: Sat, 22 Feb 2025 17:54:54 +0900 Subject: [PATCH 01/12] =?UTF-8?q?=EA=B2=8C=EC=8B=9C=EB=AC=BC=20=EC=97=86?= =?UTF-8?q?=EC=9D=84=20=EB=95=8C=20=EB=A9=98=ED=8A=B8=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/projectlist/ProjectList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/projectlist/ProjectList.vue b/src/components/projectlist/ProjectList.vue index 4975995..6841e08 100644 --- a/src/components/projectlist/ProjectList.vue +++ b/src/components/projectlist/ProjectList.vue @@ -8,7 +8,7 @@
-

게시물이 없습니다.

+

등록된 프로젝트가 없습니다.

From 09e79cb6904fb67c0de1207dbbd232dec58f054b Mon Sep 17 00:00:00 2001 From: dyhj625 Date: Mon, 24 Feb 2025 13:58:48 +0900 Subject: [PATCH 02/12] =?UTF-8?q?=ED=9C=B4=EA=B0=80=20=EC=84=A0=ED=83=9D?= =?UTF-8?q?=20=ED=99=9C=EC=84=B1=ED=99=94=20=EC=88=98=EC=A0=95=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/vacation/VacationManagement.vue | 261 ++++++++++++---------- 1 file changed, 140 insertions(+), 121 deletions(-) diff --git a/src/views/vacation/VacationManagement.vue b/src/views/vacation/VacationManagement.vue index a9b56e4..5124a05 100644 --- a/src/views/vacation/VacationManagement.vue +++ b/src/views/vacation/VacationManagement.vue @@ -4,29 +4,29 @@
- - - - From 447d3807534c1317b20f0c0ae148f23b11ddef32 Mon Sep 17 00:00:00 2001 From: yoon Date: Mon, 24 Feb 2025 14:54:41 +0900 Subject: [PATCH 03/12] =?UTF-8?q?kakao=20map=20api=20key=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.env.dev b/.env.dev index 99081c1..f608ba3 100644 --- a/.env.dev +++ b/.env.dev @@ -2,4 +2,5 @@ VITE_DOMAIN = http://localhost:5173/ # VITE_LOGIN_URL = http://localhost:10325/ms/ # VITE_FILE_URL = http://localhost:10325/ms/ # VITE_API_URL = http://localhost:10325/api/ -VITE_API_URL = http://localhost:10325/test/ \ No newline at end of file +VITE_API_URL = http://localhost:10325/test/ +VITE_KAKAO_MAP_KEY=6f092e8f45ee81186bb6d8408f66a492 \ No newline at end of file From b4bde4313301dc1b08f5a545b2ea5a3651cda1fb Mon Sep 17 00:00:00 2001 From: yoon Date: Mon, 24 Feb 2025 14:54:58 +0900 Subject: [PATCH 04/12] =?UTF-8?q?kakao-maps=20=EB=9D=BC=EC=9D=B4=EB=B8=8C?= =?UTF-8?q?=EB=9F=AC=EB=A6=AC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 18 +++++++++++++++++- package.json | 3 ++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index a398f1c..8e2f1c1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,8 @@ "vite-plugin-mkcert": "^1.17.6", "vue": "^3.5.13", "vue-flatpickr-component": "^11.0.5", - "vue-router": "^4.4.5" + "vue-router": "^4.4.5", + "vue3-kakao-maps": "^2.3.10" }, "devDependencies": { "@eslint/js": "^9.14.0", @@ -2544,6 +2545,12 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/kakao.maps.d.ts": { + "version": "0.1.40", + "resolved": "https://registry.npmjs.org/kakao.maps.d.ts/-/kakao.maps.d.ts-0.1.40.tgz", + "integrity": "sha512-nX69MB1ok04epe3OqS+/tEeWBbU31GSQbvDPJmQRRltzzqn6t4jBsO5v1nzalUjCKzwcH2CptOc767NZ7Hbu3g==", + "license": "MIT" + }, "node_modules/keyv": { "version": "4.5.4", "dev": true, @@ -4142,6 +4149,15 @@ "version": "6.6.4", "license": "MIT" }, + "node_modules/vue3-kakao-maps": { + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/vue3-kakao-maps/-/vue3-kakao-maps-2.3.10.tgz", + "integrity": "sha512-vzzxvdw1ZtyID4clA/LFg++Qf1uTq49ksnL3ejqbp/rB+WVRrulSQ0ja+L929VFehbQY628lJPsp9KwxC6VrNA==", + "license": "MIT", + "dependencies": { + "kakao.maps.d.ts": "^0.1.39" + } + }, "node_modules/which": { "version": "2.0.2", "dev": true, diff --git a/package.json b/package.json index 52c9503..2b5c030 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,8 @@ "vite-plugin-mkcert": "^1.17.6", "vue": "^3.5.13", "vue-flatpickr-component": "^11.0.5", - "vue-router": "^4.4.5" + "vue-router": "^4.4.5", + "vue3-kakao-maps": "^2.3.10" }, "devDependencies": { "@eslint/js": "^9.14.0", From efa23d871f917eea2a4b89c7924305daef6702a0 Mon Sep 17 00:00:00 2001 From: yoon Date: Mon, 24 Feb 2025 14:55:16 +0900 Subject: [PATCH 05/12] =?UTF-8?q?=EC=B9=B4=EC=B9=B4=EC=98=A4=20=EB=A7=B5?= =?UTF-8?q?=20=EC=82=AC=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 05f6a5c..ccdad3b 100644 --- a/src/main.js +++ b/src/main.js @@ -6,10 +6,15 @@ import router from '@/router' import dayjs from '@p/dayjs' import ToastModal from '@c/modal/ToastModal.vue'; import common from '@/common/common.js' - +import { useKakao } from 'vue3-kakao-maps/@utils' + const pinia = createPinia() pinia.use(piniaPersist) +const kakaoApiKey = import.meta.env.VITE_KAKAO_MAP_KEY; + +useKakao(kakaoApiKey, ['services']) + const app = createApp(App) app.use(router) .use(pinia) From cd5d52557593682d155a8c451248430c3b76bc49 Mon Sep 17 00:00:00 2001 From: yoon Date: Mon, 24 Feb 2025 14:55:36 +0900 Subject: [PATCH 06/12] =?UTF-8?q?=ED=94=84=EB=A1=9C=EC=A0=9D=ED=8A=B8=20?= =?UTF-8?q?=EB=AA=A9=EB=A1=9D=20=EC=A7=80=EB=8F=84=20=EA=B4=80=EB=A0=A8=20?= =?UTF-8?q?css=20=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 | 59 +++++++++++++++++++++++++++++++++++++------ 1 file changed, 51 insertions(+), 8 deletions(-) diff --git a/public/css/custom.css b/public/css/custom.css index c4bb01d..17633c9 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -44,13 +44,56 @@ margin-right: auto; } - .grayscaleImg { - filter: grayscale(100%); - } +.grayscaleImg { + filter: grayscale(100%); +} - - /* scrollbar 안보이게 */ - .scrollbar-none { - scrollbar-width: none; +/* scrollbar 안보이게 */ +.scrollbar-none { + scrollbar-width: none; +} + +/* project list */ + +.map { + top: -160px; + left: -5px; +} + +@keyframes sparkle { + 0% { + color: #ffcc00; } - \ No newline at end of file + 50% { + color: red; + } + 100% { + color: #ffcc00; + } +} + +.bxs-map { + animation: sparkle 1s infinite; /* 1초마다 반복 */ +} + +.popover-close { + position: absolute; + top: 1rem; + 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); +} + +.popover-close:hover { + opacity: 1; + outline: none; + transform: translate(20px, -20px); +} + +/* project list end */ \ No newline at end of file From 99d95cf5a1ac490ad3fa4bb0606a6f855d889719 Mon Sep 17 00:00:00 2001 From: yoon Date: Mon, 24 Feb 2025 14:55:55 +0900 Subject: [PATCH 07/12] =?UTF-8?q?=EC=A3=BC=EC=86=8C=20=EC=A7=80=EB=8F=84?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/list/ProjectCard.vue | 96 ++++++++++++++++++---- src/components/projectlist/ProjectList.vue | 7 +- 2 files changed, 85 insertions(+), 18 deletions(-) diff --git a/src/components/list/ProjectCard.vue b/src/components/list/ProjectCard.vue index 25195a1..4ee953d 100644 --- a/src/components/list/ProjectCard.vue +++ b/src/components/list/ProjectCard.vue @@ -26,25 +26,57 @@
- -
주소
-
{{ address }}
+
+ +
주소
+
+
+ {{ address }} {{ addressdtail }} + +
+ +
+
+ + + +
+
+
+
- + @@ -55,10 +87,11 @@ diff --git a/src/components/projectlist/ProjectList.vue b/src/components/projectlist/ProjectList.vue index 6841e08..9157c79 100644 --- a/src/components/projectlist/ProjectList.vue +++ b/src/components/projectlist/ProjectList.vue @@ -17,7 +17,8 @@ :description="post.PROJCTDES" :strdate="post.PROJCTSTR" :enddate="post.PROJCTEND" - :address="post.PROJCTARR + ' ' + post.PROJCTDTL" + :address="post.PROJCTARR" + :addressdtail="post.PROJCTDTL" :projctSeq="post.PROJCTSEQ" :projctCol="post.projctcolor" /> @@ -258,6 +259,7 @@ const handleAddressUpdate = addressData => { postcode.value = addressData.postcode; }; +// 프로젝트 등록 const handleCreate = async () => { nameAlert.value = name.value.trim() === ''; addressAlert.value = address.value.trim() === ''; @@ -330,6 +332,7 @@ const updateAddress = (addressData) => { }; }; +// 프로젝트 수정 const handleUpdate = () => { if (!hasChanges.value) { toastStore.onToast('변경된 내용이 없습니다.', 'e'); @@ -345,7 +348,7 @@ const handleUpdate = () => { projctZip: selectedProject.value.PROJCTZIP, projctStr: selectedProject.value.PROJCTSTR, projctEnd: selectedProject.value.PROJCTEND || null, - projctDes: selectedProject.value.PROJCTDES, + projctDes: selectedProject.value.PROJCTDES || null, projctUmb: user.value.name, originalColor: originalColor.value === selectedProject.value.PROJCTCOL ? null : originalColor.value }).then(res => { From 10692e9ddda69cd29d5b02fa84289930a49f1ed7 Mon Sep 17 00:00:00 2001 From: yoon Date: Mon, 24 Feb 2025 15:25:17 +0900 Subject: [PATCH 08/12] =?UTF-8?q?=EC=97=94=ED=84=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/user/LoginForm.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/user/LoginForm.vue b/src/components/user/LoginForm.vue index 90b4859..caea1af 100644 --- a/src/components/user/LoginForm.vue +++ b/src/components/user/LoginForm.vue @@ -1,4 +1,5 @@ From d4682bc362458b16bb4aeb439570e0cd6e144f5e Mon Sep 17 00:00:00 2001 From: yoon Date: Mon, 24 Feb 2025 15:44:47 +0900 Subject: [PATCH 11/12] =?UTF-8?q?=ED=94=84=EB=A1=9C=ED=95=84=20=EC=9D=B4?= =?UTF-8?q?=EB=AF=B8=EC=A7=80=20=EB=86=92=EC=9D=B4=20=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/TheTop.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/TheTop.vue b/src/layouts/TheTop.vue index 9957c39..9d219e8 100644 --- a/src/layouts/TheTop.vue +++ b/src/layouts/TheTop.vue @@ -152,7 +152,7 @@