| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <div style="width: 100%;position: relative;display: flex"> |
| | | <el-form :model="queryParam" ref="queryForm" :inline="true"> |
| | | <el-form-item label="查询条件:"> |
| | | <el-input v-model="queryParam.name" size="small"></el-input> |
| | |
| | | </router-link> --> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div style="position: absolute; right: 0"> |
| | | <el-button @click="jumpToSubject" type="primary">课目管理</el-button> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <el-table |
| | | v-loading="listLoading" |
| | |
| | | this.getAllSubject() |
| | | }, |
| | | methods: { |
| | | jumpToSubject() { |
| | | this.$router.push({path: '/education/subject/manager'}) |
| | | }, |
| | | getAllSubject() { |
| | | subjectApi.list().then(res => { |
| | | this.subjectList = res.response |