|
@@ -7,7 +7,7 @@
|
7
|
7
|
</div>
|
8
|
8
|
</div>
|
9
|
9
|
<div class="moreFilter"></div>
|
10
|
|
- <full-calendar :events="fcEvents" locale="zh" @eventClick="eventClick"></full-calendar>
|
|
10
|
+ <full-calendar :events="fcEvents" locale="zh" @eventClick="eventClick" @dayClick="dayClick"></full-calendar>
|
11
|
11
|
</div>
|
12
|
12
|
<el-dialog
|
13
|
13
|
title="课时信息"
|
|
@@ -143,8 +143,11 @@ export default {
|
143
|
143
|
fullCalendar,
|
144
|
144
|
},
|
145
|
145
|
methods: {
|
|
146
|
+ dayClick (day, jsEvent) { // 点击某天进入排课
|
|
147
|
+ console.log('dayClick', day, jsEvent)
|
|
148
|
+ },
|
146
|
149
|
addSchedule () { // 新增排课
|
147
|
|
- this.$router.push({name: 'editSchedule', query: {}})
|
|
150
|
+ this.$router.push({ name: 'editSchedule', query: {} })
|
148
|
151
|
},
|
149
|
152
|
eventClick (event, jsEvent, pos) { // 点击日历
|
150
|
153
|
console.log(event, jsEvent, pos)
|