Commit 5e9ee6c6 authored by zhengke's avatar zhengke

修改

parent a0e8aa92
......@@ -125,8 +125,8 @@
map-options />
</div>
<div class="col-6">
<q-select filled stack-label option-value="SId" option-label="SName" v-model="objOption.ClassRoomId"
ref="School_Id" :options="classRoomList" label="关联教室" :dense="false" class="col-6 q-pr-lg q-pr-lg"
<q-select filled stack-label option-value="RoomId" option-label="RoomName" v-model="objOption.ClassRoomId"
ref="ClassRoomId" :options="ClassRoomList" label="关联教室" :dense="false" class="col-6 q-pr-lg q-pr-lg"
emit-value map-options />
</div>
</div>
......@@ -243,7 +243,8 @@
getTeacherDropDownList,
getSchoolDropdown,
saveClass,
getClassInfo
getClassInfo,
queryClassRoomList
} from '../../api/school/index'
export default {
components: {},
......@@ -292,7 +293,7 @@
ClassList: [], //关联课程下拉数据
TeacherList: [], //关联教师下拉数据
SchoolList: [], //关联校区下拉数据
classRoomList: [], // 关联教室
ClassRoomList:[], //教室下拉数据
ladderPriceList: [{ //阶梯定价数组
pnumber: 2,
price: ''
......@@ -349,6 +350,7 @@
created() {
this.getSchool();
this.CourseList();
this.getClassRoomList();
this.GetTeacherList();
},
mounted() {
......@@ -421,6 +423,14 @@
}
})
},
//获取教室下拉
getClassRoomList() {
queryClassRoomList({}).then(res => {
if (res.Code == 1) {
this.ClassRoomList = res.Data;
}
})
},
//新增阶梯定价
addStepPrice() {
var _index = this.ladderPriceList.length - 1;
......
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