|
@@ -14,7 +14,6 @@
|
|
|
<!-- <div class="searchMore">
|
|
|
筛选<i class="arrowDown"></i>
|
|
|
</div>-->
|
|
|
-
|
|
|
<van-dropdown-menu active-color="#14928A">
|
|
|
<van-dropdown-item title="筛选" ref="item" v-model="search.status">
|
|
|
<!-- <div class="dropItem">
|
|
@@ -65,7 +64,7 @@
|
|
|
v-for="(item,index) in courseList"
|
|
|
:key="index"
|
|
|
class="cellGroup"
|
|
|
- title="3月25日"
|
|
|
+ :title="item.classDate | filterClass"
|
|
|
title-class="sectionTitle"
|
|
|
value-class="sectionValue"
|
|
|
>
|
|
@@ -128,6 +127,7 @@ export default {
|
|
|
components: { MEmpty },
|
|
|
data() {
|
|
|
return {
|
|
|
+ str:'2020-01-23 12:12:12',
|
|
|
dateSection: {
|
|
|
status: false,
|
|
|
minDate: new Date(2020, 0, 1),
|
|
@@ -171,6 +171,7 @@ export default {
|
|
|
this.dateEndSection.showEndDate = this.timeFormat(
|
|
|
this.dateEndSection.currentDate
|
|
|
);
|
|
|
+ this.onRefresh();
|
|
|
this.getList();
|
|
|
// this.getStudent()
|
|
|
},
|
|
@@ -266,6 +267,11 @@ export default {
|
|
|
query: { id: item.id, reviewId: item.reviewId }
|
|
|
});
|
|
|
}
|
|
|
+ },
|
|
|
+ filters:{
|
|
|
+ filterClass (val) {
|
|
|
+ return val.substring(0,10)
|
|
|
+ }
|
|
|
}
|
|
|
};
|
|
|
</script>
|