|  | @@ -0,0 +1,40 @@
 | 
											
												
													
														|  | 
 |  | +<!--  -->
 | 
											
												
													
														|  | 
 |  | +<template>
 | 
											
												
													
														|  | 
 |  | +  <div class="m-container">
 | 
											
												
													
														|  | 
 |  | +    <h2>
 | 
											
												
													
														|  | 
 |  | +      <!-- <div class='squrt'></div> {{ pageName }} -->
 | 
											
												
													
														|  | 
 |  | +      <el-page-header @back="goBack" :content="title"></el-page-header>
 | 
											
												
													
														|  | 
 |  | +    </h2>
 | 
											
												
													
														|  | 
 |  | +    <div class="m-core">
 | 
											
												
													
														|  | 
 |  | +      <afterWorkList saveKey="afterSchoolDetail" />
 | 
											
												
													
														|  | 
 |  | +    </div>
 | 
											
												
													
														|  | 
 |  | +  </div>
 | 
											
												
													
														|  | 
 |  | +</template>
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +<script>
 | 
											
												
													
														|  | 
 |  | +import afterWorkList from "@/views/afterSchoolManager/components/oldAfterWorkList.vue";
 | 
											
												
													
														|  | 
 |  | +export default {
 | 
											
												
													
														|  | 
 |  | +  components: { afterWorkList },
 | 
											
												
													
														|  | 
 |  | +  data() {
 | 
											
												
													
														|  | 
 |  | +    return {
 | 
											
												
													
														|  | 
 |  | +      title: "",
 | 
											
												
													
														|  | 
 |  | +      id: null,
 | 
											
												
													
														|  | 
 |  | +    };
 | 
											
												
													
														|  | 
 |  | +  },
 | 
											
												
													
														|  | 
 |  | +  //生命周期 - 挂载完成(可以访问DOM元素)
 | 
											
												
													
														|  | 
 |  | +  mounted() {
 | 
											
												
													
														|  | 
 |  | +    this.init();
 | 
											
												
													
														|  | 
 |  | +  },
 | 
											
												
													
														|  | 
 |  | +  methods: {
 | 
											
												
													
														|  | 
 |  | +    init() {
 | 
											
												
													
														|  | 
 |  | +      this.title = this.$route.query.title;
 | 
											
												
													
														|  | 
 |  | +      this.id = this.$route.query.extracurricularExercisesId;
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  | 
 |  | +    goBack() {
 | 
											
												
													
														|  | 
 |  | +      this.$store.dispatch("delVisitedViews", this.$route);
 | 
											
												
													
														|  | 
 |  | +      this.$router.push({ path: "/afterSchoolManager" });
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  | 
 |  | +  },
 | 
											
												
													
														|  | 
 |  | +};
 | 
											
												
													
														|  | 
 |  | +</script>
 | 
											
												
													
														|  | 
 |  | +<style lang="scss" scoped></style>
 |