Commit 5e9ee6c6 authored by zhengke's avatar zhengke

修改

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