From 52b591a6d557bca1462fa6745bb21525b1dd9129 Mon Sep 17 00:00:00 2001 From: Zhang HaoYang <1304907854@qq.com> Date: Tue, 11 Jul 2023 15:31:36 +0800 Subject: [PATCH] gengx --- src/components/Monthly/Monthly.vue | 1 + src/components/System/AdminAside.vue | 1 + src/components/System/AdminHome.vue | 22 +- .../System/Manage/oneFileManage.vue | 239 ++++++++++++++++++ src/router/index.js | 7 + 5 files changed, 259 insertions(+), 11 deletions(-) create mode 100644 src/components/System/Manage/oneFileManage.vue diff --git a/src/components/Monthly/Monthly.vue b/src/components/Monthly/Monthly.vue index 95e70e3..73e9612 100644 --- a/src/components/Monthly/Monthly.vue +++ b/src/components/Monthly/Monthly.vue @@ -335,6 +335,7 @@ export default { width:450px; background-image: url("../../assets/images/最新月刊.png"); } + .card_style{ height:390px; font-size: 18px; diff --git a/src/components/System/AdminAside.vue b/src/components/System/AdminAside.vue index 0be8a5b..51e77b1 100644 --- a/src/components/System/AdminAside.vue +++ b/src/components/System/AdminAside.vue @@ -28,6 +28,7 @@ 文章管理 标签管理 评论管理 + oneFile管理 diff --git a/src/components/System/AdminHome.vue b/src/components/System/AdminHome.vue index aa0ad0b..50bf876 100644 --- a/src/components/System/AdminHome.vue +++ b/src/components/System/AdminHome.vue @@ -157,11 +157,11 @@
- - 日期统计 - 月度统计 - 年度统计 - + + + + +
@@ -328,13 +328,13 @@ export default { that.date=res.data.Date; that.Month=res.data.Month; that.Year=res.data.Year; - Object.keys(that.date).forEach(key=>{ - that.datecate.push(that.date[key]['date']); - let num = parseInt(that.date[key]['num']); - let datefac = {"value":num,"date":that.date[key]['date'],"type":"line"}; - console.log(datefac); + console.log(that.date); + for(let i=0;i +
+
+
+
用户管理
+
+
+ +
+ + + + + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 5f61f7b..4aa92d7 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -21,6 +21,7 @@ import categoryManage from "@/components/System/Manage/categoryManage.vue"; import articleManage from "@/components/System/Manage/articleManage.vue"; import OneFile from "@/components/OneFile/OneFile.vue"; import OneFileDetail from "@/components/OneFile/OneFileDetail.vue"; +import oneFileManage from "@/components/System/Manage/oneFileManage.vue"; const originalPush = VueRouter.prototype.push VueRouter.prototype.push = function push(location) { return originalPush.call(this, location).catch(err => err) @@ -111,6 +112,12 @@ const routes = [ meta: {title: '首页'}, component: AdminHome }, + { + path: '/oneFileManage', + name: 'oneFileManage', + meta: {title: 'oneFile管理'}, + component: oneFileManage + }, { path: '/systemManage', meta: {title: '系统管理'},