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

页面修改

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