mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +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\">{{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>";
|
||||
__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<ion-header class=\"ion-no-border\">\r\n <ion-toolbar class=\"bg-blue\">\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 </ion-toolbar>\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 \r\n class=\"icon-next\" \r\n slot=\"end\" \r\n src=\"assets/images/icons-arrow-circle-arrow-right.svg\"\r\n [routerLink]=\"['/home/agenda']\"\r\n ></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 \r\n class=\"icon-next\" \r\n slot=\"end\" \r\n src=\"assets/images/icons-arrow-circle-arrow-right.svg\"\r\n (click)=\"openExpedientList()\"\r\n ></ion-icon>\r\n \r\n </div>\r\n <div class=\"content\">\r\n <ul>\r\n <li *ngFor = \"let task of expedientList\"\r\n (click)=\"viewExpedientDetail(task.SerialNumber)\">\r\n <!-- [routerLink]=\"['/home/gabinete-digital/expediente']\" -->\r\n >\r\n <div class=\"d-flex\">\r\n <div class=\"schedule-date\">\r\n <div class=\"time-end\">{{task.taskStartDate | date: 'dd-MM-yy'}}</div>\r\n <div class=\"time-start\">{{task.taskStartDate | date: 'HH:mm'}}</div>\r\n </div>\r\n <div class=\"schedule-details pointer\">\r\n <div class=\"description\">{{ task.workflowInstanceFolio }}</div>\r\n <div class=\"location\">{{ task.workflowInstanceDataFields.Sender }}</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>";
|
||||
/***/
|
||||
},
|
||||
|
||||
@@ -587,7 +587,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
loadChildren: function loadChildren() {
|
||||
return __webpack_require__.e(
|
||||
/*! import() | attendees-attendees-module */
|
||||
"common").then(__webpack_require__.bind(null,
|
||||
"attendees-attendees-module").then(__webpack_require__.bind(null,
|
||||
/*! ./attendees/attendees.module */
|
||||
"./src/app/pages/events/attendees/attendees.module.ts")).then(function (m) {
|
||||
return m.AttendeesPageModule;
|
||||
@@ -828,7 +828,13 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _gabinete_digital_expediente_expediente_detail_expediente_detail_page__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
||||
var _gabinete_digital_expediente_expediente_page__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
||||
/*! ../gabinete-digital/expediente/expediente.page */
|
||||
"./src/app/pages/gabinete-digital/expediente/expediente.page.ts");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _gabinete_digital_expediente_expediente_detail_expediente_detail_page__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
||||
/*! ../gabinete-digital/expediente/expediente-detail/expediente-detail.page */
|
||||
"./src/app/pages/gabinete-digital/expediente/expediente-detail/expediente-detail.page.ts");
|
||||
|
||||
@@ -1099,21 +1105,8 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
var _this9 = this;
|
||||
|
||||
this.processes.GetTasksList("Expediente", false).subscribe(function (result) {
|
||||
var AllResult = new Array();
|
||||
result.forEach(function (element) {
|
||||
var task = {
|
||||
"SerialNumber": element.serialNumber,
|
||||
"Folio": element.workflowInstanceFolio,
|
||||
"Senders": element.originator.email,
|
||||
"CreateDate": new Date(element.taskStartDate).toLocaleString(),
|
||||
"DocumentURL": element.formURL,
|
||||
"Remetente": element.workflowInstanceDataFields.Remetente
|
||||
}; // CreateDate
|
||||
|
||||
AllResult.push(task);
|
||||
});
|
||||
console.log(AllResult);
|
||||
_this9.taskslist = _this9.sortArrayISODate(AllResult).reverse();
|
||||
_this9.expedientList = result.reverse();
|
||||
console.log(_this9.expedientList);
|
||||
});
|
||||
}
|
||||
}, {
|
||||
@@ -1182,7 +1175,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_13__["ExpedienteDetailPage"],
|
||||
component: _gabinete_digital_expediente_expediente_detail_expediente_detail_page__WEBPACK_IMPORTED_MODULE_14__["ExpedienteDetailPage"],
|
||||
componentProps: {
|
||||
serialNumber: serialNumber,
|
||||
profile: this.profile
|
||||
@@ -1213,6 +1206,41 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
}, _callee10, this);
|
||||
}));
|
||||
}
|
||||
}, {
|
||||
key: "openExpedientList",
|
||||
value: function openExpedientList() {
|
||||
return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/regeneratorRuntime.mark(function _callee11() {
|
||||
var modal;
|
||||
return regeneratorRuntime.wrap(function _callee11$(_context11) {
|
||||
while (1) {
|
||||
switch (_context11.prev = _context11.next) {
|
||||
case 0:
|
||||
_context11.next = 2;
|
||||
return this.modalController.create({
|
||||
component: _gabinete_digital_expediente_expediente_page__WEBPACK_IMPORTED_MODULE_13__["ExpedientePage"],
|
||||
componentProps: {
|
||||
profile: this.profile
|
||||
},
|
||||
cssClass: 'modal',
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
case 2:
|
||||
modal = _context11.sent;
|
||||
_context11.next = 5;
|
||||
return modal.present();
|
||||
|
||||
case 5:
|
||||
modal.onDidDismiss();
|
||||
|
||||
case 6:
|
||||
case "end":
|
||||
return _context11.stop();
|
||||
}
|
||||
}
|
||||
}, _callee11, this);
|
||||
}));
|
||||
}
|
||||
}]);
|
||||
|
||||
return EventsPage;
|
||||
|
||||
Reference in New Issue
Block a user