李志伟 3 年前
父节点
当前提交
10883d3c68
共有 3 个文件被更改,包括 10 次插入2 次删除
  1. 二进制
      src/icons/logobottom.png
  2. 4
    1
      src/layout/components/AppMain.vue
  3. 6
    1
      src/views/dashboard/index.vue

二进制
src/icons/logobottom.png 查看文件


+ 4
- 1
src/layout/components/AppMain.vue 查看文件

@@ -1,8 +1,11 @@
1 1
 <template>
2 2
   <section class="app-main">
3 3
     <transition name="fade-transform" mode="out-in">
4
-      <router-view :key="key" />
4
+      <router-view :key="key" style="margin-bottom:70px" />
5 5
     </transition>
6
+    <div style="position:absolute; bottom:0; right:calc(50% - 111px)">
7
+      <img src="../../icons/logobottom.png" style="">
8
+    </div>
6 9
   </section>
7 10
 </template>
8 11
 

+ 6
- 1
src/views/dashboard/index.vue 查看文件

@@ -6,6 +6,7 @@
6 6
         <statistic title="学员总数" :value="total.reg" />
7 7
       </el-col>
8 8
     </el-row>
9
+
9 10
     <el-row class="sec" type="flex" justify="space-between" :gutter="20">
10 11
       <el-col :span="12">
11 12
         <el-card style="height:488px">
@@ -46,6 +47,7 @@
46 47
         </el-card>
47 48
       </el-col>
48 49
     </el-row>
50
+
49 51
     <el-row class="sec" type="flex" justify="space-between" :gutter="20">
50 52
       <el-col :span="12">
51 53
         <el-card>
@@ -112,7 +114,7 @@
112 114
 import { mapGetters } from 'vuex'
113 115
 import { getSchoolTermList } from '@/api/schoolTerm'
114 116
 import { getSchoolClassList } from '@/api/schoolClass'
115
-import { getStudentTermTotalList, getStudentclassTotalList } from '@/api/dashboard'
117
+import { getStudentTermTotalList, getStudentclassTotalList, getStudentAgeTotalList } from '@/api/dashboard'
116 118
 
117 119
 export default {
118 120
   name: 'Dashboard',
@@ -270,6 +272,9 @@ export default {
270 272
       this.termData.push(arr1)
271 273
       this.termData.push(arr2)
272 274
     })
275
+    getStudentAgeTotalList().then((res) => {
276
+
277
+    })
273 278
   },
274 279
   methods: {
275 280
     // 改变页码