mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
save
This commit is contained in:
@@ -41,7 +41,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
/* harmony default export */
|
||||
|
||||
|
||||
__webpack_exports__["default"] = "<ion-header class=\"ion-no-border\">\r\n <app-header-no-search></app-header-no-search>\r\n</ion-header>\r\n\r\n<!-- Default Refresher -->\r\n\r\n<ion-content class=\"main bg-blue\" ng-controller=\"AppController\">\r\n <ion-refresher slot=\"fixed\" (ionRefresh)=\"doRefresh($event)\">\r\n <ion-refresher-content>\r\n </ion-refresher-content>\r\n </ion-refresher>\r\n \r\n <ion-progress-bar type=\"indeterminate\" *ngIf=\"showLoader\"></ion-progress-bar>\r\n \r\n <ion-label>\r\n <p class=\"time ion-text-center\">{{customDate}}</p>\r\n </ion-label>\r\n <ion-label>\r\n <p class=\"event-number p-small ion-text-center\"> <strong>{{totalEvent}}</strong> eventos agendados para hoje</p>\r\n </ion-label>\r\n\r\n <div class=\"next-meeting\">\r\n <div class=\"meeting-time\">{{hoursMinutes}}</div>\r\n <div class=\"meeting-description\"> \"{{currentEvent}}\"</div>\r\n </div>\r\n\r\n <div class=\"conteiner-box\" ng-swipe-up=\"swipe($event)\">\r\n <div class=\"schedule\">\r\n <div class=\"schedule-header\">\r\n <div class=\"title\">\r\n <ion-icon class=\"icon\" slot=\"end\" src=\"assets/images/icons-default-agenda.svg\" ></ion-icon>\r\n <div class=\"text\">A sua Agenda</div>\r\n </div>\r\n <ion-icon class=\"icon-next\" slot=\"end\" src=\"assets/images/icons-arrow-circle-arrow-right.svg\" ></ion-icon>\r\n \r\n </div>\r\n <div class=\"content\">\r\n <ul>\r\n <li *ngFor=\"let event of eventsList\"\r\n (click)=\"viewEventDetail(event.EventId)\">\r\n <div class=\"d-flex content-{{profile}}-{{event.CalendarName}}\">\r\n <div class=\"schedule-time\">\r\n <div class=\"time-start\">{{event.StartDate | date: 'HH:mm'}}</div>\r\n <div class=\"time-end\">{{event.EndDate | date: 'HH:mm'}}</div>\r\n </div>\r\n <div class=\"schedule-details\">\r\n <div class=\"location\">{{event.Location}}</div>\r\n <div class=\"description\">{{event.Subject}}</div>\r\n </div>\r\n </div>\r\n </li>\r\n\r\n </ul>\r\n <!-- \r\n <div class=\"resume\">\r\n <div class=\"title\">\r\n Resumo para Amnahã\r\n </div>\r\n <div class=\"event-num\">4 eventos ageandados para amanhã</div>\r\n <div class=\"first-event-time\">08:30 \"Reunião Staff\" no Palácio Presidencial</div>\r\n </div>\r\n -->\r\n </div>\r\n </div>\r\n \r\n <div class=\"schedule\">\r\n <div class=\"schedule-header\">\r\n <div class=\"title\">\r\n <ion-icon class=\"icon\" slot=\"end\" src=\"assets/images/icons-correspondencias.svg\"></ion-icon>\r\n <div class=\"text\">Correspondência por ler</div>\r\n </div>\r\n <ion-icon class=\"icon-next\" slot=\"end\" src=\"assets/images/icons-arrow-circle-arrow-right.svg\" ></ion-icon>\r\n \r\n </div>\r\n <div class=\"content\">\r\n <ul>\r\n <li *ngFor = \"let task of taskslist\"\r\n (click)=\"viewExpedientDetail(task.SerialNumber)\">\r\n <!-- [routerLink]=\"['/home/gabinete-digital/expediente',task.SerialNumber]\" -->\r\n >\r\n <div class=\"d-flex\">\r\n <div class=\"schedule-date\">\r\n <div class=\"time-end\">{{task.CreateDate | date: 'd/M/yy'}}</div>\r\n <div class=\"time-start\">{{task.CreateDate | date: 'HH:mm'}}</div>\r\n </div>\r\n <div class=\"schedule-details pointer\">\r\n <div class=\"description\">{{ task.Folio }}</div>\r\n <div class=\"location\">{{ task.Remetente }}</div>\r\n </div>\r\n </div>\r\n </li>\r\n\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n</ion-content>";
|
||||
__webpack_exports__["default"] = "<ion-header class=\"ion-no-border\">\r\n <app-header-no-search></app-header-no-search>\r\n</ion-header>\r\n\r\n<!-- Default Refresher -->\r\n\r\n<ion-content class=\"main bg-blue\" ng-controller=\"AppController\">\r\n <ion-refresher slot=\"fixed\" (ionRefresh)=\"doRefresh($event)\">\r\n <ion-refresher-content>\r\n </ion-refresher-content>\r\n </ion-refresher>\r\n \r\n <ion-progress-bar type=\"indeterminate\" *ngIf=\"showLoader\"></ion-progress-bar>\r\n \r\n <ion-label>\r\n <p class=\"time ion-text-center\">{{customDate}}</p>\r\n </ion-label>\r\n <ion-label>\r\n <p class=\"event-number p-small ion-text-center\"> <strong>{{totalEvent}}</strong> eventos agendados para hoje</p>\r\n </ion-label>\r\n\r\n <div class=\"next-meeting\">\r\n <div class=\"meeting-time\">{{currentHoursMinutes | date: 'HH:mm'}}</div>\r\n <div class=\"meeting-description\"> \"{{currentEvent}}\"</div>\r\n </div>\r\n\r\n <div class=\"conteiner-box\" ng-swipe-up=\"swipe($event)\">\r\n <div class=\"schedule\">\r\n <div class=\"schedule-header\">\r\n <div class=\"title\">\r\n <ion-icon class=\"icon\" slot=\"end\" src=\"assets/images/icons-default-agenda.svg\" ></ion-icon>\r\n <div class=\"text\">A sua Agenda</div>\r\n </div>\r\n <ion-icon class=\"icon-next\" slot=\"end\" src=\"assets/images/icons-arrow-circle-arrow-right.svg\" ></ion-icon>\r\n \r\n </div>\r\n <div class=\"content\">\r\n <ul>\r\n <li *ngFor=\"let event of eventsList\"\r\n (click)=\"viewEventDetail(event.EventId)\">\r\n <div class=\"d-flex content-{{profile}}-{{event.CalendarName}}\">\r\n <div class=\"schedule-time\">\r\n <div class=\"time-start\">{{event.StartDate | date: 'HH:mm'}}</div>\r\n <div class=\"time-end\">{{event.EndDate | date: 'HH:mm'}}</div>\r\n </div>\r\n <div class=\"schedule-details\">\r\n <div class=\"location\">{{event.Location}}</div>\r\n <div class=\"description\">{{event.Subject}}</div>\r\n </div>\r\n </div>\r\n </li>\r\n\r\n </ul>\r\n <!-- \r\n <div class=\"resume\">\r\n <div class=\"title\">\r\n Resumo para Amnahã\r\n </div>\r\n <div class=\"event-num\">4 eventos ageandados para amanhã</div>\r\n <div class=\"first-event-time\">08:30 \"Reunião Staff\" no Palácio Presidencial</div>\r\n </div>\r\n -->\r\n </div>\r\n </div>\r\n \r\n <div class=\"schedule\">\r\n <div class=\"schedule-header\">\r\n <div class=\"title\">\r\n <ion-icon class=\"icon\" slot=\"end\" src=\"assets/images/icons-correspondencias.svg\"></ion-icon>\r\n <div class=\"text\">Correspondência por ler</div>\r\n </div>\r\n <ion-icon class=\"icon-next\" slot=\"end\" src=\"assets/images/icons-arrow-circle-arrow-right.svg\" ></ion-icon>\r\n \r\n </div>\r\n <div class=\"content\">\r\n <ul>\r\n <li *ngFor = \"let task of taskslist\"\r\n (click)=\"viewExpedientDetail(task.SerialNumber)\">\r\n [routerLink]=\"['/home/gabinete-digital/expediente',task.SerialNumber]\"\r\n >\r\n <div class=\"d-flex\">\r\n <div class=\"schedule-date\">\r\n <div class=\"time-end\">{{task.CreateDate | date: 'd/M/yy'}}</div>\r\n <div class=\"time-start\">{{task.CreateDate | date: 'HH:mm'}}</div>\r\n </div>\r\n <div class=\"schedule-details pointer\">\r\n <div class=\"description\">{{ task.Folio }}</div>\r\n <div class=\"location\">{{ task.Remetente }}</div>\r\n </div>\r\n </div>\r\n </li>\r\n\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n</ion-content>";
|
||||
/***/
|
||||
},
|
||||
|
||||
@@ -774,74 +774,66 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
||||
/*! @angular/common */
|
||||
"./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var src_app_services_alert_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
||||
var src_app_services_alert_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
||||
/*! src/app/services/alert.service */
|
||||
"./src/app/services/alert.service.ts");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var src_app_services_auth_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
||||
var src_app_services_auth_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
||||
/*! src/app/services/auth.service */
|
||||
"./src/app/services/auth.service.ts");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var src_app_services_storage_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
||||
var src_app_services_storage_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
||||
/*! src/app/services/storage.service */
|
||||
"./src/app/services/storage.service.ts");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var src_app_config_auth_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
||||
var src_app_config_auth_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
||||
/*! src/app/config/auth-constants */
|
||||
"./src/app/config/auth-constants.ts");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _ionic_angular__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
||||
var _ionic_angular__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
||||
/*! @ionic/angular */
|
||||
"./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _event_detail_event_detail_page__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
||||
var _event_detail_event_detail_page__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
||||
/*! ./event-detail/event-detail.page */
|
||||
"./src/app/pages/events/event-detail/event-detail.page.ts");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _event_detail_modal_event_detail_modal_page__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
||||
var _event_detail_modal_event_detail_modal_page__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
||||
/*! ./event-detail-modal/event-detail-modal.page */
|
||||
"./src/app/pages/events/event-detail-modal/event-detail-modal.page.ts");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _services_processes_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
||||
var _services_processes_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
||||
/*! ../../services/processes.service */
|
||||
"./src/app/services/processes.service.ts");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _agenda_view_event_view_event_page__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
||||
var _agenda_view_event_view_event_page__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
||||
/*! ../agenda/view-event/view-event.page */
|
||||
"./src/app/pages/agenda/view-event/view-event.page.ts");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _gabinete_digital_expediente_expediente_detail_expediente_detail_page__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
||||
var _gabinete_digital_expediente_expediente_detail_expediente_detail_page__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
||||
/*! ../gabinete-digital/expediente/expediente-detail/expediente-detail.page */
|
||||
"./src/app/pages/gabinete-digital/expediente/expediente-detail/expediente-detail.page.ts");
|
||||
|
||||
var EventsPage = /*#__PURE__*/function () {
|
||||
function EventsPage(eventService, router, storageService, activatedRoute, alertController, modalController, authService, processes) {
|
||||
var _this7 = this;
|
||||
|
||||
_classCallCheck(this, EventsPage);
|
||||
|
||||
this.eventService = eventService;
|
||||
@@ -855,7 +847,6 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
/* Get current system date */
|
||||
|
||||
this.today = new Date();
|
||||
this.todayEnd = new Date();
|
||||
this.months = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"];
|
||||
this.days = ["Domingo", "Segunda-feira", "Terça-feira", "Quarta-feira", "Quinta-feira", "Sexta-feira", "Sábado"];
|
||||
this.customDate = this.days[this.today.getDay()] + ", " + this.today.getDate() + " de " + this.months[this.today.getMonth()];
|
||||
@@ -866,14 +857,9 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
this.timeDate = this.today.getHours() + ":" + this.today.getMinutes();
|
||||
this.customText = false;
|
||||
this.totalEvent = 0;
|
||||
this.prEventList = null; // update hours and minutes
|
||||
|
||||
setInterval(function () {
|
||||
_this7.currentHoursMinutes = Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'HH:MM', 'pt');
|
||||
}, 1000); // list
|
||||
this.prEventList = null; // list
|
||||
|
||||
this.LoadList();
|
||||
this.todayEnd = new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate(), 23, 59, 59);
|
||||
}
|
||||
|
||||
_createClass(EventsPage, [{
|
||||
@@ -884,35 +870,20 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
}, {
|
||||
key: "ngOnInit",
|
||||
value: function ngOnInit() {
|
||||
var _this8 = this;
|
||||
var _this7 = this;
|
||||
|
||||
//Inicializar segment
|
||||
this.segment = "Combinada"; //Initialize profile as mdgpr
|
||||
|
||||
this.profile = "mdgpr";
|
||||
console.log(this.profile); // set event list
|
||||
|
||||
/* if(this.profile == "mdgpr"){
|
||||
this.eventService.getAllMdEvents(formatDate(new Date(), 'yyyy-MM-dd HH:mm:ss', 'pt'), formatDate(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(res => {
|
||||
this.eventsList = res;
|
||||
console.log(this.eventsList);
|
||||
this.totalEvent = this.eventsList.length;
|
||||
});
|
||||
}
|
||||
else{
|
||||
this.eventService.getAllPrEvents(formatDate(new Date(), 'yyyy-MM-dd HH:mm:ss', 'pt'), formatDate(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(res => {
|
||||
this.eventsList = res;
|
||||
this.totalEvent = this.eventsList.length;
|
||||
});
|
||||
} */
|
||||
|
||||
this.storageService.get(src_app_config_auth_constants__WEBPACK_IMPORTED_MODULE_8__["AuthConnstants"].USER).then(function (res) {
|
||||
console.log(this.profile);
|
||||
this.storageService.get(src_app_config_auth_constants__WEBPACK_IMPORTED_MODULE_7__["AuthConnstants"].USER).then(function (res) {
|
||||
console.log(res);
|
||||
});
|
||||
this.showGreeting();
|
||||
this.router.events.forEach(function (event) {
|
||||
if (event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_3__["NavigationEnd"] && event.url == _this8.router.url) {
|
||||
_this8.RefreshEvents();
|
||||
if (event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_3__["NavigationEnd"] && event.url == _this7.router.url) {
|
||||
_this7.RefreshEvents();
|
||||
}
|
||||
});
|
||||
/* this.storageService.get(AuthConnstants.PROFILE).then(res=>{
|
||||
@@ -933,7 +904,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
}, {
|
||||
key: "RefreshEvents",
|
||||
value: function RefreshEvents() {
|
||||
var _this9 = this;
|
||||
var _this8 = this;
|
||||
|
||||
this.showLoader = true;
|
||||
var date = new Date();
|
||||
@@ -945,24 +916,30 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
case "Combinada":
|
||||
if (this.profile == "mdgpr") {
|
||||
this.eventService.getAllMdEvents(start, end).subscribe(function (res) {
|
||||
_this9.eventsList = res;
|
||||
_this8.eventsList = res;
|
||||
|
||||
if (res.length > 0) {
|
||||
_this9.currentEvent = res[0].Subject;
|
||||
_this8.currentEvent = res[0].Subject;
|
||||
_this8.currentHoursMinutes = res[0].StartDate;
|
||||
}
|
||||
|
||||
_this9.totalEvent = _this9.eventsList.length;
|
||||
_this9.showLoader = false;
|
||||
_this8.totalEvent = _this8.eventsList.length;
|
||||
_this8.showLoader = false;
|
||||
});
|
||||
} else {
|
||||
this.eventService.getAllPrEvents(this.today.toLocaleString(), this.todayEnd.toLocaleString()).subscribe(function (res) {
|
||||
_this9.eventsList = res;
|
||||
console.log(_this9.eventsList);
|
||||
this.eventService.getAllPrEvents(start, end).subscribe(function (res) {
|
||||
_this8.eventsList = res;
|
||||
console.log(_this8.eventsList);
|
||||
console.log(res);
|
||||
console.log(res[0]);
|
||||
_this9.currentEvent = res[0].Subject;
|
||||
_this9.totalEvent = _this9.eventsList.length;
|
||||
_this9.showLoader = false;
|
||||
|
||||
if (res.length > 0) {
|
||||
_this8.currentEvent = res[0].Subject;
|
||||
_this8.currentHoursMinutes = res[0].StartDate;
|
||||
}
|
||||
|
||||
_this8.totalEvent = _this8.eventsList.length;
|
||||
_this8.showLoader = false;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -970,18 +947,18 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
|
||||
case "Pessoal":
|
||||
if (this.profile == "mdgpr") {
|
||||
this.eventService.getAllMdEvents(this.today.toLocaleString(), this.todayEnd.toLocaleString()).subscribe(function (res) {
|
||||
_this9.personaleventsList = res.filter(function (data) {
|
||||
this.eventService.getAllMdEvents(start, end).subscribe(function (res) {
|
||||
_this8.personaleventsList = res.filter(function (data) {
|
||||
return data.CalendarName == "Pessoal";
|
||||
});
|
||||
_this9.showLoader = false;
|
||||
_this8.showLoader = false;
|
||||
});
|
||||
} else {
|
||||
this.eventService.getAllPrEvents(this.today.toLocaleString(), this.todayEnd.toLocaleString()).subscribe(function (res) {
|
||||
_this9.personaleventsList = res.filter(function (data) {
|
||||
this.eventService.getAllPrEvents(start, end).subscribe(function (res) {
|
||||
_this8.personaleventsList = res.filter(function (data) {
|
||||
return data.CalendarName == "Pessoal";
|
||||
});
|
||||
_this9.showLoader = false;
|
||||
_this8.showLoader = false;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -989,20 +966,20 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
|
||||
case "Oficial":
|
||||
if (this.profile == "mdgpr") {
|
||||
this.eventService.getAllMdEvents(this.today.toLocaleString(), this.todayEnd.toLocaleString()).subscribe(function (res) {
|
||||
_this9.officialeventsList = res.filter(function (data) {
|
||||
this.eventService.getAllMdEvents(start, end).subscribe(function (res) {
|
||||
_this8.officialeventsList = res.filter(function (data) {
|
||||
return data.CalendarName == "Oficial";
|
||||
});
|
||||
;
|
||||
_this9.showLoader = false;
|
||||
_this8.showLoader = false;
|
||||
});
|
||||
} else {
|
||||
this.eventService.getAllPrEvents(this.today.toLocaleString(), this.todayEnd.toLocaleString()).subscribe(function (res) {
|
||||
_this9.officialeventsList = res.filter(function (data) {
|
||||
this.eventService.getAllPrEvents(start, end).subscribe(function (res) {
|
||||
_this8.officialeventsList = res.filter(function (data) {
|
||||
return data.CalendarName == "Oficial";
|
||||
});
|
||||
;
|
||||
_this9.showLoader = false;
|
||||
_this8.showLoader = false;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1058,7 +1035,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
console.log(id);
|
||||
_context7.next = 3;
|
||||
return this.modalController.create({
|
||||
component: _event_detail_event_detail_page__WEBPACK_IMPORTED_MODULE_10__["EventDetailPage"],
|
||||
component: _event_detail_event_detail_page__WEBPACK_IMPORTED_MODULE_9__["EventDetailPage"],
|
||||
componentProps: {
|
||||
eventId: id
|
||||
},
|
||||
@@ -1093,7 +1070,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
case 0:
|
||||
_context8.next = 2;
|
||||
return this.modalController.create({
|
||||
component: _event_detail_modal_event_detail_modal_page__WEBPACK_IMPORTED_MODULE_11__["EventDetailModalPage"],
|
||||
component: _event_detail_modal_event_detail_modal_page__WEBPACK_IMPORTED_MODULE_10__["EventDetailModalPage"],
|
||||
componentProps: {
|
||||
eventId: id
|
||||
},
|
||||
@@ -1116,14 +1093,10 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
}, _callee8, this);
|
||||
}));
|
||||
}
|
||||
/**
|
||||
* @returns time in format HH:MM
|
||||
*/
|
||||
|
||||
}, {
|
||||
key: "LoadList",
|
||||
value: function LoadList() {
|
||||
var _this10 = this;
|
||||
var _this9 = this;
|
||||
|
||||
this.processes.GetTasksList("Expediente", false).subscribe(function (result) {
|
||||
var AllResult = new Array();
|
||||
@@ -1140,7 +1113,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
AllResult.push(task);
|
||||
});
|
||||
console.log(AllResult);
|
||||
_this10.taskslist = _this10.sortArrayISODate(AllResult).reverse();
|
||||
_this9.taskslist = _this9.sortArrayISODate(AllResult).reverse();
|
||||
});
|
||||
}
|
||||
}, {
|
||||
@@ -1154,7 +1127,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
key: "viewEventDetail",
|
||||
value: function viewEventDetail(eventId) {
|
||||
return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/regeneratorRuntime.mark(function _callee9() {
|
||||
var _this11 = this;
|
||||
var _this10 = this;
|
||||
|
||||
var modal;
|
||||
return regeneratorRuntime.wrap(function _callee9$(_context9) {
|
||||
@@ -1164,7 +1137,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
console.log(this.profile);
|
||||
_context9.next = 3;
|
||||
return this.modalController.create({
|
||||
component: _agenda_view_event_view_event_page__WEBPACK_IMPORTED_MODULE_13__["ViewEventPage"],
|
||||
component: _agenda_view_event_view_event_page__WEBPACK_IMPORTED_MODULE_12__["ViewEventPage"],
|
||||
componentProps: {
|
||||
eventId: eventId,
|
||||
profile: this.profile
|
||||
@@ -1183,7 +1156,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
if (res) {
|
||||
console.log(res);
|
||||
|
||||
_this11.RefreshEvents();
|
||||
_this10.RefreshEvents();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1199,7 +1172,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
key: "viewExpedientDetail",
|
||||
value: function viewExpedientDetail(serialNumber) {
|
||||
return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/regeneratorRuntime.mark(function _callee10() {
|
||||
var _this12 = this;
|
||||
var _this11 = this;
|
||||
|
||||
var modal;
|
||||
return regeneratorRuntime.wrap(function _callee10$(_context10) {
|
||||
@@ -1209,7 +1182,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
console.log(this.profile);
|
||||
_context10.next = 3;
|
||||
return this.modalController.create({
|
||||
component: _gabinete_digital_expediente_expediente_detail_expediente_detail_page__WEBPACK_IMPORTED_MODULE_14__["ExpedienteDetailPage"],
|
||||
component: _gabinete_digital_expediente_expediente_detail_expediente_detail_page__WEBPACK_IMPORTED_MODULE_13__["ExpedienteDetailPage"],
|
||||
componentProps: {
|
||||
serialNumber: serialNumber,
|
||||
profile: this.profile
|
||||
@@ -1228,7 +1201,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
if (res) {
|
||||
console.log(res);
|
||||
|
||||
_this12.RefreshEvents();
|
||||
_this11.RefreshEvents();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1240,11 +1213,6 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
}, _callee10, this);
|
||||
}));
|
||||
}
|
||||
}, {
|
||||
key: "hoursMinutes",
|
||||
get: function get() {
|
||||
return this.currentHoursMinutes;
|
||||
}
|
||||
}]);
|
||||
|
||||
return EventsPage;
|
||||
@@ -1256,17 +1224,17 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
}, {
|
||||
type: _angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"]
|
||||
}, {
|
||||
type: src_app_services_storage_service__WEBPACK_IMPORTED_MODULE_7__["StorageService"]
|
||||
type: src_app_services_storage_service__WEBPACK_IMPORTED_MODULE_6__["StorageService"]
|
||||
}, {
|
||||
type: _angular_router__WEBPACK_IMPORTED_MODULE_3__["ActivatedRoute"]
|
||||
}, {
|
||||
type: src_app_services_alert_service__WEBPACK_IMPORTED_MODULE_5__["AlertService"]
|
||||
type: src_app_services_alert_service__WEBPACK_IMPORTED_MODULE_4__["AlertService"]
|
||||
}, {
|
||||
type: _ionic_angular__WEBPACK_IMPORTED_MODULE_9__["ModalController"]
|
||||
type: _ionic_angular__WEBPACK_IMPORTED_MODULE_8__["ModalController"]
|
||||
}, {
|
||||
type: src_app_services_auth_service__WEBPACK_IMPORTED_MODULE_6__["AuthService"]
|
||||
type: src_app_services_auth_service__WEBPACK_IMPORTED_MODULE_5__["AuthService"]
|
||||
}, {
|
||||
type: _services_processes_service__WEBPACK_IMPORTED_MODULE_12__["ProcessesService"]
|
||||
type: _services_processes_service__WEBPACK_IMPORTED_MODULE_11__["ProcessesService"]
|
||||
}];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user