|
|
@@ -146,6 +146,12 @@ import { mapActions, mapState } from 'vuex'
|
|
|
|
|
|
export default {
|
|
|
name: 'courseDetail',
|
|
|
+ props: {
|
|
|
+ CourseId: Number,
|
|
|
+ Year: Number,
|
|
|
+ Term: Number,
|
|
|
+ Class: Number
|
|
|
+ },
|
|
|
components: { editForm },
|
|
|
data () {
|
|
|
return {
|
|
|
@@ -163,10 +169,10 @@ export default {
|
|
|
},
|
|
|
|
|
|
id: -1,
|
|
|
- CourseId: null,
|
|
|
- Term: null,
|
|
|
- Class: null,
|
|
|
- Year: null,
|
|
|
+ // CourseId: null,
|
|
|
+ // Term: null,
|
|
|
+ // Class: null,
|
|
|
+ // Year: null,
|
|
|
rowdata: {},
|
|
|
searchForm: {
|
|
|
name: ''
|
|
|
@@ -188,11 +194,11 @@ export default {
|
|
|
created () {
|
|
|
},
|
|
|
mounted: function () {
|
|
|
- let _this = this
|
|
|
- _this.CourseId = _this.$route.query.CourseId
|
|
|
- _this.Year = _this.$route.query.Year
|
|
|
- _this.Term = _this.$route.query.Term
|
|
|
- _this.Class = _this.$route.query.Class
|
|
|
+ // let _this = this
|
|
|
+ // _this.CourseId = _this.$route.query.CourseId
|
|
|
+ // _this.Year = _this.$route.query.Year
|
|
|
+ // _this.Term = _this.$route.query.Term
|
|
|
+ // _this.Class = _this.$route.query.Class
|
|
|
let params = {
|
|
|
_currentPage: 1,
|
|
|
_size: 9999
|