|
@@ -591,7 +591,7 @@ export function buildComponent (name, column, preview, vm) {
|
|
|
if (!start || !end) {
|
|
if (!start || !end) {
|
|
|
return 0
|
|
return 0
|
|
|
}
|
|
}
|
|
|
- return Math.ceil((new Date(end) - new Date(start)) / (1000 * 60 * 60 * 24))
|
|
|
|
|
|
|
+ return Math.ceil((new Date(end) - new Date(start)) / (1000 * 60 * 60 * 24)) + 1
|
|
|
},
|
|
},
|
|
|
getTodaySchedule () { // 获取今日班次
|
|
getTodaySchedule () { // 获取今日班次
|
|
|
const { first, second } = this.$store.getters.level || {}
|
|
const { first, second } = this.$store.getters.level || {}
|