Files
doneit-web/_platforms/browser/www/3416-es2015.bb83bec1c42c9ace1613.js
T

1 line
14 KiB
JavaScript
Raw Normal View History

2021-08-18 18:58:02 +01:00
(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[3416,8621,5361,9492],{45896:function(t,e,s){"use strict";s.d(e,{Q:function(){return o}});var i=s(37716),n=s(35957),a=s(28621),r=s(39895);let o=(()=>{class t{constructor(t,e,s){this.modalController=t,this.processes=e,this.router=s}ngOnInit(){}close(){this.modalController.dismiss("No")}save(){this.modalController.dismiss("Yes")}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(n.IN),i.Y36(a.$),i.Y36(r.F0))},t.\u0275cmp=i.Xpm({type:t,selectors:[["app-discart-expedient-modal"]],decls:15,vars:0,consts:[[1,"ion-no-border"],[1,"header-content","width-100"],[1,"header-title","d-flex","width-100"],[1,"header-body","width-100"],[1,"buttons","width-100"],["shape","round",1,"btn-ok-medium",3,"click"],["shape","round",1,"btn-delete-medium",3,"click"]],template:function(t,e){1&t&&(i._UZ(0,"ion-header",0),i.TgZ(1,"ion-content"),i.TgZ(2,"div",1),i.TgZ(3,"div",2),i.TgZ(4,"h3"),i._uU(5,"Deseja retirar este expediente da sua caixa de correspond\xeancia?"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(6,"div",3),i.TgZ(7,"p"),i._uU(8,"Nota: Ao Efetuar esta opera\xe7\xe3o, o tratamento deste expediente n\xe3o poder\xe1 ser realizado a partir da caixa de correspond\xeancia"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(9,"ion-footer"),i.TgZ(10,"div",4),i.TgZ(11,"button",5),i.NdJ("click",function(){return e.close()}),i._uU(12,"N\xe3o"),i.qZA(),i.TgZ(13,"button",6),i.NdJ("click",function(){return e.save()}),i._uU(14,"Sim"),i.qZA(),i.qZA(),i.qZA())},directives:[n.Gu,n.W2,n.fr],styles:["ion-content[_ngcontent-%COMP%]{--padding-top:15px;--padding-start:15px;--padding-end:15px}.header-content[_ngcontent-%COMP%]{overflow:hidden;margin:0 auto;align-items:center;justify-content:center}.header-title[_ngcontent-%COMP%]{font-family:Roboto;font-size:20px;color:#000;margin:0 5px}.header-body[_ngcontent-%COMP%]{margin:0 5px}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:15px 0}"]}),t})()},28621:function(t,e,s){"use strict";s.d(e,{$:function(){return o}});var i=s(91841),n=s(92340),a=s(37716),r=s(37556);let o=(()=>{class t{constructor(t,e){this.http=t,this.authheader={},this.loggeduser=e.ValidatedUser,this.headers=new i.WM,this.headers=this.headers.set("Authorization",this.loggeduser.BasicAuthKey)}GetTasksList(t,e){const s=n.N.apiURL+"tasks/List";let a=new i.LE;return a=a.set("ProcessName",t),a=a.set("OnlyCount",e.toString()),this.http.get(`${s}`,{headers:this.headers,params:a})}GetTask(t){const e=n.N.apiURL+"Tasks/FindTask";let s=new i.LE;return s=s.set("serialNumber",t),this.http.get(`${e}`,{headers:this.headers,params:s})}SetTaskToPending(t){const e=n.N.apiURL+"Tasks/SetTaskPending";let s=new i.LE;return s=s.set("serialNumber",t),this.http.post(`${e}`,"",{headers:this.headers,params:s})}GetPendingTasks(t){const e=n.N.apiURL+"Tasks/ListPending";let s=new i.LE;return s=s.set("onlyCount",t.toString()),this.http.get(`${e}`,{headers:this.headers,params:s})}DelegateTask(t){return this.http.post(n.N.apiURL+"Tasks/DelegateTask",t,{headers:this.headers})}GetTaskParticipants(t){const e=n.N.apiURL+"Processes/GetUsersInDispash";let s=new i.LE;return s=s.set("folderId",t),this.http.get(`${e}`,{headers:this.headers,params:s})}FindTaskDocId(t){const e=n.N.apiURL+"Tasks/FindExpedienteDocId";let s=new i.LE;return s=s.set("serialNumber",t),this.http.get(`${e}`,{headers:this.headers,params:s})}GetMDOficialTasks(){return this.http.get(n.N.apiURL+"tasks/GetMDOficialTasks",{headers:this.headers})}GetMDPersonalTasks(){return this.http.get(n.N.apiURL+"tasks/GetMDPersonalTasks",{headers:this.headers})}GetToApprovedEvents(t,e){const s=n.N.apiURL+"Tasks/ListByCategory";let a=new i.LE;return a=a.set("categoryname",t),a=a.set("onlyCount",e),this.http.get(`${s}`,{headers:this.headers,params:a})}PostTaskAction(t){return this.http.post(n.N.apiURL+"Tasks/Complete",t,{headers:this.headers})}CompleteTask(t){return this.http.post(n.N.apiURL+"Tasks/CompleteTask",t,{headers:this.headers})}CompleteParecerPrTask(t){return this.http.post(n.N.apiURL+"Tasks/CompleteTaskParecerPr",t,{headers:this.headers})}UpdateT