Commit 7132df86 authored by zhengke's avatar zhengke

1

parent fe54bdd9
...@@ -1310,16 +1310,17 @@ export default { ...@@ -1310,16 +1310,17 @@ export default {
if (u) { if (u) {
this.queryClass.Teacher_Id = u.AccountId; this.queryClass.Teacher_Id = u.AccountId;
} }
if(this.ClassId){
this.msg.ClassId = this.ClassId;
}
this.getClass(); this.getClass();
this.getSchool(); this.getSchool();
this.getCourseList(); this.getCourseList();
this.getClassRoomPage(); this.getClassRoomPage();
this.GetTeacherList(); this.GetTeacherList();
this.initDayList(); this.initDayList();
if(this.ClassId){
this.msg.ClassId = this.ClassId;
}
}, },
methods: { methods: {
GetTeacherList() { GetTeacherList() {
...@@ -1625,7 +1626,7 @@ export default { ...@@ -1625,7 +1626,7 @@ export default {
getClass() { getClass() {
getClassDropDownList(this.queryClass).then((res) => { getClassDropDownList(this.queryClass).then((res) => {
this.classList = []; this.classList = [];
this.msg.ClassId = 0; // this.msg.ClassId = 0;
if (res.Code == 1) { if (res.Code == 1) {
res.Data.forEach((x) => { res.Data.forEach((x) => {
x.PlanList.forEach((y) => { x.PlanList.forEach((y) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment