From 77ad0bd22ac354d969c30a1693fd96e083d06cde Mon Sep 17 00:00:00 2001 From: YueL1331 <358700404@qq.com> Date: Mon, 19 Jan 2026 19:34:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E5=B1=95=E7=A4=BA=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Vue/frontend/package-lock.json | 12 + Vue/frontend/package.json | 1 + Vue/frontend/src/layouts/MainLayout.vue | 229 +++++++++- Vue/frontend/src/views/Dashboard.vue | 579 ++++++++++++++++++++++-- 4 files changed, 777 insertions(+), 44 deletions(-) diff --git a/Vue/frontend/package-lock.json b/Vue/frontend/package-lock.json index 084e53d..42f576e 100644 --- a/Vue/frontend/package-lock.json +++ b/Vue/frontend/package-lock.json @@ -9,6 +9,7 @@ "version": "0.0.0", "dependencies": { "axios": "^1.13.2", + "dayjs": "^1.11.19", "pinia": "^3.0.4", "vue": "^3.5.24", "vue-router": "^4.6.4" @@ -1029,6 +1030,12 @@ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==" }, + "node_modules/dayjs": { + "version": "1.11.19", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.19.tgz", + "integrity": "sha512-t5EcLVS6QPBNqM2z8fakk/NKel+Xzshgt8FFKAn+qwlD1pzZWxh0nVCrvFK7ZDb6XucZeF9z8C7CBWTRIVApAw==", + "license": "MIT" + }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -2264,6 +2271,11 @@ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==" }, + "dayjs": { + "version": "1.11.19", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.19.tgz", + "integrity": "sha512-t5EcLVS6QPBNqM2z8fakk/NKel+Xzshgt8FFKAn+qwlD1pzZWxh0nVCrvFK7ZDb6XucZeF9z8C7CBWTRIVApAw==" + }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", diff --git a/Vue/frontend/package.json b/Vue/frontend/package.json index 27f8661..eae5d22 100644 --- a/Vue/frontend/package.json +++ b/Vue/frontend/package.json @@ -10,6 +10,7 @@ }, "dependencies": { "axios": "^1.13.2", + "dayjs": "^1.11.19", "pinia": "^3.0.4", "vue": "^3.5.24", "vue-router": "^4.6.4" diff --git a/Vue/frontend/src/layouts/MainLayout.vue b/Vue/frontend/src/layouts/MainLayout.vue index 3e9a919..19905f7 100644 --- a/Vue/frontend/src/layouts/MainLayout.vue +++ b/Vue/frontend/src/layouts/MainLayout.vue @@ -1,22 +1,53 @@