1(self["webpackChunkunicenf"]=self["webpackChunkunicenf"]||[]).push([[2183],{72183:function(t,e,a){"use strict";a.r(e),a.d(e,{default:function(){return p}});var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-card",{attrs:{elevation:"5",outlined:"",shaped:""}},[a("v-dialog",{attrs:{"max-width":"500"},model:{value:t.sedeModal,callback:function(e){t.sedeModal=e},expression:"sedeModal"}},[a("v-card",{attrs:{elevation:"5",outlined:"",shaped:""}},[a("v-list-item",[a("v-list-item-title",{staticClass:"text-center"},[a("h5",[t._v("SEDE")])])],1),a("v-card-text",[a("v-container",[a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("v-data-table",{staticClass:"elevation-1",attrs:{headers:t.headerssede,items:t.datossede,search:t.searchsede,"items-per-page":5,id:"tableId","hide-default-footer":"","disable-pagination":""},on:{"click:row":function(e,a){var o=a.item;return t.seleccionarSede(o)}},scopedSlots:t._u([{key:"item.actions",fn:function(e){var o=e.item;return[a("v-icon",{staticClass:"mr-2",attrs:{color:"blue",small:""},on:{click:function(e){return t.seleccionarSede(o)}}},[t._v(" mdi-check-circle ")])]}}],null,!0)})],1),a("v-col",{attrs:{cols:"10"}}),a("v-col",{attrs:{cols:"2"}},[a("v-btn",{staticClass:"mx-2",staticStyle:{float:"right"},attrs:{fab:"",dark:"",small:"",color:"red darken-1",title:"SALIR"},on:{click:function(e){return t.closeSede()}}},[a("v-icon",{attrs:{dark:""}},[t._v(" mdi-close-circle-outline ")])],1)],1)],1)],1)],1)],1)],1),a("v-dialog",{staticClass:"text-cenet",attrs:{"max-width":"400"},model:{value:t.gestionModal,callback:function(e){t.gestionModal=e},expression:"gestionModal"}},[a("v-card",{attrs:{elevation:"5",outlined:"",shaped:""}},[a("v-card-title",[a("span",[a("h5",[t._v("GESTION")])])]),a("v-card-text",[a("v-container",[a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("v-data-table",{staticClass:"elevation-1",attrs:{headers:t.headersGestion,items:t.datosGestion,"items-per-page":5,id:"tableId","hide-default-footer":"","disable-pagination":""},on:{"click:row":function(e,a){var o=a.item;return t.seleccionarGestion(o)}},scopedSlots:t._u([{key:"item.actions",fn:function(e){var o=e.item;return[a("v-icon",{staticClass:"mr-2",attrs:{color:"#0091EA",small:"",title:"SELECCIONAR GESTION"},on:{click:function(e){return t.seleccionarGestion(o)}}},[t._v(" mdi-check-circle ")])]}}],null,!0)})],1),a("v-col",{attrs:{cols:"10"}}),a("v-col",{attrs:{cols:"2"}},[a("v-btn",{staticClass:"mx-2",staticStyle:{float:"right"},attrs:{fab:"",dark:"","x-small":"",color:"#EE680B",title:"SALIR"},on:{click:t.closeGestion}},[a("v-icon",{attrs:{dark:""}},[t._v(" mdi-close-circle-outline ")])],1)],1)],1)],1)],1)],1)],1),a("v-dialog",{staticClass:"text-cenet",attrs:{"max-width":"850"},model:{value:t.carreraModal,callback:function(e){t.carreraModal=e},expression:"carreraModal"}},[a("v-card",{attrs:{elevation:"5",outlined:"",shaped:""}},[a("v-card-title",[a("span",[a("h5",[t._v("CARRERA")])])]),a("v-card-text",[a("v-container",[a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("v-card-title",[a("v-text-field",{attrs:{"append-icon":"mdi-magnify",label:"BUSCAR CARRERA","single-line":"","hide-details":""},model:{value:t.searchcarrera,callback:function(e){t.searchcarrera=e},expression:"searchcarrera"}})],1)],1),a("v-col",{attrs:{cols:"12"}},[a("v-data-table",{staticClass:"elevation-1",attrs:{"footer-props":{itemsPerPageText:"DATOS POR PAGINA"},headers:t.headerscarrera,items:t.datosCarrera,"items-per-page":5,search:t.searchcarrera,id:"tableId"},on:{"click:row":function(e,a){var o=a.item;return t.seleccionarCarrera(o)}},scopedSlots:t._u([{key:"item.actions",fn:function(e){var o=e.item;return[a("v-icon",{staticClass:"mr-2",attrs:{color:"#0091EA",small:"",title:"SELECCIONAR CARRERA"},on:{click:function(e){return t.seleccionarCarrera(o)}}},[t._v(" mdi-check-circle ")])]}}],null,!0)})],1),a("v-col",{attrs:{cols:"10"}}),a("v-col",{attrs:{cols:"2"}},[a("v-btn",{staticClass:"mx-2",staticStyle:{float:"right"},attrs:{fab:"",dark:"",small:"",color:"red darken-1",title:"SALIR"},on:{click:t.closeCarrera}},[a("v-icon",{attrs:{dark:""}},[t._v(" mdi-close-circle-outline ")])],1)],1)],1)],1)],1)],1)],1),a("v-dialog",{attrs:{"max-width":"500"},model:{value:t.bloqueModal,callback:function(e){t.bloqueModal=e},expression:"bloqueModal"}},[a("v-card",{attrs:{elevation:"5",outlined:"",shaped:""}},[a("v-card-title",[a("span",[a("h5",[t._v("BLOQUES")])])]),a("v-card-text",[a("v-container",[a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("v-data-table",{staticClass:"elevation-1",attrs:{headers:t.headersBloque,items:t.datosBloque,"footer-props":{itemsPerPageText:"DATOS POR PAGINA"},id:"tableId","hide-default-footer":"","disable-pagination":""},scopedSlots:t._u([{key:"item.actions",fn:function(e){var o=e.item;return[a("v-icon",{staticClass:"mr-2",attrs:{small:"",color:"#0091EA",title:"SELECCIONAR BLOQUE"},on:{click:function(e){return t.seleccionarBloque(o)}}},[t._v(" mdi-check-circle ")])]}}],null,!0)})],1),a("v-col",{attrs:{cols:"10"}}),a("v-col",{attrs:{cols:"2"}},[a("v-btn",{staticClass:"mx-2",staticStyle:{float:"right"},attrs:{fab:"",dark:"","x-small":"",color:"#EE680B",title:"SALIR"},on:{click:function(e){t.bloqueModal=!1}}},[a("v-icon",{attrs:{dark:""}},[t._v(" mdi-close-circle-outline ")])],1)],1)],1)],1)],1)],1)],1),a("v-dialog",{attrs:{"max-width":"600"},model:{value:t.avisoModal,callback:function(e){t.avisoModal=e}
1,expression:"avisoModal"}},[a("v-card",{attrs:{elevation:"5",outlined:"",shaped:""}},[a("v-list-item",[a("v-list-item-title",{staticClass:"text-center"},[a("h4",[t._v("INFORMACIÃN")])])],1),a("v-card-text",[a("v-container",[a("v-row",[a("v-col",{attrs:{cols:"12",md:"12"}},[a("div",[a("v-alert",{staticStyle:{color:"#ffffff"},attrs:{dense:"",color:"#21618C"}},[a("h4",[t._v(" * LOS DATOS INTRODUCIDOS(HORAS) NO PODRAN SER MODIFICADOS LUEGO DE SU REGISTRO, POR FAVOR VERIFIQUE QUE LA INFORMACIÃN SEA LA CORRECTA ANTES DE SU "),a("br"),t._v(" Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â REGISTRO. ")])])],1)])],1)],1)],1)],1)],1),a("v-dialog",{staticClass:"text-cenet",attrs:{"max-width":"500"},model:{value:t.descargaModal,callback:function(e){t.descargaModal=e},expression:"descargaModal"}},[a("v-card",{attrs:{elevation:"5",outlined:"",shaped:""}},[a("v-container",[a("v-row",[a("v-col",{attrs:{cols:"12",md:"12"}}),a("v-col",{attrs:{cols:"12",md:"2"}}),a("v-col",{attrs:{cols:"12",md:"1"}}),a("v-col",{attrs:{cols:"12",sm:"2",md:"6"}},[a("v-menu",{attrs:{"close-on-content-click":!1,"nudge-right":40,transition:"scale-transition","offset-y":"","min-width":"auto"},scopedSlots:t._u([{key:"activator",fn:function(e){var o=e.on,r=e.attrs;return[a("v-text-field",t._g(t._b({attrs:{label:"FECHA DE REPORTE","prepend-icon":"mdi-calendar",readonly:""},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}},"v-text-field",r,!1),o))]}}]),model:{value:t.menuFin,callback:function(e){t.menuFin=e},expression:"menuFin"}},[a("v-date-picker",{attrs:{"first-day-of-week":1,locale:"es-AR"},on:{input:function(e){t.menuFin=!1}},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}})],1)],1),a("v-col",{attrs:{cols:"12",md:"7"}}),a("v-col",{attrs:{cols:"12",md:"5"}},[a("v-toolbar",{attrs:{dense:"",shaped:"",color:"#002245"}},[a("v-toolbar-title",{staticStyle:{color:"#ffffff"}},[a("h6",[t._v("OPCIONES")])]),a("v-btn",{staticClass:"mx-2",staticStyle:{float:"left"},attrs:{fab:"",dark:"","x-small":"",color:"#EE680B",title:"DESCARGAR"},on:{click:function(e){return t.sacarDiaFecha()}}},[a("v-icon",{attrs:{dark:""}},[t._v(" mdi-download ")])],1)],1)],1)],1)],1)],1)],1),a("v-dialog",{staticClass:"text-cenet",attrs:{"max-width":"1000"},model:{value:t.validacionModal,callback:function(e){t.validacionModal=e},expression:"validacionModal"}},[a("v-card",{attrs:{elevation:"5",outlined:"",shaped:""}},[a("v-container",[a("v-card-title",{staticClass:"justify-center"},[a("span",{staticClass:"text-center"},[a("h5",[t._v("VALIDACIÃN REGISTRO BIOMÃTRICO")])])]),a("v-row",[a("v-col",{attrs:{cols:"12",md:"12"}}),a("v-col",{attrs:{cols:"12",md:"1"}}),a("v-col",{attrs:{cols:"12",md:"3"}},[a("v-text-field",{staticStyle:{"font-size":"30px"},attrs:{value:t.tiempoVerificado,min:0,label:"TIEMPO VERIFICADO(MIN)"},model:{value:t.tiempoVerificado,callback:function(e){t.tiempoVerificado=e},expression:"tiempoVerificado"}})],1),a("v-col",{attrs:{cols:"12",md:"3"}},[a("v-text-field",{attrs:{type:"number",value:t.tiempoRetraso,label:"RETRASO(MIN)",min:0,required:""},model:{value:t.tiempoRetraso,callback:function(e){t.tiempoRetraso=e},expression:"tiempoRetraso"}})],1),a("v-col",{attrs:{cols:"12",md:"3"}},[a("v-text-field",{attrs:{type:"number",value:t.salidaAntes,min:0,label:"SALIDA ANTICIPADA(MIN)",required:""},model:{value:t.salidaAntes,callback:function(e){t.salidaAntes=e},expression:"salidaAntes"}})],1),a("v-col",{attrs:{cols:"12",md:"2"}}),a("v-col",{attrs:{cols:"12",md:"1"}}),a("v-col",{attrs:{cols:"12",md:"9"}},[a("v-text-field",{attrs:{counter:200,label:"OBSERVACIONES",required:""},on:{input:function(e){t.observacion=t.observacion.toUpperCase()}},model:{value:t.observacion,callback:function(e){t.observacion=e},expression:"observacion"}})],1),a("v-col",{attrs:{cols:"12",md:"12"}}),a("v-col",{attrs:{cols:"12",md:"12"}}),a("v-col",{attrs:{cols:"12",md:"12"}}),a("v-col",{attrs:{cols:"12",md:"9"}}),a("v-col",{attrs:{cols:"12",md:"3"}},[a("v-toolbar",{attrs:{dense:"",shaped:"",color:"#002245"}},[a("v-toolbar-title",{staticStyle:{color:"#ffffff"}},[a("h6",[t._v("OPCIONES")])]),a("v-btn",{staticClass:"mx-2",staticStyle:{float:"left"},attrs:{fab:"",dark:"","x-small":"",color:"#EE680B",title:"VALIDAR"},on:{click:function(e){return t.validarControlDocenteDAC()}}},[a("v-icon",{attrs:{dark:""}},[t._v(" mdi-content-save-check-outline ")])],1)],1)],1)],1)],1)],1)],1),a("div",[a("v-alert",{staticStyle:{color:"#ffffff"},attrs:{dense:"",color:"#EE680B"}},[a("h5",[t._v("REPORTES RRHH")])])],1),a("v-tabs",{attrs:{horizontal:"",color:"#002245","center-active":"",grow:""}},[a("v-tab",{staticStyle:{"text-align":"center",background:"#B0BEC5"}},[a("v-icon",{attrs:{left:""}},[t._v(" mdi-text-search-variant ")]),t._v(" REPORTE MARCACIÃN DEL PERSONAL POR FECHAS ")],1),a("v-tab",{staticStyle:{"text-align":"center",background:"#FFCC80"}},[a("v-icon",{attrs:{left:""}},[t._v(" mdi-clock-check-outline ")]),t._v(" REPORTE MARCACIÃN GENERAL ")],1),a("v-tab",{staticStyle:{"text-align":"center",background:"#B0BEC5"}},[a("v-icon",{attrs:{left:""}},[t._v(" mdi-clock-check-outline ")]),t._v(" REPORTE MARCACIÃN ")],1),a("v-tab-item",[a("v-card",{attrs:{elevation:"5",outlined:"",shaped:""}},[a("v-card-text",[a("v-row",[a("v-row",[a("v-col",{attrs:{cols:"12",md:"11"}}),a("v-col",{attrs:{cols:"12",md:"2"}}),a("v-col",{attrs:{cols:"12",md:"2"}},[a("v-btn",{staticClass:"mx-2",staticStyle:{float:"right"},attrs:{fab:"",dark:"","x-small":"",color:"#EE680B",title:"BUSCAR SEDE"},on:{click:function(e){return t.showSede()}}},[a("v-icon",{attrs:{dark:""}},[t._v(" mdi-gesture-double-tap ")])],1)],1),a("v-col",{attrs:{cols:"12",md:"3"}},[a("v-text-field",{attrs:{label:"SEDE",disabled:"",required:""},model:{value:t.sede1,callback:function(e){t.sede1=e},expression:"sede1"}})],1),a("v-col",{attrs:{cols:"12",md:"1"}},[a("v-btn",{staticClass:"mx-2",staticStyle:{float:"right"},attrs:{fab:"",dark:"","x-small":"",color:"#EE680B",title:"BUSCAR GESTION"},on:{click:function(e){return t.showGestion()}}},[a("v-icon",{attrs:{dark:""}},[t._v(" mdi-gesture-double-tap ")])],1)],1),a("v-col",{attrs:{cols:"12",md:"2"}},[a("v-text-field",{attrs:{label:"GESTION",disabled:"",required:""},model:{value:t.gestion,callback:function(e){t.gestion=e},expression:"gestion"}})],1),a("v-col",{attrs:{cols:"12",md:"2"}}),a("v-col",{attrs:{cols:"12",md:"1"}}),a("v-col",{attrs:{cols:"12",md:"1"}},[a("v-btn",{staticClass:"mx-2",staticStyle:{float:"right"},attrs:{fab:"",dark:"","x-small":"",color:"#EE680B",title:"BUSCAR CARRERA"},on:{click:function(e){return t.showCarrera()}}},[a("v-icon",{attrs:{dark:""}},[t._v(" mdi-gesture-double-tap ")])],1)],1),a("v-col",{attrs:{cols:"12",md:"5"}},[a("v-text-field",{attrs:{label:"CARRERA",disabled:"",required:""},model:{value:t.carrera,callback:function(e){t.carrera=e},expression:"carrera"}})],1),a("v-col",{attrs:{cols:"12",sm:"2",md:"2"}},[a("v-menu",{attrs:{"close-on-content-click":!1,"nudge-right":40,transition:"scale-transition","offset-y":"","min-width":"auto"},scopedSlots:t._u([{key:"activator",fn:function(e){var o=e.on,r=e.attrs;return[a("v-text-field",t._g(t._b({attrs:{label:"FECHA INICIO","prepend-icon":"mdi-calendar",readonly:""},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}},"v-text-field",r,!1),o))]}}]),model:{value:t.menuIni,callback:function(e){t.menuIni=e},expression:"menuIni"}},[a("v-date-picker",{attrs:{"first-day-of-week":1,locale:"es-AR"},on:{input:function(e){t.menuIni=!1}},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}})],1)],1),a("v-col",{attrs:{cols:"12",sm:"2",md:"2"}},[a("v-menu",{attrs:{"close-on-content-click":!1,"nudge-right":40,transition:"scale-transition","offset-y":"","min-width":"auto"},scopedSlots:t._u([{key:"activator",fn:function(e){var o=e.on,r=e.attrs;return[a("v-text-field",t._g(t._b({attrs:{label:"FECHA FIN","prepe
1nd-icon":"mdi-calendar",readonly:""},model:{value:t.date1,callback:function(e){t.date1=e},expression:"date1"}},"v-text-field",r,!1),o))]}}]),model:{value:t.menuFin,callback:function(e){t.menuFin=e},expression:"menuFin"}},[a("v-date-picker",{attrs:{"first-day-of-week":1,locale:"es-AR"},on:{input:function(e){t.menuFin=!1}},model:{value:t.date1,callback:function(e){t.date1=e},expression:"date1"}})],1)],1)],1),a("v-col",{attrs:{cols:"12",md:"12"}}),a("v-tabs",{attrs:{horizontal:"",color:"#002245","center-active":"",grow:""}},[a("v-tab",[a("v-icon",{attrs:{left:""}},[t._v(" mdi-note-text-outline ")]),t._v(" DOCENTE: "+t._s(t.nombreDocente)+" "),a("br"),t._v(" MATERIA: "+t._s(t.materia)+" "),a("br"),t._v("GRUPO: "+t._s(t.grupo)+" ")],1)],1),a("v-col",{attrs:{cols:"12"}},[a("v-card-title",[a("v-text-field",{attrs:{"append-icon":"mdi-magnify",label:"BUSCAR DOCENTE/ASIGNATURA","single-line":"","hide-details":""},model:{value:t.searchDocente,callback:function(e){t.searchDocente=e},expression:"searchDocente"}})],1),a("v-data-table",{staticClass:"elevation-1",attrs:{headers:t.headersControlDocente,items:t.datosgrupos,"items-per-page":7,id:"tableId",search:t.searchDocente,"footer-props":{itemsPerPageText:"DATOS POR PAGINA"}},on:{"click:row":function(e,a){var o=a.item;return t.seleccionarGrupo(o)}}}
1)],1),a("v-col",{attrs:{cols:"12",md:"7"}}),a("v-col",{attrs:{cols:"12",md:"5"}},[a("v-toolbar",{attrs:{dense:"",shaped:"",color:"#002245"}},[a("v-toolbar-title",{staticStyle:{color:"#ffffff"}},[a("h6",[t._v("OPCIONES")])]),a("v-btn",{staticClass:"ma-2 white--text",attrs:{rounded:"",color:"#EE680B"},on:{click:function(e){return t.generarReporteFechas()}}},[t._v(" GENERAR REPORTE "),a("v-icon",{attrs:{right:"",dark:"",large:""}},[t._v(" mdi-file-pdf-box ")])],1),a("v-btn",{staticClass:"ma-2 white--text",attrs:{rounded:"",color:"#EE680B"},on:{click:function(e){return t.generarReportePorFechasExcel()}}},[t._v(" GENERAR REPORTE EXCEL "),a("v-icon",{attrs:{right:"",dark:"",large:""}},[t._v(" mdi-microsoft-excel ")])],1)],1)],1)],1)],1)],1)],1),a("v-tab-item",[a("v-card",{attrs:{elevation:"5",outlined:"",shaped:""}},[a("v-card-text",[a("v-row",[a("v-row",[a("v-col",{attrs:{cols:"12",md:"11"}}),a("v-col",{attrs:{cols:"12",md:"2"}}),a("v-col",{attrs:{cols:"12",md:"2"}},[a("v-btn",{staticClass:"mx-2",staticStyle:{float:"right"},attrs:{fab:"",dark:"","x-small":"",color:"#EE680B",title:"BUSCAR SEDE"},on:{click:function(e){return t.showSede()}}},[a("v-icon",{attrs:{dark:""}},[t._v(" mdi-gesture-double-tap ")])],1)],1),a("v-col",{attrs:{cols:"12",md:"3"}},[a("v-text-field",{attrs:{label:"SEDE",disabled:"",required:""},model:{value:t.sede1,callback:function(e){t.sede1=e},expression:"sede1"}})],1),a("v-col",{attrs:{cols:"12",md:"1"}},[a("v-btn",{staticClass:"mx-2",staticStyle:{float:"right"},attrs:{fab:"",dark:"","x-small":"",color:"#EE680B",title:"BUSCAR GESTION"},on:{click:function(e){return t.showGestion()}}},[a("v-icon",{attrs:{dark:""}},[t._v(" mdi-gesture-double-tap ")])],1)],1),a("v-col",{attrs:{cols:"12",md:"2"}},[a("v-text-field",{attrs:{label:"GESTION",disabled:"",required:""},model:{value:t.gestion,callback:function(e){t.gestion=e},expression:"gestion"}})],1),a("v-col",{attrs:{cols:"12",md:"2"}}),a("v-col",{attrs:{cols:"12",md:"3"}}),a("v-col",{attrs:{cols:"12",md:"1"}},[a("v-btn",{staticClass:"mx-2",staticStyle:{float:"right"},attrs:{fab:"",dark:"","x-small":"",color:"#EE680B",title:"BUSCAR CARRERA"},on:{click:function(e){return t.showCarrera()}}},[a("v-icon",{attrs:{dark:""}},[t._v(" mdi-gesture-double-tap ")])],1)],1),a("v-col",{attrs:{cols:"12",md:"5"}},[a("v-text-field",{attrs:{label:"CARRERA",disabled:"",required:""},model:{value:t.carrera,callback:function(e){t.carrera=e},expression:"carrera"}})],1)],1),a("v-col",{attrs:{cols:"12",md:"12"}}),a("v-tabs",{attrs:{horizontal:"",color:"#002245","center-active":"",grow:""}},[a("v-tab",[a("v-icon",{attrs:{left:""}},[t._v(" mdi-note-text-outline ")]),t._v(" DOCENTE: "+t._s(t.nombreDocente)+" "),a("br"),t._v(" MATERIA: "+t._s(t.materia)+" "),a("br"),t._v("GRUPO: "+t._s(t.grupo)+" ")],1)],1),a("v-col",{attrs:{cols:"12"}},[a("v-card-title",[a("v-text-field",{attrs:{"append-icon":"mdi-magnify",label:"BUSCAR DOCENTE/ASIGNATURA","single-line":"","hide-details":""},model:{value:t.searchDocente,callback:function(e){t.searchDocente=e},expression:"searchDocente"}})],1),a("v-data-table",{staticClass:"elevation-1",attrs:{headers:t.headersControlDocente,items:t.datosgrupos,"items-per-page":7,id:"tableId",search:t.searchDocente,"footer-props":{itemsPerPageText:"DATOS POR PAGINA"}},on:{"click:row":function(e,a){var o=a.item;return t.seleccionarGrupo(o)}}}
1)],1),a("v-col",{attrs:{cols:"12",md:"7"}}),a("v-col",{attrs:{cols:"12",md:"5"}},[a("v-toolbar",{attrs:{dense:"",shaped:"",color:"#002245"}},[a("v-toolbar-title",{staticStyle:{color:"#ffffff"}},[a("h6",[t._v("OPCIONES")])]),a("v-btn",{staticClass:"ma-2 white--text",attrs:{rounded:"",color:"#EE680B"},on:{click:function(e){return t.generarReporteMarcadoTotal()}}},[t._v(" GENERAR REPORTE "),a("v-icon",{attrs:{right:"",dark:"",large:""}},[t._v(" mdi-file-pdf-box ")])],1),a("v-btn",{staticClass:"ma-2 white--text",attrs:{rounded:"",color:"#EE680B"},on:{click:function(e){return t.generarReporteTodosMarcadosExcel()}}},[t._v(" GENERAR REPORTE EXCEL "),a("v-icon",{attrs:{right:"",dark:"",large:""}},[t._v(" mdi-microsoft-excel ")])],1)],1)],1)],1)],1)],1)],1),a("v-tab-item",[a("v-card",{attrs:{elevation:"5",outlined:"",shaped:""}},[a("v-card-text",[a("v-row",[a("v-row",[a("v-col",{attrs:{cols:"12",md:"11"}}),a("v-col",{attrs:{cols:"12",md:"2"}}),a("v-col",{attrs:{cols:"12",md:"2"}},[a("v-btn",{staticClass:"mx-2",staticStyle:{float:"right"},attrs:{fab:"",dark:"","x-small":"",color:"#EE680B",title:"BUSCAR SEDE"},on:{click:function(e){return t.showSede()}}},[a("v-icon",{attrs:{dark:""}},[t._v(" mdi-gesture-double-tap ")])],1)],1),a("v-col",{attrs:{cols:"12",md:"3"}},[a("v-text-field",{attrs:{label:"SEDE",disabled:"",required:""},model:{value:t.sede1,callback:function(e){t.sede1=e},expression:"sede1"}})],1),a("v-col",{attrs:{cols:"12",md:"1"}},[a("v-btn",{staticClass:"mx-2",staticStyle:{float:"right"},attrs:{fab:"",dark:"","x-small":"",color:"#EE680B",title:"BUSCAR GESTION"},on:{click:function(e){return t.showGestion()}}},[a("v-icon",{attrs:{dark:""}},[t._v(" mdi-gesture-double-tap ")])],1)],1),a("v-col",{attrs:{cols:"12",md:"2"}},[a("v-text-field",{attrs:{label:"GESTION",disabled:"",required:""},model:{value:t.gestion,callback:function(e){t.gestion=e},expression:"gestion"}})],1),a("v-col",{attrs:{cols:"12",md:"2"}}),a("v-col",{attrs:{cols:"12",md:"3"}}),a("v-col",{attrs:{cols:"12",md:"1"}},[a("v-btn",{staticClass:"mx-2",staticStyle:{float:"right"},attrs:{fab:"",dark:"","x-small":"",color:"#EE680B",title:"BUSCAR CARRERA"},on:{click:function(e){return t.showCarrera()}}},[a("v-icon",{attrs:{dark:""}},[t._v(" mdi-gesture-double-tap ")])],1)],1),a("v-col",{attrs:{cols:"12",md:"5"}},[a("v-text-field",{attrs:{label:"CARRERA",disabled:"",required:""},model:{value:t.carrera,callback:function(e){t.carrera=e},expression:"carrera"}})],1)],1),a("v-col",{attrs:{cols:"12",md:"12"}}),a("v-tabs",{attrs:{horizontal:"",color:"#002245","center-active":"",grow:""}},[a("v-tab",[a("v-icon",{attrs:{left:""}},[t._v(" mdi-note-text-outline ")]),t._v(" DOCENTE: "+t._s(t.nombreDocente)+" "),a("br"),t._v(" MATERIA: "+t._s(t.materia)+" "),a("br"),t._v("GRUPO: "+t._s(t.grupo)+" ")],1)],1),a("v-col",{attrs:{cols:"12"}},[a("v-card-title",[a("v-text-field",{attrs:{"append-icon":"mdi-magnify",label:"BUSCAR DOCENTE/ASIGNATURA","single-line":"","hide-details":""},model:{value:t.searchDocente,callback:function(e){t.searchDocente=e},expression:"searchDocente"}})],1),a("v-data-table",{staticClass:"elevation-1",attrs:{headers:t.headersControlDocente,items:t.datosgrupos,"items-per-page":7,id:"tableId",search:t.searchDocente,"footer-props":{itemsPerPageText:"DATOS POR PAGINA"}},on:{"click:row":function(e,a){var o=a.item;return t.seleccionarGrupo(o)}}}
1)],1),a("v-col",{attrs:{cols:"12",md:"7"}}),a("v-col",{attrs:{cols:"12",md:"5"}},[a("v-toolbar",{attrs:{dense:"",shaped:"",color:"#002245"}},[a("v-toolbar-title",{staticStyle:{color:"#ffffff"}},[a("h6",[t._v("OPCIONES")])]),a("v-btn",{staticClass:"ma-2 white--text",attrs:{rounded:"",color:"#EE680B"},on:{click:function(e){return t.generarReporteMarcados()}}},[t._v(" GENERAR REPORTE "),a("v-icon",{attrs:{right:"",dark:"",large:""}},[t._v(" mdi-file-pdf-box ")])],1),a("v-btn",{staticClass:"ma-2 white--text",attrs:{rounded:"",color:"#EE680B"},on:{click:function(e){return t.generarReporteMarcadosExcel()}}},[t._v(" GENERAR REPORTE EXCEL "),a("v-icon",{attrs:{right:"",dark:"",large:""}},[t._v(" mdi-microsoft-excel ")])],1)],1)],1)],1)],1)],1)],1)],1),a("div",{staticClass:"text-center"},[a("v-snackbar",{attrs:{timeout:t.timeout,top:"",right:"",shaped:"",dense:"",color:"#EE680B",outlined:""},scopedSlots:t._u([{key:"action",fn:function(e){var o=e.attrs;return[a("v-icon",t._b({attrs:{right:""},on:{click:function(e){t.snackbarOK=!1}}},"v-icon",o,!1),[t._v(" mdi-close ")])]}}]),model:{value:t.snackbarOK,callback:function(e){t.snackbarOK=e},expression:"snackbarOK"}},[a("strong",[t._v(t._s(t.mensajeSnackbar))])])],1),a("div",{staticClass:"text-center"},[a("v-snackbar",{attrs:{timeout:t.timeout,top:"",right:"",shaped:"",dense:"",color:"#EE680B",outlined:""},scopedSlots:t._u([{key:"action",fn:function(e){var o=e.attrs;return[a("v-icon",t._b({attrs:{right:""},on:{click:function(e){t.snackbarError=!1}}},"v-icon",o,!1),[t._v(" mdi-close ")])]}}]),model:{value:t.snackbarError,callback:function(e){t.snackbarError=e},expression:"snackbarError"}},[a("strong",[t._v(t._s(t.mensajeSnackbarError))])])],1),a("div",{staticClass:"text-center"},[a("v-snackbar",{attrs:{timeout:t.timeout,top:"",right:"",shaped:"",dense:"",color:"#EE680B",outlined:""},scopedSlots:t._u([{key:"action",fn:function(e){var o=e.attrs;return[a("v-icon",t._b({attrs:{right:""},on:{click:function(e){t.snackbarErrorNoAutorizado=!1}}},"v-icon",o,!1),[t._v(" mdi-close ")])]}}]),model:{value:t.snackbarErrorNoAutorizado,callback:function(e){t.snackbarErrorNoAutorizado=e},expression:"snackbarErrorNoAutorizado"}},[a("strong",[t._v(t._s(t.mensajeSnackbarError1))])])],1)],1)},r=[],s=a(94373),i=a(38634),n=a(54133),l=a.n(n),c=a(42181),d=a(47093),h=a.n(d),u=a(10788),v=a(45935);l().vfs=c.b.vfs;var m={data(){return{gestionModal:0,nombreDocente:"",materia:"",grupo:"",idmodalidad:"",gestiunModal:!1,datosgrupos:[],gestion:"",datosGestion:[],id_sede:"",sede1:"",sedeModal:!1,datossede:[],token:"",datosToken:[],menuIni:0,date:"",searchDocente1:"",searchDocente:"",idPersonal:"",datosExtraer:[],searchcarrera:"",idPlanEstudio:"",idCarrera:"",carrera:"",carreraModal:0,datosCarrera:[],avisoModal:0,fecha:"",diaFecha:"",datosControlFecha:[],date:"",menuFin:0,descargaModal:0,response:null,idGrupo:"",unicodigo:"",idDia:"",observacion:"NINGUNA",start:null,end:null,modalEntrada:!1,time:null,validacionModal:0,datosControl:[],dia:"",idBloque:"",bloque:"",datosBloque:[],bloqueModal:0,fechaImpresion:"",menuIni:0,fechaModal:0,datosGruposDeDocenteAutorizado:[],monto:0,cantidadHoras:0,datosGrupos:[],factura:"",idFactura:"",buscarCarrera:"",fechaActual1:"",idGestion:"",snackbarOK:!1,mensajeSnackbar:"REGISTRO CORRECTO",snackbarError:!1,snackbarErrorNoAutorizado:!1,mensajeSnackbarError:"REGISTRO FALLIDO ",mensajeSnackbarError1:"CONTRATO NO AUTORIZADO ",timeout:2e3,user:{},usuario:"",id_sede:"",nomus:"",patus:"",matus:"",fechaActual:"",departamento:"",fechaInici:"",fechaInicio:"",fechaFin:"",headerscarrera:[{text:"CARRERA",value:"carrera",sortable:!0,class:"my-header-style"}],headerssede:[{text:"SEDE",value:"sede",sortable:!1,class:"my-header-style"}],headersControlDocente:[{text:"UNICODIGO",value:"iddoc",sortable:!1,class:"my-header-style"},{text:"DOCENTE",value:"doce",sortable:!1,class:"my-header-style"},{text:"CARRERA",value:"carrera",sortable:!1,class:"my-header-style"},{text:"ASIGNATURA",value:"materia",sortable:!1,class:"my-header-style"},{text:"GRUPO",value:"gru",sortable:!1,class:"my-header-style"}
1,{text:"DOCENTE",value:"docent",sortable:!1,class:"my-header-style"},{text:"TURNO",value:"tu",sortable:!1,class:"my-header-style"},{text:"NIVEL",value:"nivel",sortable:!1,class:"my-header-style"}],headersControlDocenteObservados:[{text:"HR. PLANI",value:"horario",sortable:!1},{text:"CARRERA",value:"carre",sortable:!1},{text:"ASIGNATURA",value:"mater",sortable:!1},{text:"GRUPO",value:"paral",sortable:!1},{text:"DOCENTE",value:"docent",sortable:!1},{text:"MARCADO ENTRADA(BIO)",value:"hrinibio",sortable:!1},{text:"MARCADO SALIDA(BIO)",value:"hrfinbio",sortable:!1},{text:"TIEMPO VERIFICADO DE CLASES(MIN)(BIO)",value:"tiempoverbio",sortable:!1},{text:"ENTRO DESPUES(MIN)(BIO)",value:"retraso",sortable:!1},{text:"SALIO ANTES(MIN)(BIO)",value:"ante",sortable:!1},{text:"OBSERVACIONES VALIDACIÃN",value:"obval",sortable:!1},{text:"ESTADO VALIDACIÃN COORD",value:"estval",sortable:!1},{text:"VALIDADO POR",value:"respons",sortable:!1},{text:"ESTADO VALIDACIÃN DAC",value:"estavaldac",sortable:!1},{text:"OPCIONES",value:"actions",sortable:!1}],headersGestion:[{text:"GESTION",value:"nom",sortable:!0,class:"my-header-style"}],headersBloque:[{text:"BLOQUE",value:"bloque",sortable:!1},{text:"OPCIONES",value:"actions",sortable:!1}],observacionRules:[t=>!!t||"OBSERVACIÃN ES REQUERIDO",t=>t&&t.length<=200||"OBSERVACIÃN DEBE TENER 200 CARACTERES COMO MAXIMO"],tiempoVerificadoRules:[t=>!!t||"TIEMPO VERIFICADO ES REQUERIDO",t=>t&&t.length<=4||"TIEMPO VERIFICADO DEBE TENER 4 DIGITOS COMO MAXIMO"],retrasoRules:[t=>!!t||"TIEMPO DE RETRASO ES REQUERIDO",t=>t&&t.length<=4||"TIEMPO DE RETRASO DEBE TENER 4 DIGITOS COMO MAXIMO"],salidaAntesRules:[t=>!!t||"TIEMPO DE SALIDA ANTICIPADA ES REQUERIDO",t=>t&&t.length<=4||"TIEMPO DE SALIDA ANTICIPADA DEBE TENER 4 DIGITOS COMO MAXIMO"]}},created:function(){this.user=JSON.parse(sessionStorage.getItem("session")),this.usuario=this.user.personal,this.id_sede=this.user.id_sede,this.nomus=this.user.nombres+" "+this.user.paterno+" "+this.user.materno,this.patus=this.user.paterno,this.matus=this.user.materno,this.departamento=this.user.sede},computed:{},components:{VueHtml2pdf:i.A},methods:{async generarReporteTodosMarcados(){try{const t=`/docente/imprimirReporteMarcadoTotal/${this.idGrupo},${this.id_sede},${this.idGestion},${this.idCarrera},${this.token}`,e=await s.A.post(t,null,{responseType:"blob"}),a=new Blob([e.data],{type:"application/pdf"}),o=document.createElement("a");o.href=window.URL.createObjectURL(a),o.download="reporte_marcado.pdf",document.body.appendChild(o),o.click(),o.remove(),window.URL.revokeObjectURL(o.href)}catch(t){this.snackbarError=!0,this.mensajeSnackbarError="SELECCIONE UN GRUPO ANTES DE GENERAR EL REPORTE"}},async generarReporteTodosMarcadosExcel(){try{const t=`/docente/imprimirReporteMarcadoTotalExcel/${this.idGrupo},${this.id_sede},${this.idGestion},${this.idCarrera},${this.token}`,e=await s.A.post(t,null,{responseType:"blob"}),a=new Blob([e.data],{type:"application/xlsx"}),o=document.createElement("a");o.href=window.URL.createObjectURL(a),o.download="reporte_marcado.xlsx",document.body.appendChild(o),o.click(),o.remove(),window.URL.revokeObjectURL(o.href)}catch(t){this.snackbarError=!0,this.mensajeSnackbarError="SELECCIONE UN GRUPO ANTES DE GENERAR EL REPORTE"}},async generarReportePorFechas(){try{const t=`/docente/imprimirReporteMarcadoPorFechas/${this.idGrupo},${this.id_sede},${this.idGestion},${this.idCarrera},${this.date},${this.date1},${this.token}`,e=await s.A.post(t,null,{responseType:"blob"}),a=new Blob([e.data],{type:"application/pdf"}),o=document.createElement("a");o.href=window.URL.createObjectURL(a),o.download="reporte_marcado.pdf",document.body.appendChild(o),o.click(),o.remove(),window.URL.revokeObjectURL(o.href)}catch(t){this.snackbarError=!0,this.mensajeSnackbarError="SELECCIONE UN GRUPO ANTES DE GENERAR EL REPORTE"}},async generarReportePorFechasExcel(){try{const t=`/docente/imprimirReporteMarcadoPorFechasExcel/${this.idGrupo},${this.id_sede},${this.idGestion},${this.idCarrera},${this.date},${this.date1},${this.token}`,e=await s.A.post(t,null,{responseType:"blob"}),a=new Blob([e.data],{type:"application/xlsx"}),o=document.createElement("a");o.href=window.URL.createObjectURL(a),o.download="reporte_marcado_por_fechas.xlsx",document.body.appendChild(o),o.click(),o.remove(),window.URL.revokeObjectURL(o.href)}catch(t){this.snackbarError=!0,this.mensajeSnackbarError="SELECCIONE UN GRUPO ANTES DE GENERAR EL REPORTE"}},async generarReporteMarcados(){try{const t=`/docente/imprimirReporteMarcado/${this.idGrupo},${this.id_sede},${this.idGestion},${this.idCarrera},${this.token}`,e=await s.A.post(t,null,{responseType:"blob"}),a=new Blob([e.data],{type:"application/pdf"}),o=document.createElement("a");o.href=window.URL.createObjectURL(a),o.download="reporte_marcado.pdf",document.body.appendChild(o),o.click(),o.remove(),window.URL.revokeObjectURL(o.href)}catch(t){this.snackbarError=!0,this.mensajeSnackbarError="SELECCIONE UN GRUPO ANTES DE GENERAR EL REPORTE"}},async generarReporteMarcadosExcel(){try{const t=`/docente/imprimirReporteMarcadoExcel/${this.idGrupo},${this.id_sede},${this.idGestion},${this.idCarrera},${this.token}`,e=await s.A.post(t,null,{responseType:"blob"}),a=new Blob([e.data],{type:"application/xlsx"}),o=document.createElement("a");o.href=window.URL.createObjectURL(a),o.download="reporte_marcados.xlsx",document.body.appendChild(o),o.click(),o.remove(),window.URL.revokeObjectURL(o.href)}catch(t){this.snackbarError=!0,this.mensajeSnackbarError="SELECCIONE UN GRUPO ANTES DE GENERAR EL REPORTE"}},seleccionarGrupo(t){this.idGrupo=t.idgr,this.nombreDocente=t.doce,this.materia=t.materia,this.grupo=t.gru},generarReporteMarcadoTotal(){this.generarReporteTodosMarcados()},generarReporteFechas(){this.generarReportePorFechas()},async generarToken(){try{const t=await s.A.post("/docente/extraerToken/"),e=t.data.token;e?(this.token=e,this.datosToken=[{token:e}]):this.datosToken=[]}catch(t){}},seleccionarGestion(t){this.gestion=t.nom,this.idGestion=t.id_gestion,this.gestionModal=!1},showGestion(){this.gestionModal=!0,this.listarGestion()},closeGestion(){this.gestionModal=!1},showSede(){this.listarsede(),this.sedeModal=!0},closeSede(){this.sedeModal=!1},seleccionarSede(t){this.carrera="",this.idCarrera="",this.gestion="",this.idGestion="",this.datosgrupos=[],this.date="",this.date1="",this.id_sede=t.idsd,this.sede1=t.sede,this.sedeModal=!1,this.listarGestion()},async listarsede(){let t=this;
1await s.A.get("/reporte/sedes").then((function(e){null==e.data.resultado?t.datossede=[]:t.datossede=e.data.resultado})).catch((function(t){}))},imprimirValidados(){const t=this.$refs.validados;t.generatePdf()},imprimirObservados(){const t=this.$refs.observados;t.generatePdf()},validar(t){this.horaInicio=t.hrinibio,this.horaFin=t.hrfinbio,this.idGrupo=t.idgrup,this.idControlDocente=t.idctl,null===this.idControlDocente&&(this.idControlDocente=0),this.tiempoVerificado=t.tiempoverbio,this.tiempoRetraso=t.retraso,this.salioAntes=t.ante,this.unicodigo=t.unicod,this.idGrupo=t.idgrup,this.validarControlDocenteDAC()},async validarControlDocenteDAC(){this.observacion=this.observacion.replaceAll("/","-").replaceAll(",",".");let t=this;await s.A.post("/docente/validarControlDocenteRRHH/"+this.idControlDocente+","+this.observacion+","+this.usuario+","+this.tiempoVerificado+","+this.tiempoRetraso+","+this.salidaAntes).then((function(e){t.snackbarOK=!0,t.validacionModal=!1,t.verificarHorariosDocente(),t.observacion="NINGUNA",t.salioAntes=0,t.tiempoVerificado=0,t.tiempoRetraso=0})).catch((function(e){t.snackbarError=!0}))},async extraerHorarioEntrada(){let t=this;for(let e=0;e<t.datosControlFecha.length;e++)t.fechaCalcular=t.date,t.idPersonal=t.datosControlFecha[e].idperon,t.hora=t.datosControlFecha[e].hrmin,await s.A.get("/docente/buscarmarcado/"+t.idPersonal+","+t.fechaCalcular+","+t.hora).then((function(a){null==a.data.resultado?(t.datosExtraer=[],t.datosControlFecha[e].hrinibio="00:00:00"):(t.datosExtraer=a.data.resultado,t.datosControlFecha[e].hrinibio=t.datosExtraer[0].marcad)})).catch((function(t){})),t.limpiarmarcado()},async verificarHorariosDocente(){let t=this;await s.A.get("/docente/verificarControlDocenteRRHH/"+this.id_sede+","+this.idGestion+","+this.date+","+this.date1+","+this.dia).then((function(e){null==e.data.resultado?t.datosControlFecha=[]:(t.posicioni=-1,t.datosControlFecha=e.data.resultado.map(((t,e)=>(t.hrmin&&t.hrmin.length>=5&&(t.hrmin=t.hrmin.substring(0,5)),t.hrmax&&t.hrmax.length>=5&&(t.hrmax=t.hrmax.substring(0,5)),t.hrentcha&&t.hrentcha.length>=5&&(t.hrentcha=t.hrentcha.substring(0,5)),t.hrsalcha&&t.hrsalcha.length>=5&&(t.hrsalcha=t.hrsalcha.substring(0,5)),t.col=e+1,t.horario=`${t.hrmin||""} - ${t.hrmax||""}`.trim(),t))))})).catch((function(t){}))},limpiarmarcado(){this.horaInicioBio="",this.datosExtraer=[]},showCarrera(){this.carreraModal=!0,this.listarCarrera()},closeCarrera(){this.carreraModal=!1},async listarCarrera(t){let e=this;await s.A.get("/postulante/listarcarrera/"+this.id_sede).then((function(t){null==t.data.resultado?e.datosCarrera=[]:e.datosCarrera=t.data.resultado})).catch((function(t){}))},seleccionarCarrera(t){this.datosgrupos=[],this.idPlanEstudio=t.idcar,this.carrera=t.carrera,this.idCarrera=t.idcarrera,this.idmodalidad=t.idcartp,this.carreraModal=!1,this.listarGrupos()},exportarExcelFecha(){const t=new(h().Workbook),e=t.addWorksheet("HOJA 1"),a="CONTROL DOCENTE";e.mergeCells("A1:M1");e.getCell("A1").value="CONTROL DOCENTE";const o=e.getCell("A1");o.value=a,o.font={bold:!0,size:16},o.alignment={horizontal:"center",vertical:"center"};for(let s=2;s<5;s++)e.addRow([]);e.columns=[{header:"CÃDIGO",key:"codmate",width:13},{header:"ASIGNATURA",key:"mater",width:45},{header:"DOCENTE",key:"docent",width:45},{header:"HORA INICIO",key:"hrmin",width:15},{header:"HORA FIN",key:"hrmax",width:15},{header:"AULA",key:"aul",width:30},{header:"HORA ENTRADA",key:"hrentcha",width:17},{header:"HORA SALIDA",key:"hrsalcha",width:17},{header:"MINUTOS PLANIFICADOS",key:"minplanif",width:20},{header:"TIEMPO VERIFICADO(MIN)",key:"tiemveri",width:20},{header:"ENTRO DESPUES(MIN)",key:"despues",width:17},{header:"SALIO ANTES(MIN)",key:"antes",width:17},{header:"OBSERVACIÃN",key:"obs",width:80},{header:`CONTROL DOCENTE ${this.date}`,key:"",width:0}];const r=e.getRow(5);r.values=e.columns.map((t=>t.header)),r.eachCell(((t,e)=>{t.font={bold:!0,size:9},t.alignment={horizontal:"center",vertical:"center"},t.fill={type:"pattern",pattern:"solid",fgColor:{argb:"7288AF"}},t.border={top:{style:"thin",color:{argb:"000000"}},left:{style:"thin",color:{argb:"000000"}},bottom:{style:"thin",color:{argb:"000000"}},right:{style:"thin",color:{argb:"000000"}}}}
1)),this.datosControlFecha.forEach(((t,a)=>{const o=e.addRow(t);o.eachCell((t=>{t.alignment={horizontal:"center",vertical:"center"},t.border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}}})),e.getRow(a+6).height=21})),t.xlsx.writeBuffer().then((t=>{const e=new Blob([t],{type:"application/octet-stream"});(0,u.saveAs)(e,`CONTROL DOCENTE ${this.date}.xlsx`)}))},exportarExcel(){const t=new(h().Workbook),e=t.addWorksheet("HOJA 1"),a="VALIDACIÃN DOCENTE";e.mergeCells("A1:P1");e.getCell("A1").value="VALIDACIÃN DOCENTE";const o=e.getCell("A1");o.value=a,o.font={bold:!0,size:16},o.alignment={horizontal:"center",vertical:"center"};for(let s=2;s<5;s++)e.addRow([]);e.columns=[{header:"UNICODIGO",key:"unicod",width:13},{header:"FECHA",key:"fechar",width:13},{header:"HR. PLANI",key:"horario",width:13},{header:"CARRERA",key:"carre",width:45},{header:"ASIGNATURA",key:"mater",width:45},{header:"GRUPO",key:"paral",width:13},{header:"DOCENTE",key:"docent",width:45},{header:"MARCADO ENTRADA(BIO)",key:"hrinibio",width:35},{header:"MARCADO SALIDA(BIO)",key:"hrfinbio",width:35},{header:"MINUTOS PLANIFICADOS",key:"minplanif",width:25},{header:"TIEMPO VERIFICADO DE CLASES(MIN)(BIO)",key:"tiempoverbio",width:25},{header:"ENTRO DESPUES(MIN)(BIO)",key:"retraso",width:10},{header:"SALIO ANTES(MIN)(BIO)",key:"ante",width:10},{header:"OBSERVACIONES VALIDACIÃN",key:"obval",width:35},{header:"OBSERVACIONES RRHH",key:"obsrrhh",width:35},{header:`VALIDACIÃN DOCENTE DE ${this.date} A ${this.date1}`,key:"",width:0}];const r=e.getRow(5);r.values=e.columns.map((t=>t.header)),r.eachCell(((t,e)=>{t.font={bold:!0,size:9},t.alignment={horizontal:"center",vertical:"center"},t.fill={type:"pattern",pattern:"solid",fgColor:{argb:"7288AF"}},t.border={top:{style:"thin",color:{argb:"000000"}},left:{style:"thin",color:{argb:"000000"}},bottom:{style:"thin",color:{argb:"000000"}},right:{style:"thin",color:{argb:"000000"}}}})),this.datosControlFecha.forEach(((t,a)=>{const o=e.addRow(t);o.eachCell((t=>{t.alignment={horizontal:"center",vertical:"center"},t.border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}}})),e.getRow(a+6).height=21})),t.xlsx.writeBuffer().then((t=>{const e=new Blob([t],{type:"application/octet-stream"});(0,u.saveAs)(e,`VALDIACION DOCENTE ${this.fechaActual}.xlsx`)}))},limpiar(){this.start=null,this.end=null,this.time=null,this.observacion="NINGUNA"},seleccionarControl(t){this.idControlDocente=t.idctl,null===this.idControlDocente&&(this.idControlDocente=0),this.observacion=t.obval,this.tiempoVerificado=t.tiempoverbio,this.minutosplanitotal=t.tiempoverbio,this.observacion=t.obsrrhh,null===this.observacion&&(this.observacion="NINGUNA"),this.tiempoRetraso=t.retraso,this.salioAntes=t.ante,this.unicodigo=t.unicod,this.validacionModal=!0},async listarHorariosControl(){let t=this;await s.A.get("/docente/listarHorariosControlChacal/"+this.id_sede+","+this.idGestion+","+this.idBloque+","+this.dia).then((function(e){null==e.data.resultado?t.datosControl=[]:t.datosControl=e.data.resultado.map((t=>(t.hrmin&&t.hrmin.length>=5&&(t.hrmin=t.hrmin.substring(0,5)),t.hrmax&&t.hrmax.length>=5&&(t.hrmax=t.hrmax.substring(0,5)),t.hrentcha&&t.hrentcha.length>=5&&(t.hrentcha=t.hrentcha.substring(0,5)),t.hrsalcha&&t.hrsalcha.length>=5&&(t.hrsalcha=t.hrsalcha.substring(0,5)),t)))})).catch((function(t){}))},async listarHorariosControlPorFecha(){let t=this;await s.A.get("/docente/listarHorariosControlChacalPorFecha/"+this.id_sede+","+this.idGestion+","+this.date+","+this.diaFecha).then((function(e){null==e.data.resultado?t.datosControlFecha=[]:(t.datosControlFecha=e.data.resultado.map((t=>(t.hrmin&&t.hrmin.length>=5&&(t.hrmin=t.hrmin.substring(0,5)),t.hrmax&&t.hrmax.length>=5&&(t.hrmax=t.hrmax.substring(0,5)),t.hrentcha&&t.hrentcha.length>=5&&(t.hrentcha=t.hrentcha.substring(0,5)),t.hrsalcha&&t.hrsalcha.length>=5&&(t.hrsalcha=t.hrsalcha.substring(0,5)),t))),t.exportarExcelFecha())})).catch((function(t){}))},seleccionarBloque(t){this.idBloque=t.idbloque,this.bloque=t.bloque,this.bloqueModal=!1,this.listarHorariosControl()},async listarBloque(){let t=this;await s.A.get("/docente/listarBloquesChacal/"+this.id_sede).then((function(e){null==e.data.resultado?t.datosBloque=[]:t.datosBloque=e.data.resultado})).catch((function(t){}))},showBloque(){this.listarBloque(),this.bloqueModal=!0},numeroALetras(t){this.montoLiteral1=v.NumerosALetras(this.monto);let e=this.montoLiteral1.indexOf("Pesos 00/100 ");this.montoLiteral=this.montoLiteral1.substring(0,e)},sacarCiudad(){switch(this.departamento){case"SEDE CENTRAL COCHABAMBA":this.departamento="Cochabamba";break;case"SUBSEDE ACADEMICA LA PAZ":this.departamento="La Paz";break;case"SUBSEDE ACADEMICA SANTA CRUZ":this.departamento="Santa Cruz";break;default:}},sacarDiaFecha(){const t=["domingo","lunes","martes","miercoles","jueves","viernes","sabado"];
1if(!this.date||isNaN(new Date(this.date).getTime()))return;this.fecha=new Date(this.date);const e=new Date(this.fecha.getTime()+6e4*this.fecha.getTimezoneOffset()),a=e.getDay(),o=t[a].toUpperCase();this.diaFecha=o,this.listarHorariosControlPorFecha()},cargarGestion(){this.gestion=this.datosGestion[0].nom,this.idGestion=this.datosGestion[0].id_gestion;const t=["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],e=["domingo","lunes","martes","miercoles","jueves","viernes","sabado"],a=new Date(this.date),o=new Date(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()),r=e[o.getDay()].toUpperCase();this.dia=r,this.fechaActual=`${o.getDate()} de ${t[o.getMonth()]} de ${o.getFullYear()}`.toUpperCase();const s=String(a.getUTCMonth()+1).padStart(2,"0"),i=String(a.getUTCDate()).padStart(2,"0");this.fechaUnion=`${a.getUTCFullYear()}-${s}-${i}`,this.verificarHorariosDocente()},async listarGestion(){this.generarToken();let t=this;await s.A.get("/estudiante/buscagestionactualinscr").then((function(e){null==e.data.resultado?t.datosGestion=[]:t.datosGestion=e.data.resultado})).catch((function(t){}))},async listarGrupos(t,e,a,o){let r=this;await s.A.get("/planificar/listag33/"+this.idCarrera+","+this.id_sede+","+this.idGestion+","+this.idmodalidad).then((function(t){null==t.data.resultado?r.datosgrupos=[]:r.datosgrupos=t.data.resultado})).catch((function(t){}))},totalHorasSueldo(){this.monto=0,this.cantidadHoras=0;for(let t=0;t<this.datosGruposDeDocenteAutorizado.length;t++)this.monto+=parseInt(this.datosGruposDeDocenteAutorizado[t].totalsueldosemestre),this.cantidadHoras+=this.datosGruposDeDocenteAutorizado[t].totalh;this.numeroALetras()},generarAdenda(){this.inactivarContrato(),this.registrarAdenda()}}},E=m,f=a(81656),b=(0,f.A)(E,o,r,!1,null,"122ca678",null),p=b.exports},10788:function(t,e,a){var o,r,s;(function(a,i){r=[],o=i,s="function"===typeof o?o.apply(e,r):o,void 0===s||(t.exports=s)})(0,(function(){"use strict";function e(t,e){return"undefined"==typeof e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}function o(t,e,a){var o=new XMLHttpRequest;o.open("GET",t),o.responseType="blob",o.onload=function(){l(o.response,e,a)},o.onerror=function(){console.error("could not download file")},o.send()}function r(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function s(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(o){var e=document.createEvent("MouseEvents");
1e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var i="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof a.g&&a.g.global===a.g?a.g:void 0,n=i.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=i.saveAs||("object"!=typeof window||window!==i?function(){}:"download"in HTMLAnchorElement.prototype&&!n?function(t,e,a){var n=i.URL||i.webkitURL,l=document.createElement("a");e=e||t.name||"download",l.download=e,l.rel="noopener","string"==typeof t?(l.href=t,l.origin===location.origin?s(l):r(l.href)?o(t,e,a):s(l,l.target="_blank")):(l.href=n.createObjectURL(t),setTimeout((function(){n.revokeObjectURL(l.href)}),4e4),setTimeout((function(){s(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,a,i){if(a=a||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(e(t,i),a);else if(r(t))o(t,a,i);else{var n=document.createElement("a");n.href=t,n.target="_blank",setTimeout((function(){s(n)}))}}:function(t,e,a,r){if(r=r||open("","_blank"),r&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof t)return o(t,e,a);var s="application/octet-stream"===t.type,l=/constructor/i.test(i.HTMLElement)||i.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||s&&l||n)&&"undefined"!=typeof FileReader){var d=new FileReader;d.onloadend=function(){var t=d.result;t=c?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=t:location=t,r=null},d.readAsDataURL(t)}else{var h=i.URL||i.webkitURL,u=h.createObjectURL(t);r?r.location=u:location.href=u,r=null,setTimeout((function(){h.revokeObjectURL(u)}),4e4)}});i.saveAs=l.saveAs=l,t.exports=l}))},45935:function(t,e){"use strict";function a(t){switch(t){case 1:return"Un";case 2:return"Dos";case 3:return"Tres";case 4:return"Cuatro";case 5:return"Cinco";case 6:return"Seis";case 7:return"Siete";case 8:return"Ocho";case 9:return"Nueve";default:return""}}function o(t,e){return e>0?t+" y "+a(e):t}function r(t){var e=Math.floor(t/10),r=t-10*e;switch(e){case 1:switch(r){case 0:return"Diez";case 1:return"Once";case 2:return"Doce";case 3:return"Trece";case 4:return"Catorce";case 5:return"Quince";default:return"Dieci"+a(r).toLowerCase()}case 2:switch(r){case 0:return"Veinte";default:return"Veinti"+a(r).toLowerCase()}case 3:return o("Treinta",r);case 4:return o("Cuarenta",r);case 5:return o("Cincuenta",r);case 6:return o("Sesenta",r);case 7:return o("Setenta",r);case 8:return o("Ochenta",r);case 9:return o("Noventa",r);case 0:return a(r);default:return""}}function s(t){var e=Math.floor(t/100),a=t-100*e;switch(e){case 1:return a>0?"Ciento "+r(a):"Cien";case 2:return"Doscientos "+r(a);case 3:return"Trescientos "+r(a);case 4:return"Cuatrocientos "+r(a);case 5:return"Quinientos "+r(a);case 6:return"Seiscientos "+r(a);case 7:return"Setecientos "+r(a);case 8:return"Ochocientos "+r(a);case 9:return"Novecientos "+r(a);default:return r(a)}}function i(t,e,a,o){var r=Math.floor(t/e),i=t-r*e,n="";return r>0&&(n=r>1?s(r)+" "+o:a),i>0&&(n+=""),n}function n(t){var e=1e3,a=Math.floor(t/e),o=t-a*e,r=i(t,e,"Un Mil","Mil"),n=s(o);return""===r?n:(r+" "+n).trim()}function l(t){var e=1e6,a=Math.floor(t/e),o=t-a*e,r=i(t,e,"Un Millón de","Millones de"),s=n(o);return""===r?s:(r+" "+s).trim()}function c(t){var e={numero:t,enteros:Math.floor(t),centavos:Math.round(100*t)-100*Math.floor(t),letrasCentavos:"",letrasMonedaPlural:"Pesos",letrasMonedaSingular:"Peso",letrasMonedaCentavoPlural:"/100 M.N.",letrasMonedaCentavoSingular:"/100 M.N."};return e.centavos>=0&&(e.letrasCentavos=function(){return e.centavos>=1&e.centavos<=9?"0"+e.centavos+e.letrasMonedaCentavoSingular:0===e.centavos?"00"+e.letrasMonedaCentavoSingular:e.centavos+e.letrasMonedaCentavoPlural}()),0===e.enteros?("Cero "+e.letrasMonedaPlural+" "+e.letrasCentavos).trim():1===e.enteros?(l(e.enteros)+" "+e.letrasMonedaSingular+" "+e.letrasCentavos).trim():(l(e.enteros)+" "+e.letrasMonedaPlural+" "+e.letrasCentavos).trim()}Object.defineProperty(e,"__esModule",{value:!0}),e.NumerosALetras=c}}]); 2//# sourceMappingURL=2183.28c76429.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.