|
@@ -5,7 +5,7 @@
|
|
|
<!-- <div class='squrt'></div> {{ pageName }} -->
|
|
|
<el-page-header @back="goBack" :content="title"></el-page-header>
|
|
|
</h2>
|
|
|
- <afterWorkList />
|
|
|
+ <afterWorkList :id='id'/>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -17,16 +17,17 @@ export default {
|
|
|
return {
|
|
|
FsearchForm: null,
|
|
|
Frules: null,
|
|
|
- title:''
|
|
|
+ title:'',
|
|
|
+ id:null
|
|
|
};
|
|
|
},
|
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
|
created() {
|
|
|
-
|
|
|
+ this.init();
|
|
|
},
|
|
|
//生命周期 - 挂载完成(可以访问DOM元素)
|
|
|
mounted() {
|
|
|
- this.init();
|
|
|
+
|
|
|
},
|
|
|
activated() {
|
|
|
this.init();
|
|
@@ -40,6 +41,8 @@ export default {
|
|
|
this.Frules = this.$route.query.rules;
|
|
|
}
|
|
|
this.title = this.$route.query.title
|
|
|
+ this.id = this.$route.query.extracurricularExercisesId
|
|
|
+ // console.log(this.$router.query)
|
|
|
},
|
|
|
goBack() {
|
|
|
this.$router.push({ path: "/business/afterSchoolManager", query: { rules: this.Frules, searchForm: this.FsearchForm } });
|