|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="container">
|
|
|
+ <div class="container main">
|
|
|
<save-form
|
|
|
inline
|
|
|
:model="search"
|
|
@@ -43,13 +43,13 @@
|
|
|
<!-- 这里显示选项卡 -->
|
|
|
<empty desc="暂无统计数据" v-if="isEmpty" />
|
|
|
<el-row v-else class="rows" :gutter="20">
|
|
|
- <el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
|
|
|
+ <el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="8">
|
|
|
<studentbaseinfo :data="dataInfo" />
|
|
|
</el-col>
|
|
|
- <el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
|
|
|
+ <el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="8">
|
|
|
<operate :data="dataInfo" />
|
|
|
</el-col>
|
|
|
- <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
|
|
|
+ <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="8">
|
|
|
<hrdata :data="dataInfo" />
|
|
|
</el-col>
|
|
|
<!-- <el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
|
|
@@ -221,20 +221,18 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
resetDate(data) {
|
|
|
- let arr = null
|
|
|
- for(let item in data){
|
|
|
+ let arr = null;
|
|
|
+ for (let item in data) {
|
|
|
// console.log(item)
|
|
|
- if(item =='VIP_GROUP_COURSE'){
|
|
|
- console.log(data[item])
|
|
|
- arr = data[item].indexMonthData
|
|
|
+ if (item == "VIP_GROUP_COURSE") {
|
|
|
+ console.log(data[item]);
|
|
|
+ arr = data[item].indexMonthData;
|
|
|
}
|
|
|
- this.dataInfo[item] = data[item]
|
|
|
-
|
|
|
+ this.dataInfo[item] = data[item];
|
|
|
}
|
|
|
|
|
|
-
|
|
|
// console.log(this.dataInfo)
|
|
|
- this.dataInfo = {...this.dataInfo};
|
|
|
+ this.dataInfo = { ...this.dataInfo };
|
|
|
},
|
|
|
},
|
|
|
};
|
|
@@ -257,6 +255,18 @@ export default {
|
|
|
}
|
|
|
</style>
|
|
|
<style lang="scss">
|
|
|
+.main {
|
|
|
+ .statistic {
|
|
|
+ .statistic-content > span {
|
|
|
+ font-size: 22px !important;
|
|
|
+ &:first-child{
|
|
|
+ font-size: 14px !important;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
.box {
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
@@ -275,7 +285,7 @@ export default {
|
|
|
flex-direction: row;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
- color: #888;
|
|
|
- font-size: 14px;
|
|
|
+ color: #888;
|
|
|
+ font-size: 14px;
|
|
|
}
|
|
|
</style>
|