|
@@ -4104,11 +4104,13 @@ func (c *ScheduleApiController) GetScheduleOne() {
|
4104
|
4104
|
|
4105
|
4105
|
schdules, _ := service.GetWeekScheduleTwo(adminInfo.CurrentOrgId, weekStartPoint, weekEndPoint, ids, schedule_type)
|
4106
|
4106
|
|
|
4107
|
+ schedulesGroup, _ := service.GetScheduleTotalCount(adminInfo.CurrentOrgId, weekStartPoint, weekEndPoint, ids, schedule_type)
|
4107
|
4108
|
c.ServeSuccessJSON(map[string]interface{}{
|
4108
|
|
- "days": days,
|
4109
|
|
- "weekTitle": weekTitle,
|
4110
|
|
- "schdules": schdules,
|
4111
|
|
- "today": today,
|
|
4109
|
+ "days": days,
|
|
4110
|
+ "weekTitle": weekTitle,
|
|
4111
|
+ "schdules": schdules,
|
|
4112
|
+ "today": today,
|
|
4113
|
+ "schedulesGroup": schedulesGroup,
|
4112
|
4114
|
})
|
4113
|
4115
|
return
|
4114
|
4116
|
}
|