|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<nav-bar></nav-bar>
|
|
|
|
|
<time-select style="margin-top: 20px" ref="timeSelect"></time-select>
|
|
|
|
|
<time-select style="margin-top: 20px" ref="timeSelect" @selectYear="selectYear" @selectSemester="selectSemester"></time-select>
|
|
|
|
|
<div style="margin-bottom: 10px">
|
|
|
|
|
<el-row :gutter="20">
|
|
|
|
|
<el-col :span="2">
|
|
|
|
@ -164,6 +164,12 @@
|
|
|
|
|
async load() {
|
|
|
|
|
this.tableData = await get('lb/course/courseManagement')
|
|
|
|
|
},
|
|
|
|
|
selectYear(){
|
|
|
|
|
this.tableData = get('lb/course/selectYear',this.$refs.timeSelect.year)
|
|
|
|
|
},
|
|
|
|
|
selectSemester(){
|
|
|
|
|
this.tableData = get('lb/course/selectSemester',this.$refs.timeSelect.semester)
|
|
|
|
|
},
|
|
|
|
|
//添加课程
|
|
|
|
|
addCourse() {
|
|
|
|
|
this.edit = 0
|
|
|
|
|