|
@@ -75,10 +75,10 @@
|
|
/>
|
|
/>
|
|
</el-col>
|
|
</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="24">
|
|
- <curriculum :data="dataInfo" :search="search" @resetDate="resetDate" />
|
|
|
|
|
|
+ <curriculum :data="dataInfo" ref="curriculum" :search="search" @resetDate="resetDate" />
|
|
</el-col>
|
|
</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="24">
|
|
- <student :data="dataInfo" :search="search" @resetDate="resetDate" />
|
|
|
|
|
|
+ <student :data="dataInfo" ref="student" :search="search" @resetDate="resetDate" />
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
<!-- <el-col :xs="24" :sm="24" :md="12">
|
|
<!-- <el-col :xs="24" :sm="24" :md="12">
|
|
@@ -196,6 +196,7 @@ export default {
|
|
this.FetchDetail();
|
|
this.FetchDetail();
|
|
},
|
|
},
|
|
async FetchDetail() {
|
|
async FetchDetail() {
|
|
|
|
+ // 这里改变就通知子组件重置
|
|
const data = {};
|
|
const data = {};
|
|
try {
|
|
try {
|
|
const { dates, ...rest } = this.search;
|
|
const { dates, ...rest } = this.search;
|
|
@@ -213,6 +214,7 @@ export default {
|
|
console.log(error);
|
|
console.log(error);
|
|
}
|
|
}
|
|
this.dataInfo = data;
|
|
this.dataInfo = data;
|
|
|
|
+
|
|
if (this.$refs.business) {
|
|
if (this.$refs.business) {
|
|
this.$refs["business"].init();
|
|
this.$refs["business"].init();
|
|
}
|
|
}
|
|
@@ -225,7 +227,6 @@ export default {
|
|
for (let item in data) {
|
|
for (let item in data) {
|
|
// console.log(item)
|
|
// console.log(item)
|
|
if (item == "VIP_GROUP_COURSE") {
|
|
if (item == "VIP_GROUP_COURSE") {
|
|
- console.log(data[item]);
|
|
|
|
arr = data[item].indexMonthData;
|
|
arr = data[item].indexMonthData;
|
|
}
|
|
}
|
|
this.dataInfo[item] = data[item];
|
|
this.dataInfo[item] = data[item];
|
|
@@ -259,11 +260,10 @@ export default {
|
|
.statistic {
|
|
.statistic {
|
|
.statistic-content > span {
|
|
.statistic-content > span {
|
|
font-size: 22px !important;
|
|
font-size: 22px !important;
|
|
- &:first-child{
|
|
|
|
- font-size: 14px !important;
|
|
|
|
- }
|
|
|
|
|
|
+ &:first-child {
|
|
|
|
+ font-size: 14px !important;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
-
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|