|
@@ -150,10 +150,10 @@ export default {
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
- created () {
|
|
|
|
|
|
+ mounted () {
|
|
this.teacherName = this.$route.query.teacherName;
|
|
this.teacherName = this.$route.query.teacherName;
|
|
- this.teacherId = this.$route.query.teacherId
|
|
|
|
- this.activeName = "0";
|
|
|
|
|
|
+ this.teacherId = this.$route.query.teacherId
|
|
|
|
+ this.activeName = "0";
|
|
teacherGet({ teacherId: this.teacherId }).then(res => {
|
|
teacherGet({ teacherId: this.teacherId }).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.teacherInfos = res.data
|
|
this.teacherInfos = res.data
|
|
@@ -162,6 +162,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ permission,
|
|
handleClick (val, event) {
|
|
handleClick (val, event) {
|
|
this.activeName = val.name;
|
|
this.activeName = val.name;
|
|
// this.activeStatus[val.name] = true
|
|
// this.activeStatus[val.name] = true
|