|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="periodadjust">
|
|
|
<div :class="[dataShow ? 'container' : '']">
|
|
|
- <m-header />
|
|
|
+ <!-- <m-header /> -->
|
|
|
<m-calendar @onSelectDay="onSelectDay" />
|
|
|
<van-radio-group v-if="dataShow" key="data" v-model="radioSelect">
|
|
|
<van-cell-group v-for="(item, index) in dataList" :key="index">
|
|
@@ -34,7 +34,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import MHeader from '@/components/MHeader'
|
|
|
+// import MHeader from '@/components/MHeader'
|
|
|
import MCalendar from '@/components/MCalendar'
|
|
|
import MEmpty from '@/components/MEmpty'
|
|
|
import { browser } from '@/common/common'
|
|
@@ -44,7 +44,7 @@ import { getCourseSchedulesWithDate,
|
|
|
courseSwap } from '@/api/teacher'
|
|
|
export default {
|
|
|
name: 'periodadjust',
|
|
|
- components: { MHeader, MCalendar, MEmpty },
|
|
|
+ components: { MCalendar, MEmpty },
|
|
|
data() {
|
|
|
return {
|
|
|
dataForm: { // 时间下拉框
|
|
@@ -60,9 +60,13 @@ export default {
|
|
|
radioDisabled: true, // 今天或今天之前的数据禁用
|
|
|
}
|
|
|
},
|
|
|
- mounted() {
|
|
|
+ created() {
|
|
|
+ document.title = '课程调整'
|
|
|
let toDay = this.getFormartDate(new Date())
|
|
|
this.getCourseDate(toDay)
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+
|
|
|
// this.getCourseMonth(toDay)
|
|
|
},
|
|
|
methods: {
|