{"version":3,"sources":["webpack:///./src/enums/TipoBeneficioEnum.ts","webpack:///./src/views/Cesantia.vue?6bb9","webpack:///./src/views/Cesantia.vue?8815","webpack:///./src/views/Cesantia.vue?e67d","webpack:///./src/views/Cesantia.vue?13ad","webpack:///./src/views/Cesantia.vue?011f"],"names":["TipoBeneficioEnum","render","_vm","this","_h","$createElement","_c","_self","_m","staticClass","attrs","user","showValidationMessage","_e","validacionCertificacionTss","on","ValidarCertificacionTss","staticRenderFns","_v","loading","showCommunicationError","validationService","ValidationService","afiliadoService","AfiliadoService","requisitosBeneficio","aplicaTramiteYCumpleRequisitos","showPage","tableFields","key","label","sortable","cedula","esAfiInactivo","$router","push","Promise","resolve","reject","getPresolicitud","ParametrosObtencionPresolicitud","$store","state","then","response","data","solicitudes","length","find","x","tipoBeneficio","IngresoTardio","toString","solCancelada","docFirmado","catch","err","presolicitudEnProceso","fire","text","icon","timerProgressBar","onBeforeOpen","showLoading","allowOutsideClick","validarRequisitosBeneficio","aplicaTramite","requisitos","every","cumpleRequisito","close","confirmButtonText","onClose","path","query","numeroSolicitud","parametrosValidacionRequisitosBeneficio","codCuenta","TipoRequisitoEnum","Validacion","Cesantia","validarRequisitosBeneficios","entity","secuencia","validateCesantia","respCode","setValidacionCertificacionTssAction","validarCesantia","components","NameAndCedula","ValidationRequisitos","component"],"mappings":"kHAAA,IAAKA,GAAL,SAAKA,GACH,wCACA,wCACA,8BACA,6CAJF,CAAKA,MAAiB,KAQP,U,2CCRf,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAQF,EAAY,SAAEI,EAAG,MAAM,CAACJ,EAAIM,GAAG,GAAGN,EAAIM,GAAG,GAAGF,EAAG,MAAM,CAACG,YAAY,4BAA4B,CAACH,EAAG,MAAM,CAACG,YAAY,YAAY,CAACH,EAAG,gBAAgB,CAACI,MAAM,CAAC,KAAOR,EAAIS,SAAS,GAAGL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EAAKD,SAAU,EACfmB,YA/IpB,6BAoJW,SAAgB6C,GAAiB,WACpC,OAAO,IAAI/C,SAAQ,SAACC,EAASC,GACzB,EAAKjB,kBACA+D,iBAAiBD,GACjBxC,MACG,SACIC,GAI+B,MAA3BA,EAASC,KAAKwC,UACVzC,EAASC,KAAKqC,OAAOhB,eACrB,EAAKoB,oCACD1C,EAASC,KAAKqC,QAGtB,IAAKZ,QACL,EAAKnD,SAAU,EACfkB,EAAQO,EAASC,KAAKqC,UAGtB,IAAKZ,QACL,EAAKlD,wBAAyB,EAC9B,EAAKD,SAAU,EACfmB,QAIXiB,OAAM,WACH,IAAKe,QACL,EAAKlD,wBAAyB,EAC9B,EAAKD,SAAU,EACfmB,YApLpB,mCAyLW,WACHnC,KAAK+B,QAAQC,KAAK,WA1L1B,8FA6LW,WAA8BgD,EAAUzD,GAAxC,wFAGH,IAAKgC,KAAK,CACFC,KACI,6HACJC,KAAM,OACNC,kBAAkB,EAClBC,aAAc,WACV,IAAKC,eAETC,mBAAmB,IAXxB,SAesC7D,KAAKoF,gBAAgBJ,GAf3D,OAeFhF,KAAKW,2BAfH,OAiBMY,GACIvB,KAAKW,2BAA2BoD,cAC/B/D,KAAK+B,QAAQC,KAAK,uBAEnBhC,KAAKS,uBAAwB,EAC7B,IAAK0D,SAtBf,gDA7LX,iEAAsC,QAClB,gBAAf,eAAO,S,2BAER,gBADC,eAAO,wC,0DAFS,EAAQ,gBAN5B,eAAU,CACPkB,WAAY,CACRC,gBAAA,KACAC,uBAAA,SAGa,WCxG8W,I,wBCQ/XC,EAAY,eACd,EACA1F,EACAgB,GACA,EACA,KACA,WACA,MAIa,aAAA0E,E,oECnBf","file":"js/chunk-144a46d0.3045c01d.js","sourcesContent":["enum TipoBeneficioEnum {\r\n IngresoTardio = 1,\r\n Fallecimiento = 2,\r\n Cesantia = 6,\r\n VejezAnticipada = 5,\r\n // Sobrevivencia = 7,\r\n}\r\n\r\nexport default TipoBeneficioEnum;\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showPage)?_c('div',[_vm._m(0),_vm._m(1),_c('div',{staticClass:\"container-afp shadow-box\"},[_c('div',{staticClass:\"row mx-0\"},[_c('NameAndCedula',{attrs:{\"user\":_vm.user}})],1),_c('div',{staticClass:\"row margin-top-25 mx-0\"},[_vm._m(2),(!_vm.showValidationMessage)?_c('div',{staticClass:\"tab-content\",attrs:{\"id\":\"nav-tabContent\"}},[_vm._m(3)]):_vm._e()]),_c('ValidationRequisitos',{attrs:{\"TipoBeneficioEnum\":6,\"ShowValidationMessage\":_vm.showValidationMessage,\"validacionCertificacionTss\":_vm.validacionCertificacionTss},on:{\"ValidarCertificacionTss\":_vm.ValidarCertificacionTss}})],1)]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"cta-site\"},[_c('img',{attrs:{\"src\":require(\"../assets/images/bg-cat.jpg\"),\"alt\":\"\"}}),_c('div',[_c('div',{staticClass:\"fixed-height-61\"})])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"center\"},[_c('h3',{staticClass:\"page-title\"},[_vm._v(\"\\n Solicitud de Pensión por Cesantía por Edad Avanzada\\n \")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:\"nav nav-tabs\"},[_c('li',{staticClass:\"nav-item\"},[_c('a',{staticClass:\"nav-link active blue-text\",attrs:{\"href\":\"#\"}},[_vm._v(\"Cesantía por Edad Avanzada\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tab-pane fade show active\",attrs:{\"id\":\"nav-ingreso\",\"role\":\"tabpanel\",\"aria-labelledby\":\"nav-home-tab\"}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-6\"},[_c('p',{staticClass:\"info-text\"},[_vm._v(\"\\n Tienes derecho a la pensión mínima en caso de Cesantía por Edad Avanzada cuando cumples con las siguientes condiciones:\\n \\n\\n \")]),_c('ul',{staticClass:\"info-text\"},[_c('li',[_vm._v(\"•\\tQuedas privado de un trabajo remunerado.\")]),_c('li',[_vm._v(\"•\\tTienes cincuenta y siete (57) años de edad ya cumplidos.\")]),_c('li',[_vm._v(\"•\\tHaz cotizado un mínimo de trescientos (300) meses.\")]),_c('li',[_vm._v(\"•\\tTienes en tu cuenta de pensión un saldo suficiente para recibir un monto de pensión igual o superior a la pensión mínima.\")])]),_c('p',{staticClass:\"info-text\"},[_vm._v(\"\\n Para suscripción de este beneficio deberás completar, siguiendo las instrucciones, el formulario ‘‘Solicitud por Pensión por Cesantía por Edad Avanzada’’, \\n y tener a mano la documentación siguiente:\\n \")])]),_c('div',{staticClass:\"col-md-6\"},[_c('p',{staticClass:\"info-text\"},[_c('br'),_c('ul',[_c('li',[_vm._v(\"•\\tExtracto del Acta de Nacimiento del Afiliado, debidamente certificada.\")]),_c('li',[_vm._v(\"•\\tCopia de la Cédula de Identidad.\")]),_c('li',[_vm._v(\"•\\tCertificación de la TSS que indique que a la fecha de la solicitud de pensión el afiliado no cuenta con un empleo remunerado.\")])]),_vm._v(\"\\n Si no has cotizado un mínimo de 300 meses, puedes recibir la pensión mínima en base a tus fondos acumulados o tienes la opción de seguir cotizando hasta llegar a los trescientos (300) meses cotizados.\\n \")])])])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport NameAndCedula from \"@/components/person/NameAndCedula.vue\";\r\nimport ValidationRequisitos from \"@/components/ValidationRequisitos.vue\";\r\nimport ValidationService from \"@/services/ValidationService\";\r\nimport User from \"../models/User\";\r\nimport ValidacionCertificacionTss from \"@/models/ValidacionCertificacionTss\";\r\nimport { Action, Getter } from \"vuex-class\";\r\nimport { AxiosResponse } from \"axios\";\r\nimport ServiceResponseEntity from \"@/services/response-models/ServiceResponseEntity\";\r\nimport RequisitoBeneficio, {\r\n Requisito,\r\n ParametrosValidacionRequisitosBeneficio,\r\n} from \"@/models/RequisitoBeneficio\";\r\nimport TipoRequisitoEnum from \"@/enums/TipoRequisitoEnum\";\r\nimport TipoBeneficioEnum from \"@/enums/TipoBeneficioEnum\";\r\nimport Swal from \"sweetalert2\";\r\nimport AfiliadoService from \"@/services/AfiliadoService\";\r\nimport ServiceResponseSolicitudes from \"@/services/response-models/ServiceResponseSolicitudes\";\r\nimport ParametrosObtencionPresolicitud from \"@/models/ParametrosObtencionPresolicitud\";\r\nimport Presolicitud from \"@/models/Presolicitud\";\r\n\r\n@Component({\r\n components: {\r\n NameAndCedula,\r\n ValidationRequisitos\r\n },\r\n})\r\nexport default class Cesantia extends Vue {\r\n @Getter(\"user\") user: User;\r\n @Action(\"setValidacionCertificacionTssAction\")\r\n setValidacionCertificacionTssAction;\r\n public loading: boolean = false;\r\n public showCommunicationError: boolean = false;\r\n public validationService = new ValidationService();\r\n public afiliadoService = new AfiliadoService();\r\n public validacionCertificacionTss: ValidacionCertificacionTss = null;\r\n public requisitosBeneficio: RequisitoBeneficio = null;\r\n public aplicaTramiteYCumpleRequisitos: boolean = false;\r\n public showValidationMessage: boolean = false;\r\n public showPage:boolean = false;\r\n public tableFields: Array<{\r\n key: string;\r\n label: string;\r\n sortable: boolean;\r\n formatter?: (value: any, key: any, item: any) => any;\r\n }> = [\r\n { key: \"idRNC\", label: \"RNC\", sortable: false },\r\n { key: \"razonSocial\", label: \"Empleador\", sortable: false }\r\n ];\r\n\r\n created() {\r\n if (this.user.cedula && this.user.esAfiInactivo) {\r\n this.$router.push(\"/\");\r\n }\r\n this.showPage = true;\r\n }\r\n\r\n public obtenerPresolicitudEnProceso(): Promise {\r\n return new Promise((resolve, reject) => {\r\n this.afiliadoService\r\n .getPresolicitud(\r\n new ParametrosObtencionPresolicitud(\r\n null,\r\n this.$store.state.user.cedula,\r\n null,\r\n null\r\n )\r\n )\r\n .then((response: AxiosResponse) => {\r\n if (\r\n response.data.solicitudes &&\r\n response.data.solicitudes.length > 0\r\n ) {\r\n resolve(\r\n response.data.solicitudes.find(\r\n (x) =>\r\n (x.tipoBeneficio ===\r\n TipoBeneficioEnum.IngresoTardio.toString()) &&\r\n (!x.solCancelada) &&\r\n (!x.docFirmado)\r\n )\r\n );\r\n } else {\r\n resolve(null);\r\n }\r\n })\r\n .catch((err) => {\r\n reject();\r\n });\r\n });\r\n }\r\n\r\n public async validar() {\r\n this.loading = true;\r\n // const presolicitudEnProceso = await this.obtenerPresolicitudEnProceso();\r\n const presolicitudEnProceso = null;\r\n if (!presolicitudEnProceso) {\r\n Swal.fire({\r\n text:\r\n \"Valoramos tu tiempo. Este proceso puede tomar unos minutos. Gracias por utilizar nuestra plataforma digital de beneficios.\",\r\n icon: \"info\",\r\n timerProgressBar: true,\r\n onBeforeOpen: () => {\r\n Swal.showLoading();\r\n },\r\n allowOutsideClick: false,\r\n });\r\n this.showCommunicationError = false;\r\n this.requisitosBeneficio = await this.validarRequisitosBeneficio();\r\n this.aplicaTramiteYCumpleRequisitos =\r\n this.requisitosBeneficio.aplicaTramite &&\r\n this.requisitosBeneficio.requisitos.every(\r\n (x) => x.cumpleRequisito\r\n );\r\n \r\n //Ahora siempre validar la TSS\r\n // this.validacionCertificacionTss = await this.validarIngresoTardio(this.requisitosBeneficio.secuencia);\r\n // if (this.aplicaTramiteYCumpleRequisitos\r\n // && this.validacionCertificacionTss.aplicaTramite) {\r\n // this.$router.push(\"/registro-ingreso-tardio\");\r\n // }\r\n this.showValidationMessage = true;\r\n Swal.close();\r\n } else {\r\n Swal.fire({\r\n text: \"Ya tienes una solicitud del beneficio de Cesantía en proceso.\",\r\n confirmButtonText: \"Ir a mi solicitud\",\r\n icon: \"info\",\r\n onClose: () => {\r\n this.$router.push({\r\n path: \"/registro-cesantia\",\r\n query: {\r\n numeroSolicitud: presolicitudEnProceso.numeroSolicitud.toString(),\r\n },\r\n });\r\n },\r\n });\r\n }\r\n this.loading = false;\r\n }\r\n\r\n public validarRequisitosBeneficio(): Promise {\r\n return new Promise((resolve, reject) => {\r\n const parametrosValidacionRequisitosBeneficio = new ParametrosValidacionRequisitosBeneficio(\r\n null,\r\n this.user.codCuenta,\r\n TipoRequisitoEnum.Validacion,\r\n TipoBeneficioEnum.Cesantia\r\n );\r\n this.validationService\r\n .validarRequisitosBeneficios(\r\n parametrosValidacionRequisitosBeneficio\r\n )\r\n .then(\r\n (\r\n response: AxiosResponse<\r\n ServiceResponseEntity\r\n >\r\n ) => {\r\n // TODO: REMOVER\r\n // response.data.entity.requisitos.forEach((x) => {\r\n // x.cumpleRequisito = true;\r\n // });\r\n resolve(response.data.entity);\r\n }\r\n )\r\n .catch(() => {\r\n Swal.close();\r\n this.showCommunicationError = true;\r\n this.loading = false;\r\n reject();\r\n });\r\n });\r\n }\r\n\r\n public validarCesantia(secuencia: string): Promise {\r\n return new Promise((resolve, reject) => {\r\n this.validationService\r\n .validateCesantia(secuencia)\r\n .then(\r\n (\r\n response: AxiosResponse<\r\n ServiceResponseEntity\r\n >\r\n ) => {\r\n if (response.data.respCode === 200) {\r\n if (response.data.entity.aplicaTramite) {\r\n this.setValidacionCertificacionTssAction(\r\n response.data.entity\r\n );\r\n }\r\n Swal.close();\r\n this.loading = false;\r\n resolve(response.data.entity);\r\n } \r\n else {\r\n Swal.close();\r\n this.showCommunicationError = true;\r\n this.loading = false;\r\n reject();\r\n }\r\n }\r\n )\r\n .catch(() => {\r\n Swal.close();\r\n this.showCommunicationError = true;\r\n this.loading = false;\r\n reject();\r\n });\r\n });\r\n }\r\n\r\n public navigateToSolicitudes(): void {\r\n this.$router.push(\"/home\");\r\n }\r\n\r\n public async ValidarCertificacionTss(secuencia,aplicaTramiteYCumpleRequisitos){\r\n \r\n //this.showValidationMessage = true;\r\n Swal.fire({\r\n text:\r\n \"Valoramos tu tiempo. Este proceso puede tomar unos minutos. Gracias por utilizar nuestra plataforma digital de beneficios.\",\r\n icon: \"info\",\r\n timerProgressBar: true,\r\n onBeforeOpen: () => {\r\n Swal.showLoading();\r\n },\r\n allowOutsideClick: false,\r\n });\r\n \r\n\r\n this.validacionCertificacionTss = await this.validarCesantia(secuencia);\r\n \r\n if (aplicaTramiteYCumpleRequisitos\r\n && this.validacionCertificacionTss.aplicaTramite) {\r\n this.$router.push(\"/registro-cesantia\");\r\n }else{ \r\n this.showValidationMessage = true;\r\n Swal.close();\r\n }\r\n \r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Cesantia.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Cesantia.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Cesantia.vue?vue&type=template&id=1e679af8&scoped=true&\"\nimport script from \"./Cesantia.vue?vue&type=script&lang=ts&\"\nexport * from \"./Cesantia.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Cesantia.vue?vue&type=style&index=0&id=1e679af8&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1e679af8\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Cesantia.vue?vue&type=style&index=0&id=1e679af8&scoped=true&lang=css&\""],"sourceRoot":""}