|
@@ -5,7 +5,7 @@
|
|
<div class="squrt"></div>课外作业
|
|
<div class="squrt"></div>课外作业
|
|
</h2> -->
|
|
</h2> -->
|
|
<div class="m-core">
|
|
<div class="m-core">
|
|
- <el-form :inline="true" :model="searchForm">
|
|
|
|
|
|
+ <el-form :inline="true" :model="searchForm" v-if="!extracurricularExercisesId">
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-input
|
|
<el-input
|
|
v-model.trim="searchForm.search"
|
|
v-model.trim="searchForm.search"
|
|
@@ -201,8 +201,6 @@ export default {
|
|
afterSchoolVisible: false,
|
|
afterSchoolVisible: false,
|
|
workVisible: false,
|
|
workVisible: false,
|
|
activeSrc: "",
|
|
activeSrc: "",
|
|
- Fsearch:null,
|
|
|
|
- Frules:null,
|
|
|
|
extracurricularExercisesId:null
|
|
extracurricularExercisesId:null
|
|
};
|
|
};
|
|
},
|
|
},
|
|
@@ -237,13 +235,8 @@ export default {
|
|
// this.searchForm.timer = [];
|
|
// this.searchForm.timer = [];
|
|
// this.searchForm.timer.push(startDate);
|
|
// this.searchForm.timer.push(startDate);
|
|
// this.searchForm.timer.push(endDate);
|
|
// this.searchForm.timer.push(endDate);
|
|
- if (this.$route.query.search) {
|
|
|
|
- this.Fsearch = this.$route.query.search;
|
|
|
|
- }
|
|
|
|
- if (this.$route.query.rules) {
|
|
|
|
- this.Frules = this.$route.query.rules
|
|
|
|
- }
|
|
|
|
- this.extracurricularExercisesId = this.id;
|
|
|
|
|
|
+
|
|
|
|
+ this.extracurricularExercisesId = this.$route.query.extracurricularExercisesId;
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
getList() {
|
|
getList() {
|
|
@@ -259,7 +252,7 @@ export default {
|
|
? (obj.teacherId = this.searchForm.teacherId)
|
|
? (obj.teacherId = this.searchForm.teacherId)
|
|
: null;
|
|
: null;
|
|
this.searchForm.search ? (obj.search = this.searchForm.search) : null;
|
|
this.searchForm.search ? (obj.search = this.searchForm.search) : null;
|
|
- this.id
|
|
|
|
|
|
+ this.extracurricularExercisesId
|
|
? (obj.extracurricularExercisesId = this.extracurricularExercisesId)
|
|
? (obj.extracurricularExercisesId = this.extracurricularExercisesId)
|
|
: null;
|
|
: null;
|
|
extracurricularExercisesReply(obj).then(res => {
|
|
extracurricularExercisesReply(obj).then(res => {
|