From 19cb07d9dd8f79cf744c90a8684590c0ea3b9ed0 Mon Sep 17 00:00:00 2001 From: GitHub <2041376447@qq.com> Date: Fri, 27 Dec 2024 00:03:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BA=86router=E8=A1=A8?= =?UTF-8?q?=EF=BC=8C=E5=89=8D=E7=AB=AF=E7=BC=BA=E5=B8=AD=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E5=8D=95=E9=A1=B5=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 1 + public/index.html | 17 ++++ src/router/router.js | 7 +- src/views/AbsentRecord.vue | 162 +++++++++++++++---------------------- 4 files changed, 87 insertions(+), 100 deletions(-) create mode 100644 public/index.html diff --git a/package-lock.json b/package-lock.json index d46b659..b241fe5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -423,6 +423,7 @@ "version": "2.9.1", "resolved": "https://registry.npmmirror.com/element-plus/-/element-plus-2.9.1.tgz", "integrity": "sha512-9Agqf/jt4Ugk7EZ6C5LME71sgkvauPCsnvJN12Xid2XVobjufxMGpRE4L7pS4luJMOmFAH3J0NgYEGZT5r+NDg==", + "license": "MIT", "dependencies": { "@ctrl/tinycolor": "^3.4.1", "@element-plus/icons-vue": "^2.3.1", diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..3e5a139 --- /dev/null +++ b/public/index.html @@ -0,0 +1,17 @@ + + + + + + + + <%= htmlWebpackPlugin.options.title %> + + + +
+ + + diff --git a/src/router/router.js b/src/router/router.js index b2aacc6..14b5703 100644 --- a/src/router/router.js +++ b/src/router/router.js @@ -64,7 +64,12 @@ const routes = [ path: '/studentUpdate', name: '修改学生', component: StudentUpdate - }/* , + }, + { + path: '/absentRecord', + name: '缺寝记录', + component: AbsentRecord + }/* , { path: '/buildingAdd', name: '添加楼宇', diff --git a/src/views/AbsentRecord.vue b/src/views/AbsentRecord.vue index 538bf73..3f6d1eb 100644 --- a/src/views/AbsentRecord.vue +++ b/src/views/AbsentRecord.vue @@ -1,138 +1,102 @@ \ No newline at end of file