mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
1 line
13 KiB
JavaScript
1 line
13 KiB
JavaScript
|
|
!function(){function t(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return e(t,n)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=t[n];return a}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function i(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[9750,8621,9984,5752,5361,9492,4747],{17690:function(t,e,a){"use strict";a.d(e,{g:function(){return r}});var o=a(37716),r=function(){var t=function(){function t(){n(this,t)}return i(t,[{key:"transform",value:function(t){var e=new Date(t.taskStartDate);e.setMonth(e.getMonth()+1);var n=e.getFullYear()+"-"+e.getMonth()+"-"+e.getDate()+" "+e.getHours()+":"+e.getMinutes()+":"+e.getSeconds();return{SerialNumber:t.serialNumber,Folio:t.workflowInstanceDataFields.Subject,Senders:t.workflowInstanceDataFields.Sender,CreateDate:n,DocumentURL:t.workflowInstanceDataFields.ViewerRequest,Remetente:t.workflowInstanceDataFields.Remetente,DocumentsQty:t.totalDocuments,DocId:t.workflowInstanceDataFields.DispatchDocId,FolderID:t.workflowInstanceDataFields.FolderID,WorkflowName:t.workflowDisplayName,activityInstanceName:t.activityInstanceName,Status:t.workflowInstanceDataFields.Status}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"customTask",type:t,pure:!0}),t}()},28621:function(t,e,a){"use strict";a.d(e,{$:function(){return p}});var o=a(91841),r=a(92340),s=a(37716),c=a(37556),p=function(){var t=function(){function t(e,a){n(this,t),this.http=e,this.authheader={},this.loggeduser=a.ValidatedUser,this.headers=new o.WM,this.headers=this.headers.set("Authorization",this.loggeduser.BasicAuthKey)}return i(t,[{key:"GetTasksList",value:function(t,e){var n=r.N.apiURL+"tasks/List",a=new o.LE;return a=(a=a.set("ProcessName",t)).set("OnlyCount",e.toString()),this.http.get("".concat(n),{headers:this.headers,params:a})}},{key:"GetTask",value:function(t){var e=r.N.apiURL+"Tasks/FindTask",n=new o.LE;return n=n.set("serialNumber",t),this.http.get("".concat(e),{headers:this.headers,params:n})}},{key:"SetTaskToPending",value:function(t){var e=r.N.apiURL+"Tasks/SetTaskPending",n=new o.LE;return n=n.set("serialNumber",t),this.http.post("".concat(e),"",{headers:this.headers,params:n})}},{key:"GetPendingTasks",value:function(t){var e=r.N.apiURL+"Tasks/ListPending",n=new o.LE;return n=n.set("onlyCount",t.toString()),this.http.get("".concat(e),{headers:this.headers,params:n})}},{key:"DelegateTask",value:function(t){return this.http.post(r.N.apiURL+"Tasks/DelegateTask",t,{headers:this.headers})}},{key:"GetTaskParticipants",value:function(t){var e=r.N.apiURL+"Processes/GetUsersInDispash",n=new o.LE;return n=n.set("folderId",t),this.http.get("".concat(e),{headers:this.headers,params:n})}},{key:"FindTaskDocId",value:function(t){var e=r.N.apiURL+"Tasks/FindExpedienteDocId",n=new o.LE;return n=n.set("serialNumber",t),this.http.get("".concat(e),{headers:this.headers,params:n})}},{key:"GetMDOficialTasks",value:function(){return this.http.get(r.N.apiURL+"tasks/GetMDOficialTasks",{headers:this.headers})}},{key:"GetMDPersonalTasks",value:function(){return this.http.get(r.N.apiURL+"tasks/GetMDPersonalTasks",{headers:this.headers})}},{key:"GetToApprovedEvents",value:function(t,e){var n=r.N.
|