0

嗨,我是日间飞行员调度程序的新手,

我已经推荐了这一天的试点调度程序https://code.daypilot.org/54503/angularjs-timesheet-tutorial-javascript-php来使用我的时间表。

这里我想要的是我想选择日期取决于侧边栏日历。

这里不知道当前日期是怎么选的。

在此处输入图像描述

在时间表中,我只想显示选定的一周。

days: new DayPilot.Date().daysInMonth(),
startDate: new DayPilot.Date().firstDayOfMonth(),

我试图理解代码,但对我来说有点困难。

谁能告诉我如何设置选定的日期取决于侧日历控制。

谢谢

4

1 回答 1

0
$scope.scheduler = { 
viewType: "Days", 
showNonBusiness: false, 
businessBeginsHour: 9, 
businessEndsHour: 17, 
cellWidthSpec: "Auto", 
scale: "CellDuration", 
cellDuration: "15", 
useEventBoxes: "Never", 
days: 7, 
startDate: (new DayPilot.Date().firstDayOfWeek())}

使用天数:7

它仅返回 7 天

https://forums.daypilot.org/Topic.aspx/3974/daypilot-scheduler-end-date-set-as-current

于 2017-09-26T10:17:00.660 回答