feat(calendar): 添加日历组件并替换待办事项列表

重构待办事项列表为日历视图,添加@fullcalendar/core依赖
支持营期设置、日期选择和事件展示功能
This commit is contained in:
2025-08-25 15:47:19 +08:00
parent 0347da9cdc
commit 962b430a75
5 changed files with 1002 additions and 691 deletions

View File

@@ -11,6 +11,9 @@ importers:
'@element-plus/icons-vue':
specifier: ^2.3.1
version: 2.3.1(vue@3.5.17(typescript@5.8.3))
'@fullcalendar/core':
specifier: ^6.1.19
version: 6.1.19
axios:
specifier: ^1.10.0
version: 1.10.0
@@ -456,6 +459,9 @@ packages:
'@floating-ui/utils@0.2.10':
resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==}
'@fullcalendar/core@6.1.19':
resolution: {integrity: sha512-z0aVlO5e4Wah6p6mouM0UEqtRf1MZZPt4mwzEyU6kusaNL+dlWQgAasF2cK23hwT4cmxkEmr4inULXgpyeExdQ==}
'@humanfs/core@0.19.1':
resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==}
engines: {node: '>=18.18.0'}
@@ -1676,6 +1682,9 @@ packages:
resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==}
engines: {node: ^10 || ^12 || >=14}
preact@10.12.1:
resolution: {integrity: sha512-l8386ixSsBdbreOAkqtrwqHwdvR35ID8c3rKPa8lCWuO86dBi32QWHV4vfsZK1utLLFMvw+Z5Ad4XLkZzchscg==}
prelude-ls@1.2.1:
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
engines: {node: '>= 0.8.0'}
@@ -2356,6 +2365,10 @@ snapshots:
'@floating-ui/utils@0.2.10': {}
'@fullcalendar/core@6.1.19':
dependencies:
preact: 10.12.1
'@humanfs/core@0.19.1': {}
'@humanfs/node@0.16.6':
@@ -3575,6 +3588,8 @@ snapshots:
picocolors: 1.1.1
source-map-js: 1.2.1
preact@10.12.1: {}
prelude-ls@1.2.1: {}
prettier-linter-helpers@1.0.0: