Commit 38c1107e authored by 黄奎's avatar 黄奎

页面修改

parent 4fca0726
......@@ -233,7 +233,15 @@
</q-select>
</div>
</div>
<div class="row wrap" v-if="objOption.ClassStyle==2||objOption.ClassStyle==3">
<div class="row wrap" v-if="objOption.ClassStyle==2">
<div class="col-12">
<q-select filled stack-label multiple option-value="value" option-label="label" v-model="checkedDays"
ref="ClassStyle" :options="dayList" label="选择日期" :dense="false" class="col-6 q-pr-lg q-pr-lg" emit-value
map-options>
</q-select>
</div>
</div>
<div class="row wrap" v-if="objOption.ClassStyle==3">
<div class="col-12">
<q-date v-model="checkedDays" minimal multiple style="width:100%" />
</div>
......@@ -347,6 +355,7 @@
SchoolList: [], //关联校区下拉数据
ClassRoomList: [], //教室下拉数据
ladderPriceList: [], //阶梯定价数组
dayList: [], //日期数组1-31
//上课设置
classSetList: [{
Name: '按周排课',
......@@ -408,6 +417,7 @@
}
},
created() {
this.initDayList();
this.getSchool();
this.CourseList();
this.getClassRoomList();
......@@ -417,6 +427,16 @@
this.initObj()
},
methods: {
//初始化日期-天
initDayList() {
this.dayList = [];
for (var i = 1; i <= 31; i++) {
this.dayList.push({
label: i,
value: i,
});
}
},
//下拉选择改变
changeClassStyle(style) {
this.checkedDays = [];
......
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