|
@@ -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
|
// 改变页码
|