<!--  -->
<template>
  <div class="m-container">
    <h2>
      <!-- <div class='squrt'></div> {{ pageName }} -->
      <el-page-header @back="goBack"
                      :content="title"></el-page-header>
    </h2>
    <afterWorkList />
  </div>
</template>

<script>
import afterWorkList from "@/views/afterSchoolManager/afterWorkList";
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.$router.push({ path: "/business/afterSchoolManager"});
    }
  }
};
</script>
<style lang='scss' scoped>
</style>