From d5bc26e5a6d583fb3e9607f7ef7b1580843240cf Mon Sep 17 00:00:00 2001 From: "MJM_2025_05\\polly" Date: Fri, 5 Sep 2025 17:28:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E4=BB=8A=E6=97=A5?= =?UTF-8?q?=E6=B4=BB=E5=8B=95=E8=A1=8C=E4=BA=8B=E6=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 74 +++++ package.json | 6 + src/layouts/HeadquarterLayout.vue | 6 +- src/layouts/MapLayout.vue | 2 +- src/layouts/NavBar.vue | 20 +- src/pages/home/index.vue | 515 +++++++++++++++++++++--------- src/pages/nursing/index.vue | 2 +- src/pages/operation/index.vue | 2 +- src/style.css | 4 + 9 files changed, 466 insertions(+), 165 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8214a7b..f871c6a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,12 @@ "name": "uark_front", "version": "0.0.0", "dependencies": { + "@fullcalendar/core": "^6.1.19", + "@fullcalendar/daygrid": "^6.1.19", + "@fullcalendar/interaction": "^6.1.19", + "@fullcalendar/list": "^6.1.19", + "@fullcalendar/timegrid": "^6.1.19", + "@fullcalendar/vue3": "^6.1.19", "axios": "^1.11.0", "echarts": "^6.0.0", "leaflet": "^1.9.4", @@ -534,6 +540,64 @@ "node": ">=18" } }, + "node_modules/@fullcalendar/core": { + "version": "6.1.19", + "resolved": "https://registry.npmjs.org/@fullcalendar/core/-/core-6.1.19.tgz", + "integrity": "sha512-z0aVlO5e4Wah6p6mouM0UEqtRf1MZZPt4mwzEyU6kusaNL+dlWQgAasF2cK23hwT4cmxkEmr4inULXgpyeExdQ==", + "license": "MIT", + "dependencies": { + "preact": "~10.12.1" + } + }, + "node_modules/@fullcalendar/daygrid": { + "version": "6.1.19", + "resolved": "https://registry.npmjs.org/@fullcalendar/daygrid/-/daygrid-6.1.19.tgz", + "integrity": "sha512-IAAfnMICnVWPjpT4zi87i3FEw0xxSza0avqY/HedKEz+l5MTBYvCDPOWDATpzXoLut3aACsjktIyw9thvIcRYQ==", + "license": "MIT", + "peerDependencies": { + "@fullcalendar/core": "~6.1.19" + } + }, + "node_modules/@fullcalendar/interaction": { + "version": "6.1.19", + "resolved": "https://registry.npmjs.org/@fullcalendar/interaction/-/interaction-6.1.19.tgz", + "integrity": "sha512-GOciy79xe8JMVp+1evAU3ytdwN/7tv35t5i1vFkifiuWcQMLC/JnLg/RA2s4sYmQwoYhTw/p4GLcP0gO5B3X5w==", + "license": "MIT", + "peerDependencies": { + "@fullcalendar/core": "~6.1.19" + } + }, + "node_modules/@fullcalendar/list": { + "version": "6.1.19", + "resolved": "https://registry.npmjs.org/@fullcalendar/list/-/list-6.1.19.tgz", + "integrity": "sha512-knZHpAVF0LbzZpSJSUmLUUzF0XlU/MRGK+Py2s0/mP93bCtno1k2L3XPs/kzh528hSjehwLm89RgKTSfW1P6cA==", + "license": "MIT", + "peerDependencies": { + "@fullcalendar/core": "~6.1.19" + } + }, + "node_modules/@fullcalendar/timegrid": { + "version": "6.1.19", + "resolved": "https://registry.npmjs.org/@fullcalendar/timegrid/-/timegrid-6.1.19.tgz", + "integrity": "sha512-OuzpUueyO9wB5OZ8rs7TWIoqvu4v3yEqdDxZ2VcsMldCpYJRiOe7yHWKr4ap5Tb0fs7Rjbserc/b6Nt7ol6BRg==", + "license": "MIT", + "dependencies": { + "@fullcalendar/daygrid": "~6.1.19" + }, + "peerDependencies": { + "@fullcalendar/core": "~6.1.19" + } + }, + "node_modules/@fullcalendar/vue3": { + "version": "6.1.19", + "resolved": "https://registry.npmjs.org/@fullcalendar/vue3/-/vue3-6.1.19.tgz", + "integrity": "sha512-j5eUSxx0xIy3ADljo0f5B9PhjqXnCQ+7nUMPfsslc2eGVjp4F74YvY3dyd6OBbg13IvpsjowkjncGipYMQWmTA==", + "license": "MIT", + "peerDependencies": { + "@fullcalendar/core": "~6.1.19", + "vue": "^3.0.11" + } + }, "node_modules/@isaacs/cliui": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", @@ -2561,6 +2625,16 @@ "dev": true, "license": "MIT" }, + "node_modules/preact": { + "version": "10.12.1", + "resolved": "https://registry.npmjs.org/preact/-/preact-10.12.1.tgz", + "integrity": "sha512-l8386ixSsBdbreOAkqtrwqHwdvR35ID8c3rKPa8lCWuO86dBi32QWHV4vfsZK1utLLFMvw+Z5Ad4XLkZzchscg==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/preact" + } + }, "node_modules/proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", diff --git a/package.json b/package.json index da2364a..d4f4c08 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,12 @@ "preview": "vite preview" }, "dependencies": { + "@fullcalendar/core": "^6.1.19", + "@fullcalendar/daygrid": "^6.1.19", + "@fullcalendar/interaction": "^6.1.19", + "@fullcalendar/list": "^6.1.19", + "@fullcalendar/timegrid": "^6.1.19", + "@fullcalendar/vue3": "^6.1.19", "axios": "^1.11.0", "echarts": "^6.0.0", "leaflet": "^1.9.4", diff --git a/src/layouts/HeadquarterLayout.vue b/src/layouts/HeadquarterLayout.vue index e7a9f19..c2c9ec5 100644 --- a/src/layouts/HeadquarterLayout.vue +++ b/src/layouts/HeadquarterLayout.vue @@ -1,8 +1,8 @@ diff --git a/src/layouts/MapLayout.vue b/src/layouts/MapLayout.vue index f0c79af..79c0c64 100644 --- a/src/layouts/MapLayout.vue +++ b/src/layouts/MapLayout.vue @@ -14,7 +14,7 @@
- +
diff --git a/src/layouts/NavBar.vue b/src/layouts/NavBar.vue index 4391352..59a205d 100644 --- a/src/layouts/NavBar.vue +++ b/src/layouts/NavBar.vue @@ -530,19 +530,13 @@ const triggerRef = ref(null); const panelRef = ref(null); const facilities = [ - "崇恩護理之家", - "崇祐護理之家", - "護祐護理之家", - "育祐護理之家", - "崇智護理之家", - "崇恩居家護理所", - "傳心日間照顧中心", - "敬慈居家服務中心", - "崇恩長照中心(養護型)", - "崇祐長照中心(養護型)", - "傳祐長照中心(養護型)", - "慈祐長照中心(養護型)", - "中安崇恩長照中心(養護型)", + "A 機構", + "B 機構", + "C 機構", + "D 機構", + "E 機構", + "F 機構", + ]; const selectedItem = ref(facilities[0]); diff --git a/src/pages/home/index.vue b/src/pages/home/index.vue index 1fb23aa..65e6dbf 100644 --- a/src/pages/home/index.vue +++ b/src/pages/home/index.vue @@ -1,6 +1,6 @@