diff --git a/src/app/pages/agenda/agenda.page.ts b/src/app/pages/agenda/agenda.page.ts index a80c1e097..de23e61ea 100644 --- a/src/app/pages/agenda/agenda.page.ts +++ b/src/app/pages/agenda/agenda.page.ts @@ -705,7 +705,7 @@ export class AgendaPage implements OnInit { calendarOwnerName: selectedCalendar.wxFullName, endDate: endTime.toISOString(), startDate: startTime.toISOString(), - status: -1 + status: 3 }) if(response.isOk()) { diff --git a/src/app/services/Repositorys/Agenda/agenda-data-repository.service.ts b/src/app/services/Repositorys/Agenda/agenda-data-repository.service.ts index 91dc8d03b..bdf44edf5 100644 --- a/src/app/services/Repositorys/Agenda/agenda-data-repository.service.ts +++ b/src/app/services/Repositorys/Agenda/agenda-data-repository.service.ts @@ -67,7 +67,7 @@ export class AgendaDataRepositoryService { } - async EventList({ userId, startDate, endDate, status = 2, category = null, type = null, calendarOwnerName = '' }) { + async EventList({ userId, startDate, endDate, status = 3, category = null, type = null, calendarOwnerName = '' }) { try { const result = await this.agendaDataService.getEvents(userId, startDate, endDate, status, category, type).pipe( @@ -81,7 +81,7 @@ export class AgendaDataRepositoryService { } } - async eventToApproveList({ userId, startDate = null, endDate = null, status = 0, category = null, type = null, calendarOwnerName = '' }) { + async eventToApproveList({ userId, startDate = null, endDate = null, status = 1, category = null, type = null, calendarOwnerName = '' }) { try { const result = await this.agendaDataService.getEvents(userId, startDate = null, endDate = null, status, category = null, type = null).pipe(