This commit is contained in:
tiago.kayaya
2021-09-06 14:41:32 +01:00
parent 54810d5b62
commit 2b2d4ef315
4 changed files with 18 additions and 9 deletions
+10 -2
View File
@@ -79,7 +79,11 @@ export class DespachoService {
solicitarParecer({note ='', documents = [], serialnumber, activityInstanceName}) {
let body;
if(activityInstanceName == 'Concluir Despacho' || activityInstanceName == 'Concluir Parecer' || activityInstanceName == 'Concluir Deferimento'){
if(activityInstanceName == 'Concluir Despacho'
|| activityInstanceName == 'Concluir Parecer'
|| activityInstanceName == 'Concluir Deferimento'
|| activityInstanceName == 'Tarefa de Deferimento'
){
body = {
"serialNumber": serialnumber,
"action": "Parecer",
@@ -109,7 +113,11 @@ export class DespachoService {
EfectuarDespacho({note = '', documents = [], serialnumber, activityInstanceName}) {
let body;
if(activityInstanceName == 'Concluir Despacho' || activityInstanceName == 'Concluir Parecer' || activityInstanceName == 'Concluir Deferimento'){
if(activityInstanceName == 'Concluir Despacho'
|| activityInstanceName == 'Concluir Parecer'
|| activityInstanceName == 'Concluir Deferimento'
|| activityInstanceName == 'Tarefa de Deferimento'
){
body = {
"serialNumber": serialnumber,
"action": "Despacho",
@@ -52,7 +52,7 @@ export class DespachoPage implements OnInit {
private despachoService: DespachoService,
private location: Location,
public p: PermissionService,
) {
this.activatedRoute.paramMap.subscribe(params => {
@@ -226,7 +226,7 @@ export class BookMeetingModalPage implements OnInit {
this.runValidation()
if(this.Form.invalid) return false
}
let Attendees = this.taskParticipants.concat(this.taskParticipantsCc);
this.eventBody={
@@ -284,15 +284,16 @@ export class BookMeetingModalPage implements OnInit {
}
else if(this.task.FsId == '361') {
const loader = this.toastService.loading()
try {
switch (this.loggeduser.Profile) {
case 'MDGPR':
await this.calendarService.createTaskEvent(this.task.FolderId, this.postData, "md",this.task.SerialNumber, this.task.FsId).toPromise();
await this.calendarService.createTaskEvent(this.task.FolderID | this.task.FolderId, this.postData, "md",this.task.SerialNumber, this.task.FsId).toPromise();
break;
case 'PR':
await this.calendarService.createTaskEvent(this.task.FolderId, this.postData, "pr",this.task.SerialNumber, this.task.FsId).toPromise();
await this.calendarService.createTaskEvent(this.task.FolderID | this.task.FolderId, this.postData, "pr",this.task.SerialNumber, this.task.FsId).toPromise();
break;
}
this.close();
@@ -307,7 +308,7 @@ export class BookMeetingModalPage implements OnInit {
}
if(true) {
//
//
}
}
@@ -155,9 +155,8 @@ ion-segment-button{
.exp-card-long{
cursor: pointer;
user-select: none;
//background: white;
background: white;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.07);
//Sbackground: white;
width: 360px;
margin: 7px 20px;
border-radius: 15px;
@@ -518,6 +517,7 @@ ion-list{
}
}
}
@media only screen and (min-width: 801px) {
.title{
font-size: 25px !important;