Commit 32750d97 authored by Mac's avatar Mac
parents 3271d496 ec7935b1
...@@ -81,8 +81,8 @@ ...@@ -81,8 +81,8 @@
<div class="page-content recordForm"> <div class="page-content recordForm">
<div class="row wrap" style="display:flex;justify-content:flex-end"> <div class="row wrap" style="display:flex;justify-content:flex-end">
<div class="col-3"> <div class="col-3">
<q-select filled stack-label option-value="TId" @input="getRecord()" option-label="TeacherName" <q-select filled stack-label option-value="TId" @input="changeRecord()" option-label="TeacherName"
v-model="msg.TeacherId" ref="Teacher_Id" :options="TeacherList" label="关联教师" :dense="false" v-model="TeacherId" ref="Teacher_Id" :options="TeacherList" label="关联教师" :dense="false"
class="col-6 q-pr-lg q-pb-lg" emit-value map-options /> class="col-6 q-pr-lg q-pb-lg" emit-value map-options />
</div> </div>
</div> </div>
...@@ -139,6 +139,7 @@ ...@@ -139,6 +139,7 @@
School_Id: 0, School_Id: 0,
ClassId: 0 ClassId: 0
}, },
TeacherId:0,
dataList: {}, dataList: {},
TeacherList: [], //关联老师下拉 TeacherList: [], //关联老师下拉
} }
...@@ -147,6 +148,7 @@ ...@@ -147,6 +148,7 @@
}, },
mounted() { mounted() {
this.TeacherId = this.setingObj.Teacher_Id;
this.getRecord(); this.getRecord();
this.GetTeacherList(); this.GetTeacherList();
}, },
...@@ -161,6 +163,17 @@ ...@@ -161,6 +163,17 @@
} }
}) })
}, },
changeRecord(){
this.msg.School_Id = this.setingObj.School_Id;
this.msg.ClassId = this.setingObj.ClassId;
this.msg.TeacherId = this.TeacherId;
GetClassPlanLogPageList(this.msg).then(res => {
if (res.Code == 1) {
this.dataList = res.Data.PageData;
}
})
},
//获取教师下拉 //获取教师下拉
GetTeacherList() { GetTeacherList() {
getTeacherDropDownList({}).then(res => { getTeacherDropDownList({}).then(res => {
......
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