{"version":3,"sources":["webpack:///./src/views/Profesor/DetalleGrupoAsignado.vue?c93d","webpack:///./src/assets/images/portrait/small/profile_pic.png","webpack:///./src/views/Profesor/DetalleGrupoAsignado.vue?918d","webpack:///./src/views/Profesor/TareasAlumnoProfesor.vue?91b2","webpack:///src/views/Profesor/TareasAlumnoProfesor.vue","webpack:///./src/views/Profesor/TareasAlumnoProfesor.vue?affb","webpack:///./src/views/Profesor/TareasAlumnoProfesor.vue?ab3c","webpack:///./src/views/Profesor/js/DetalleGrupoAsignado.js","webpack:///./src/views/Profesor/js/DetalleGrupoAsignado.js?654c","webpack:///./src/views/Profesor/DetalleGrupoAsignado.vue?34af","webpack:///./node_modules/flatpickr/dist/l10n/es.js","webpack:///./src/assets/images/logo/classroom.png","webpack:///./src/views/Profesor/DetalleGrupoAsignado.vue?b90d","webpack:///./src/views/Profesor/TareasAlumnoProfesor.vue?f2ca"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","attrs","_v","_s","grupo","programaEducativo","clave","modalidad","staticClass","cupo","inscritos","_l","asignatura","slot","isButtonDisabled","on","$event","getAsistenciaAsignatura","idAsignatura","getEvaluacionAsignatura","urlZoom","staticStyle","scopedSlots","_u","key","fn","ref","data","day","indexDay","undefined","dias","inicio","final","_e","alumnos","length","alumno","nombre","imagen","onLoadErrorImageHandler","showTareasAlumnoPopup","tareasPopup","idGrupo","selectedAlumno","hideTareasAlumnoPopup","titlePopup","asistenciaPopup","newDateMode","turnOnNewDateMode","nativeOn","asistenciasSelectAll","model","value","callback","$$v","selectAllCheckbox","expression","configFlatpickr","newDate","currentDayAsistencia","asistencias","indextr","matricula","fechaHoraRegistro","porcentajeAsistencias","asistenciasPaginates","asistenciasCurrentPage","asistencia","index","pasarAsistencia","$set","fechasAsistencia","fecha","prevPage","nextPage","cancelNewDate","saveNewDate","califPopup","finalGradesMode","finalGradesSaved","generalEditMode","newParcial","calificaciones","cancelUpdatedGrades","saveUpdatedGrades","isEditButtonDisabled","parciales","updateGrades","parcial","calif","promedio","validateInputCalif","class","tipo","nombreTipo","cancelNewParcial","saveNewParcial","existsNewParcial","disableAlumnosEditButton","cancelFinalGradesMode","finalGradesAlertPopup","saveFinalGrades","staticRenderFns","isPopupActive","tareasArray","tarea","titulo","descripcion","fechaEntrega","tareaEntregada","showTask","style","selectedTaskEntregada","taskAlumnoPopup","fechaTareaEntregada","comentarios","counterDanger","comentarioTareaProfesor","GuardarComentarioProfesor","component","weekdays","isNewDateSet","parcialesTemp","horario","tareasTemplatePopup","currentIdAsignatura","setTodayDate","tiposCalificaciones","id","dateFormat","locale","methods","selectOnOffAllcheckbox","booleanAsistencia","forEach","element","chunk","gradesType","categoriaEvaluacion","evaluaciones","elemCalif","push","idAlumno","calificacion","parseFloat","toFixed","grades","isBefore","parseInt","asistenciasAlumnos","fechaAsistencia","asistenciasCounter","isNaN","Math","round","nameAsignatura","openLoadingButton","asistenciaObject","fetch","baseUrl","method","headers","sessionStorage","getItem","body","JSON","stringify","then","rs","json","catch","error","console","log","status","result","$vs","notify","color","title","text","setFechasAsistencia","setAsistencias","closeLoadingButton","evaluacionObject","setParciales","setCalificaciones","getAllAvg","setTimeout","elementAlumno","asignaturas","event","target","src","idButton","backgroundColor","loading","background","container","scale","close","alumnoAsistencia","sumatoriaCalif","elmnt","alumnoParciales","isSaved","selectedDates","dateStr","pop","getAsistenciasPercentage","fechasAlumno","addFecha","elementAsistencia","createAsistenciasPaginates","fechasAsistenciaArray","elementFecha","editMode","countEmptyParciales","parcialIndex","uniq","saveEvaluaciones","createGradesObject","enableAlumnoEditButton","saveAsistencias","createAsistenciasObject","time","deepCopyParciales","updatedGradesObject","map","parcialesObject","parcialesObjectDeep","cloneDeep","Array","from","format","props","type","Object","getHorarioProfesor","components","flatPickr","TareasAlumnoProfesor","global","factory","fp","window","flatpickr","l10ns","Spanish","shorthand","longhand","months","ordinal","firstDayOfWeek","rangeSeparator","time_24hr","es","default","defineProperty"],"mappings":"kHAAA,yBAA6iB,EAAG,G,qBC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A,EACA,KACA,WACA,OAIa,e,wDCpBd,SAAU4I,EAAQC,GAC8CA,EAAQ3P,IADzE,CAIEG,GAAM,SAAUH,GAAW,aAE3B,IAAI4P,EAAuB,qBAAXC,aAA+CxN,IAArBwN,OAAOC,UAC3CD,OAAOC,UACP,CACEC,MAAO,IAEXC,EAAU,CACVhI,SAAU,CACNiI,UAAW,CAAC,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,OACtDC,SAAU,CACN,UACA,QACA,SACA,YACA,SACA,UACA,WAGRC,OAAQ,CACJF,UAAW,CACP,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,OAEJC,SAAU,CACN,QACA,UACA,QACA,QACA,OACA,QACA,QACA,SACA,aACA,UACA,YACA,cAGRE,QAAS,WACL,MAAO,KAEXC,eAAgB,EAChBC,eAAgB,MAChBC,WAAW,GAEfX,EAAGG,MAAMS,GAAKR,EACd,IAAIQ,EAAKZ,EAAGG,MAEZ/P,EAAQgQ,QAAUA,EAClBhQ,EAAQyQ,QAAUD,EAElBnB,OAAOqB,eAAe1Q,EAAS,aAAc,CAAE4D,OAAO,Q,qBCnExD7D,EAAOC,QAAU,IAA0B,8B,oCCA3C,yBAAkgB,EAAG,G,gFCArgB,yBAA6iB,EAAG","file":"js/chunk-495d5f80.c913f681.js","sourcesContent":["import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DetalleGrupoAsignado.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DetalleGrupoAsignado.vue?vue&type=style&index=0&lang=scss&\"","module.exports = __webpack_public_path__ + \"img/profile_pic.b6681619.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('vs-row',[_c('vs-col',{attrs:{\"vs-sm\":\"12\",\"vs-md\":\"12\",\"vs-w\":\"8\"}},[_c('vx-card',[_c('vs-row',[_c('vs-col',{attrs:{\"vs-w\":\"12\"}},[_c('h2',[_vm._v(_vm._s(_vm.grupo.programaEducativo))])]),_c('vs-col',{attrs:{\"vs-sm\":\"12\",\"vs-w\":\"6\"}},[_c('h3',[_vm._v(\"Grupo \"+_vm._s(_vm.grupo.clave))]),_c('h4',[_vm._v(\"Modalidad: \"+_vm._s(_vm.grupo.modalidad))])]),_c('vs-col',{attrs:{\"vs-sm\":\"12\",\"vs-w\":\"6\",\"vs-type\":\"flex\",\"vs-align\":\"flex-end\"}},[_c('vs-row',[_c('vs-col',{attrs:{\"vs-w\":\"6\"}},[_c('h1',{staticClass:\"mb-0 text-gray\"},[_vm._v(_vm._s(_vm.grupo.cupo)),_c('span',{staticClass:\"label-number\"},[_vm._v(\"Cupo\")])])]),_c('vs-col',{attrs:{\"vs-w\":\"6\"}},[_c('h1',{staticClass:\"mb-0 text-gray\"},[_vm._v(_vm._s(_vm.grupo.inscritos)),_c('span',{staticClass:\"label-number\"},[_vm._v(\"Inscritos\")])])])],1)],1),_c('vs-col',{attrs:{\"vs-w\":\"12\"}},[_c('vs-list',[_c('vs-list-header',{attrs:{\"title\":\"Mis Asignaturas\"}}),_c('vs-collapse',{attrs:{\"type\":\"margin\"}},_vm._l((_vm.grupo.asignaturas),function(asignatura){return _c('vs-collapse-item',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('vs-row',[_c('vs-col',{attrs:{\"vs-sm\":\"12\",\"vs-w\":\"6\"}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(asignatura.asignatura)+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")]),_c('vs-col',{attrs:{\"vs-sm\":\"12\",\"vs-w\":\"6\",\"vs-type\":\"flex\",\"vs-justify\":\"flex-end\"}},[_c('vs-button',{staticClass:\"vs-con-loading__container px-3\",attrs:{\"disabled\":_vm.isButtonDisabled,\"id\":\"asistencias-button\",\"color\":\"primary\",\"size\":\"small\",\"type\":\"filled\"},on:{\"click\":function($event){return _vm.getAsistenciaAsignatura(asignatura.idAsignatura, asignatura.asignatura)}}},[_vm._v(\"Asistencia\")]),_c('vs-button',{staticClass:\"ml-3 vs-con-loading__container px-3\",attrs:{\"disabled\":_vm.isButtonDisabled,\"id\":\"calificaciones-button\",\"color\":\"success\",\"size\":\"small\",\"type\":\"filled\"},on:{\"click\":function($event){return _vm.getEvaluacionAsignatura(asignatura.idAsignatura, asignatura.asignatura)}}},[_vm._v(\"Calificaciones\")]),(asignatura.urlZoom != '')?[_c('vs-button',{staticClass:\"ml-3 vs-con-loading__container px-3\",attrs:{\"id\":\"urlZoom-button\",\"color\":\"warning\",\"size\":\"small\",\"type\":\"filled\"}},[_c('a',{staticStyle:{\"color\":\"white\"},attrs:{\"href\":asignatura.urlZoom,\"target\":\"_blank\"}},[_vm._v(\"Link sesión\")])])]:[_c('vs-button',{staticClass:\"ml-3 vs-con-loading__container px-3\",attrs:{\"id\":\"urlZoom-button\",\"color\":\"danger\",\"size\":\"small\",\"type\":\"filled\"}},[_vm._v(\"Sin link de sesión\")])]],2)],1)],1),_c('vs-table',{attrs:{\"data\":asignatura},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar data = ref.data;\nreturn [_c('vs-tr',_vm._l((_vm.weekdays),function(day,indexDay){return _c('vs-td',[(data.dias != undefined)?[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(data.dias[indexDay].inicio)+\" - \"+_vm._s(data.dias[indexDay].final)+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")]:_vm._e()],2)}),1)]}}],null,true)},[_c('template',{slot:\"thead\"},_vm._l((_vm.weekdays),function(day){return _c('vs-th',[_vm._v(_vm._s(day))])}),1)],2)],1)}),1)],1)],1)],1)],1)],1),_c('vs-col',{attrs:{\"vs-sm\":\"12\",\"vs-md\":\"12\",\"vs-w\":\"4\"}},[_c('vx-card',[_c('vs-list',{staticStyle:{\"overflow-y\":\"scroll\",\"height\":\"40rem\"}},[_c('vs-list-header',{attrs:{\"title\":\"Integrantes de grupo\"}}),(_vm.grupo.alumnos.length === 0)?[_c('label',[_vm._v(\"Aún no existen alumnos inscritos a este grupo.\")]),_c('vs-avatar',{staticClass:\"mx-auto my-6 block\",attrs:{\"size\":\"80px\",\"src\":require(\"@/assets/images/logo/classroom.png\")}})]:_vm._l((_vm.grupo.alumnos),function(alumno){return _c('vs-list-item',{attrs:{\"title\":alumno.nombre}},[_c('template',{slot:\"avatar\"},[_c('img',{staticClass:\"rounded-full cursor-pointer block my-2 mr-2\",attrs:{\"src\":alumno.imagen,\"alt\":\"profile_image\",\"width\":\"32\",\"height\":\"32\"},on:{\"error\":_vm.onLoadErrorImageHandler}})]),_c('vs-button',{staticClass:\"px-4 py-1\",on:{\"click\":function($event){return _vm.showTareasAlumnoPopup(alumno)}}},[_vm._v(\"Tareas\")])],2)})],2)],1)],1)],1),(_vm.tareasTemplatePopup)?[_c('tareas-alumno-profesor',{attrs:{\"active\":_vm.tareasPopup,\"idGrupo\":_vm.grupo.idGrupo,\"alumno\":_vm.selectedAlumno},on:{\"hideTareasAlumnoPopup\":_vm.hideTareasAlumnoPopup}})]:_vm._e(),_c('vs-popup',{attrs:{\"fullscreen\":\"\",\"title\":_vm.titlePopup,\"active\":_vm.asistenciaPopup},on:{\"update:active\":function($event){_vm.asistenciaPopup=$event}}},[_c('div',{staticClass:\"flex flex-wrap mb-5\"},[_c('div',{staticClass:\"w-1/2\"},[_c('h2',[_vm._v(\"Asistencias\")])]),_c('div',{staticClass:\"w-1/2 flex items-center justify-end\"},[_c('div',[(!_vm.newDateMode)?_c('vs-button',{staticClass:\"small\",on:{\"click\":_vm.turnOnNewDateMode}},[_c('i',{staticClass:\"material-icons\"},[_vm._v(\"add\")])]):_vm._e()],1),(_vm.newDateMode)?[_c('vs-checkbox',{nativeOn:{\"click\":function($event){return _vm.asistenciasSelectAll($event)}},model:{value:(_vm.selectAllCheckbox),callback:function ($$v) {_vm.selectAllCheckbox=$$v},expression:\"selectAllCheckbox\"}},[_vm._v(\"Seleccionar todos\")]),_c('flat-pickr',{staticClass:\"vs-input--input flatpickr calendar-input text-center\",attrs:{\"config\":_vm.configFlatpickr,\"placeholder\":\"selecciona una fecha\"},on:{\"on-change\":_vm.newDate},model:{value:(_vm.currentDayAsistencia),callback:function ($$v) {_vm.currentDayAsistencia=$$v},expression:\"currentDayAsistencia\"}})]:_vm._e()],2),_c('div',{staticClass:\"w-full flex items-center justify-center \"},[_c('div',[_c('feather-icon',{attrs:{\"icon\":'UserCheckIcon'}}),_c('span',{staticClass:\"mx-2 inline-block font-semibold\"},[_vm._v(\"Asistió\")]),_c('feather-icon',{attrs:{\"icon\":'UserXIcon',\"svgClasses\":'text-danger'}}),_c('span',{staticClass:\"mx-2 inline-block font-semibold\"},[_vm._v(\"No Asistió\")]),_c('feather-icon',{attrs:{\"icon\":'CircleIcon',\"svgClasses\":'text-primary'}}),_c('span',{staticClass:\"mx-2 inline-block font-semibold\"},[_vm._v(\"No inscrito\")])],1)])]),_c('vs-table',{attrs:{\"stripe\":\"\",\"data\":_vm.asistencias},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar data = ref.data;\nreturn _vm._l((data),function(alumno,indextr){return _c('vs-tr',{key:indextr},[_c('vs-td',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(alumno.matricula)+\"\\n\\t\\t\\t\\t\\t\\t\")]),_c('vs-td',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(alumno.nombre)+\"\\n\\t\\t\\t\\t\\t\\t\")]),_c('vs-td',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(alumno.fechaHoraRegistro)+\"\\n\\t\\t\\t\\t\\t\\t\")]),_c('vs-td',[_c('span',[_vm._v(_vm._s(alumno.porcentajeAsistencias)+\"%\")]),_c('vs-progress',{attrs:{\"percent\":alumno.porcentajeAsistencias,\"color\":alumno.porcentajeAsistencias >= 80 ? 'primary' : 'warning'}})],1),_vm._l((alumno.asistenciasPaginates[_vm.asistenciasCurrentPage]),function(asistencia,index){return _c('vs-td',[(asistencia.isSaved)?[(asistencia.asistencia == null)?_c('feather-icon',{attrs:{\"icon\":'CircleIcon',\"svgClasses\":'text-primary'}}):_c('feather-icon',{attrs:{\"icon\":asistencia.asistencia ? 'UserCheckIcon' : 'UserXIcon',\"svgClasses\":asistencia.asistencia ? '': 'text-danger'}})]:[_c('vs-checkbox',{nativeOn:{\"click\":function($event){return _vm.pasarAsistencia(alumno.asistenciasPaginates[_vm.asistenciasCurrentPage][index])}},model:{value:(alumno.asistenciasPaginates[_vm.asistenciasCurrentPage][index].asistencia),callback:function ($$v) {_vm.$set(alumno.asistenciasPaginates[_vm.asistenciasCurrentPage][index], \"asistencia\", $$v)},expression:\"alumno.asistenciasPaginates[asistenciasCurrentPage][index].asistencia\"}})]],2)})],2)})}}])},[_c('template',{slot:\"thead\"},[_c('vs-th',[_vm._v(\"Matrícula\")]),_c('vs-th',[_vm._v(\"Nombre\")]),_c('vs-th',[_vm._v(\"Fecha Inscripción\")]),_c('vs-th',[_vm._v(\"Porcentaje\")]),_vm._l((_vm.fechasAsistencia[_vm.asistenciasCurrentPage]),function(fecha){return _c('vs-th',[_vm._v(_vm._s(fecha))])})],2)],2),_c('vs-row',{attrs:{\"vs-type\":\"flex\",\"vs-justify\":\"flex-end\"}},[_c('div',{staticClass:\"mt-5\"},[_c('vs-button',{staticClass:\"mt-2\",attrs:{\"type\":\"flat\",\"size\":\"small\",\"disabled\":_vm.asistenciasCurrentPage == 0},on:{\"click\":function($event){return _vm.prevPage()}}},[_c('feather-icon',{attrs:{\"icon\":'ChevronLeftIcon',\"svgClasses\":['h-5']}})],1),_c('vs-button',{staticClass:\"mt-2 ml-1\",attrs:{\"type\":\"flat\",\"size\":\"small\",\"disabled\":_vm.asistenciasCurrentPage == _vm.fechasAsistencia.length - 1 || _vm.fechasAsistencia.length == 0},on:{\"click\":function($event){return _vm.nextPage()}}},[_c('feather-icon',{attrs:{\"svgClasses\":['h-5'],\"icon\":'ChevronRightIcon'}})],1)],1)]),(_vm.newDateMode)?_c('vs-row',{attrs:{\"vs-type\":\"flex\",\"vs-justify\":\"flex-end\"}},[_c('vs-divider'),_c('div',{staticClass:\"mt-5\"},[_c('vs-button',{attrs:{\"color\":\"danger\"},on:{\"click\":_vm.cancelNewDate}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tCancelar\\n\\t\\t\\t\\t\\t\")]),_c('vs-button',{staticClass:\"ml-3 vs-con-loading__container\",attrs:{\"disabled\":_vm.isButtonDisabled,\"id\":\"save-dates-button\",\"color\":\"warning\"},on:{\"click\":_vm.saveNewDate}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tGuardar Asistencias\\n\\t\\t\\t\\t\\t\")])],1)],1):_vm._e()],1),_c('vs-popup',{attrs:{\"fullscreen\":\"\",\"title\":_vm.titlePopup,\"active\":_vm.califPopup},on:{\"update:active\":function($event){_vm.califPopup=$event}}},[_c('vs-row',{staticClass:\"mb-5\"},[_c('vs-col',{attrs:{\"vs-w\":\"6\"}},[_c('h2',[_vm._v(\"Calificaciones\")])]),_c('vs-col',{attrs:{\"vs-w\":\"6\",\"vs-type\":\"flex\",\"vs-align\":\"center\",\"vs-justify\":\"flex-end\"}},[(!_vm.finalGradesMode && !_vm.finalGradesSaved && !_vm.generalEditMode)?_c('vs-button',{staticClass:\"small\",on:{\"click\":_vm.newParcial}},[_c('i',{staticClass:\"material-icons\"},[_vm._v(\"add\")])]):_vm._e()],1)],1),_c('vs-table',{attrs:{\"stripe\":\"\",\"data\":_vm.calificaciones},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar data = ref.data;\nreturn _vm._l((data),function(alumno,indextr){return _c('vs-tr',{key:indextr},[_c('vs-td',{attrs:{\"data\":alumno.nombre}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(alumno.nombre)+\"\\n\\t\\t\\t\\t\\t\\t\")]),(_vm.finalGradesSaved)?[_c('vs-td',[_c('vs-chip',[_vm._v(\"Sin Acciones\")])],1)]:[(alumno.editMode)?_c('vs-td',{staticClass:\"cell-width-200\"},[_c('vs-button',{attrs:{\"size\":\"small\",\"color\":\"danger\"},on:{\"click\":function($event){return _vm.cancelUpdatedGrades(alumno)}}},[_c('i',{staticClass:\"material-icons cursor-pointer edit-button-icon\"},[_vm._v(\"clear\")])]),_c('vs-button',{staticClass:\"ml-3\",attrs:{\"size\":\"small\",\"color\":\"success\"},on:{\"click\":function($event){return _vm.saveUpdatedGrades(alumno)}}},[_c('i',{staticClass:\"material-icons cursor-pointer edit-button-icon\"},[_vm._v(\"done\")])])],1):_c('vs-td',{staticClass:\"cell-width-200\"},[_c('vs-button',{staticClass:\"ml-3\",attrs:{\"size\":\"small\",\"color\":\"primary\",\"disabled\":_vm.isEditButtonDisabled || alumno.parciales.length == 0},nativeOn:{\"click\":function($event){return _vm.updateGrades(alumno)}}},[_c('i',{staticClass:\"material-icons cursor-pointer edit-button-icon\"},[_vm._v(\"edit\")])])],1)],_vm._l((alumno.parciales),function(parcial,index){return _c('vs-td',{attrs:{\"data\":alumno.parciales[index]}},[(parcial.isSaved)?[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t \"+_vm._s(parcial.calif)+\"\\n\\t\\t\\t\\t\\t\\t\\t\")]:[_c('vs-input-number',{attrs:{\"step\":0.5,\"max\":\"10\"},nativeOn:{\"click\":function($event){return _vm.promedio(alumno)},\"keyup\":function($event){return _vm.validateInputCalif($event, alumno.parciales, index, alumno)}},model:{value:(alumno.parciales[index].calif),callback:function ($$v) {_vm.$set(alumno.parciales[index], \"calif\", $$v)},expression:\"alumno.parciales[index].calif\"}})]],2)}),_c('vs-td',{attrs:{\"data\":alumno.promedio}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(alumno.promedio)+\"\\n\\t\\t\\t\\t\\t\\t\")]),(_vm.finalGradesMode)?_c('vs-td',{class:['final-grades-column'],attrs:{\"data\":alumno.tipo}},[_c('vs-select',{attrs:{\"autocomplete\":\"\",\"placeholder\":alumno.tipo.nombreTipo},model:{value:(alumno.tipo),callback:function ($$v) {_vm.$set(alumno, \"tipo\", $$v)},expression:\"alumno.tipo\"}},_vm._l((_vm.tiposCalificaciones),function(tipo,index){return _c('vs-select-item',{key:index,attrs:{\"value\":tipo,\"text\":tipo.nombreTipo}})}),1)],1):_vm._e(),(_vm.finalGradesSaved)?_c('vs-td',{attrs:{\"data\":alumno.tipo}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(alumno.tipo.nombreTipo)+\"\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e(),(_vm.finalGradesMode)?_c('vs-td',{class:['final-grades-column'],attrs:{\"data\":alumno.final}},[_c('vs-input-number',{attrs:{\"step\":0.5,\"max\":\"10\"},model:{value:(alumno.final),callback:function ($$v) {_vm.$set(alumno, \"final\", $$v)},expression:\"alumno.final\"}})],1):_vm._e(),(_vm.finalGradesSaved)?_c('vs-td',{class:['final-grades-column'],attrs:{\"data\":alumno.final}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(alumno.final)+\"\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e()],2)})}}])},[_c('template',{slot:\"thead\"},[_c('vs-th',[_vm._v(\"Nombre\")]),_c('vs-th',[_vm._v(\"Acciones\")]),_vm._l((_vm.parciales),function(parcial){return _c('vs-th',[_vm._v(_vm._s(parcial))])}),_c('vs-th',[_vm._v(\"Promedio\")]),(_vm.finalGradesMode || _vm.finalGradesSaved)?[_c('vs-th',[_vm._v(\"Tipo\")]),_c('vs-th',[_vm._v(\"Final\")])]:_vm._e()],2)],2),(_vm.existsNewParcial)?_c('vs-row',{attrs:{\"vs-type\":\"flex\",\"vs-justify\":\"flex-end\"}},[_c('div',{staticClass:\"mt-5\"},[_c('vs-button',{attrs:{\"color\":\"danger\"},on:{\"click\":_vm.cancelNewParcial}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tCancelar\\n\\t\\t\\t\\t\\t\")]),_c('vs-button',{staticClass:\"ml-3 vs-con-loading__container\",attrs:{\"disabled\":_vm.isButtonDisabled,\"id\":\"save-parcial-button\",\"color\":\"warning\"},on:{\"click\":_vm.saveNewParcial}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tGuardar Parciales\\n\\t\\t\\t\\t\\t\")])],1)]):_vm._e(),(!_vm.generalEditMode)?[(!_vm.existsNewParcial \n\t\t\t\t\t\t\t\t\t\t\t&& !_vm.finalGradesMode\n\t\t\t\t\t\t\t\t\t\t\t&& !_vm.finalGradesSaved)?_c('vs-row',{attrs:{\"vs-type\":\"flex\",\"vs-justify\":\"flex-end\"}},[_c('div',{staticClass:\"mt-5\"},[_c('vs-button',{staticClass:\"ml-3\",attrs:{\"color\":\"primary\"},on:{\"click\":function($event){_vm.finalGradesMode = true; _vm.disableAlumnosEditButton();}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tCalificaciones Finales\\n\\t\\t\\t\\t\\t\\t\")])],1)]):_vm._e()]:_vm._e(),(_vm.finalGradesMode)?_c('vs-row',{attrs:{\"vs-type\":\"flex\",\"vs-justify\":\"flex-end\"}},[_c('div',{staticClass:\"mt-5\"},[_c('vs-button',{attrs:{\"color\":\"danger\"},on:{\"click\":_vm.cancelFinalGradesMode}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tCancelar\\n\\t\\t\\t\\t\\t\\t\")]),_c('vs-button',{staticClass:\"ml-3\",attrs:{\"color\":\"success\"},on:{\"click\":function($event){_vm.finalGradesAlertPopup=true}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tGuardar Calificaciones Finales\\n\\t\\t\\t\\t\\t\\t\")])],1)]):_vm._e(),_c('vs-popup',{attrs:{\"title\":\"Advertencia\",\"active\":_vm.finalGradesAlertPopup},on:{\"update:active\":function($event){_vm.finalGradesAlertPopup=$event}}},[_c('p',[_vm._v(\"Una vez guardadas las calificaciones finales, no será posible editarlas más adelante.\")]),_c('p',[_vm._v(\"¿Seguro que quieres realizar esta acción?\")]),_c('vs-row',{staticClass:\"mt-3\",attrs:{\"vs-type\":\"flex\",\"vs-justify\":\"center\"}},[_c('div',[_c('vs-button',{attrs:{\"color\":\"dark\"},on:{\"click\":function($event){_vm.finalGradesAlertPopup=false}}},[_vm._v(\"Cancelar\")]),_c('vs-button',{staticClass:\"ml-3 vs-con-loading__container\",attrs:{\"disabled\":_vm.isButtonDisabled,\"id\":\"save-final-grades-button\",\"color\":\"success\"},on:{\"click\":_vm.saveFinalGrades}},[_vm._v(\"Sí\")])],1)])],1)],2)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"tareas-alumno\"}},[_c('vs-popup',{attrs:{\"fullscreen\":\"\",\"title\":null,\"active\":_vm.isPopupActive},on:{\"update:active\":function($event){_vm.isPopupActive=$event}}},[_c('div',{staticClass:\"w-full flex justify-between\"},[_c('h2',[_vm._v(\"Tareas\")]),_c('h3',[_vm._v(\"Alumno: \"),_c('span',{staticClass:\"text-gray\"},[_vm._v(_vm._s(_vm.alumno.nombre))])])]),_c('vs-table',{attrs:{\"data\":_vm.tareasArray},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar data = ref.data;\nreturn _vm._l((data),function(tarea,indextr){return _c('vs-tr',{key:indextr},[_c('vs-td',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\"+_vm._s(tarea.asignatura)+\"\\n\\t\\t\\t\\t\\t\\t\")]),_c('vs-td',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\"+_vm._s(tarea.titulo)+\"\\n\\t\\t\\t\\t\\t\\t\")]),_c('vs-td',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\"+_vm._s(tarea.descripcion)+\"\\n\\t\\t\\t\\t\\t\\t\")]),_c('vs-td',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\"+_vm._s(tarea.fechaEntrega)+\"\\n\\t\\t\\t\\t\\t\\t\")]),_c('vs-td',[_c('vs-chip',{attrs:{\"color\":tarea.tareaEntregada == false ? '':'success'}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(tarea.tareaEntregada == false ? 'Sin entregar':'Entregada')+\"\\n\\t\\t\\t\\t\\t\\t\\t\")])],1),_c('vs-td',[_c('vs-button',{staticClass:\"py-1 px-2\",attrs:{\"disabled\":tarea.tareaEntregada == false},nativeOn:{\"click\":function($event){return _vm.showTask(tarea.titulo, tarea.tareaEntregada)}}},[_c('i',{staticClass:\"material-icons\"},[_vm._v(\"assignment\")])])],1)],1)})}}])},[_c('template',{slot:\"thead\"},[_c('vs-th',[_vm._v(\"Asignatura\")]),_c('vs-th',[_vm._v(\"Título\")]),_c('vs-th',[_vm._v(\"Descripción\")]),_c('vs-th',[_vm._v(\"Fecha de entrega\")]),_c('vs-th',[_vm._v(\"Estado\")]),_c('vs-th',[_vm._v(\"Ver tarea\")])],1)],2),_c('vs-popup',{style:(['width = 300px']),attrs:{\"title\":_vm.selectedTaskEntregada.titulo,\"active\":_vm.taskAlumnoPopup},on:{\"update:active\":function($event){_vm.taskAlumnoPopup=$event}}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-1/2\"},[_c('h4',[_vm._v(\"Entregada\")]),_c('p',[_vm._v(_vm._s(_vm.selectedTaskEntregada.fechaTareaEntregada))]),_c('h4',[_vm._v(\"Comentarios\")]),_c('p',[_vm._v(_vm._s(_vm.selectedTaskEntregada.comentarios))])]),_c('div',{staticClass:\"vx-col w-1/2\",staticStyle:{\"height\":\"134px\",\"overflow\":\"scroll\"}},[_c('h4',[_vm._v(\"Documento(s)\")]),_vm._l((_vm.selectedTaskEntregada.documento),function(tarea){return _c('div',{attrs:{\"id\":\"input-upload-file\"}},[_c('div',{staticClass:\"vx-col w-full mt-2\"},[_c('a',{attrs:{\"href\":tarea,\"target\":\"_blank\"}},[_c('p',[_vm._v(\"Ver documento\")])])])])})],2),_c('div',{staticClass:\"vx-col sm:w-1/1 w-full mb-2 ml-auto mr-auto\"},[_c('h4',{staticClass:\"text-archive\"},[_vm._v(\"Escribe aquí tus comentarios \")]),_c('vs-textarea',{attrs:{\"counter\":\"2000\",\"counter-danger\":_vm.counterDanger,\"maxlength\":\"2000\"},on:{\"update:counterDanger\":function($event){_vm.counterDanger=$event},\"update:counter-danger\":function($event){_vm.counterDanger=$event}},model:{value:(_vm.comentarioTareaProfesor),callback:function ($$v) {_vm.comentarioTareaProfesor=$$v},expression:\"comentarioTareaProfesor\"}})],1),_c('div',{staticClass:\"vx-col m:w-1/1 w-full mt-3\"},[_c('vs-button',{staticClass:\"imh-right\",attrs:{\"size\":\"small\",\"disabled\":_vm.isButtonDisabled,\"id\":\"save-button\",\"color\":\"primary\",\"type\":\"filled\"},on:{\"click\":_vm.GuardarComentarioProfesor}},[_vm._v(\"Guardar\")])],1)])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TareasAlumnoProfesor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TareasAlumnoProfesor.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TareasAlumnoProfesor.vue?vue&type=template&id=19ca8497&\"\nimport script from \"./TareasAlumnoProfesor.vue?vue&type=script&lang=js&\"\nexport * from \"./TareasAlumnoProfesor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TareasAlumnoProfesor.vue?vue&type=style&index=0&lang=scss&\"\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 null,\n null\n \n)\n\nexport default component.exports","import BASE from '../../../../vue.config.js'\r\nimport flatPickr from 'vue-flatpickr-component';\r\nimport 'flatpickr/dist/flatpickr.css';\r\nimport { Spanish } from \"flatpickr/dist/l10n/es.js\"\r\nimport moment from 'moment'\r\nimport TareasAlumnoProfesor from '../TareasAlumnoProfesor.vue'\r\nimport _ from 'lodash';\r\n\r\nexport default {\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tweekdays: ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'],\r\n\t\t\texistsNewParcial: false,\r\n\t\t\tnewDateMode: false,\r\n\t\t\tisNewDateSet: false,\r\n\t\t\tfinalGradesMode: false,\r\n\t\t\tfinalGradesSaved: false,\r\n\t\t\tisButtonDisabled: false,\r\n\t\t\tisEditButtonDisabled: false,\r\n\t\t\tgeneralEditMode: false,\r\n\t\t\tparcialesTemp: [],\r\n\t\t\tselectAllCheckbox: true,\r\n\t\t\thorario: {\r\n\t\t\t\t\"nivel\": 1,\r\n\t\t\t\t\"Asignaturas\": [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"id\": 1,\r\n\t\t\t\t\t\t\"nombre\": \"Matemáticas I\",\r\n\t\t\t\t\t\t\"dias\": [\r\n\t\t\t\t\t\t\t{ \"nombre\": \"L\", \"inicio\": \"09:00\", \"final\": \"11:00\" },\r\n\t\t\t\t\t\t\t{ \"nombre\": \"M\", \"inicio\": \"\", \"final\": \"\" },\r\n\t\t\t\t\t\t\t{ \"nombre\": \"Mi\", \"inicio\": \"00:00\", \"final\": \"10:00\" },\r\n\t\t\t\t\t\t\t{ \"nombre\": \"J\", \"inicio\": \"\", \"final\": \"\" },\r\n\t\t\t\t\t\t\t{ \"nombre\": \"V\", \"inicio\": \"09:00\", \"final\": \"11:00\" },\r\n\t\t\t\t\t\t\t{ \"nombre\": \"S\", \"inicio\": \"\", \"final\": \"\" },\r\n\t\t\t\t\t\t\t{ \"nombre\": \"D\", \"inicio\": \"\", \"final\": \"\" }\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t},\r\n\t\t\ttitlePopup: '',\r\n\t\t\tasistenciaPopup: false,\r\n\t\t\tcalifPopup: false,\r\n\t\t\ttareasTemplatePopup: false,\r\n\t\t\ttareasPopup: false,\r\n\t\t\tselectedAlumno: '',\r\n\t\t\tfinalGradesAlertPopup: false,\r\n\t\t\t// grupo:{\r\n\t\t\t// \t// \"idGrupo\":'E434702D-87F1-489C-8BE3-1BB7AD0C536D',\r\n\t\t\t// \t\"idGrupo\":'3f2d4f6c-51b3-4c34-82a5-04b6154f82cd',\r\n\t\t\t// \t\"clave\":\"Grupo DA434\",\r\n\t\t\t// \t\"modalidad\": \"Bimestral - Diario\",\r\n\t\t\t// \t\"cupo\": \"15\",\r\n\t\t\t// \t\"inscritos\": '15',\r\n\t\t\t// \t\"asignaturas\":[],\r\n\t\t\t// \t\"alumnos\":[]\r\n\t\t\t// },\r\n\t\t\tcurrentIdAsignatura: '',\r\n\t\t\t// currentDayAsistencia:moment().format('YYYY-MM-DD'),\r\n\t\t\tcurrentDayAsistencia: this.setTodayDate(),\r\n\t\t\ttiposCalificaciones: [\r\n\t\t\t\t{\r\n\t\t\t\t\tid: 1,\r\n\t\t\t\t\tnombreTipo: 'ORD',\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tid: 2,\r\n\t\t\t\t\tnombreTipo: 'EXT'\r\n\t\t\t\t}\r\n\t\t\t],\r\n\t\t\tparciales: ['Parcial 1', 'Parcial 2'],\r\n\t\t\tfechasAsistencia: [],\r\n\t\t\tconfigFlatpickr: {\r\n\t\t\t\tdateFormat: 'Y-m-d',\r\n\t\t\t\tlocale: Spanish,\r\n\t\t\t\t// minDate:'today'\r\n\t\t\t},\r\n\r\n\t\t\tcalificaciones: [],\r\n\t\t\tasistencias: [],\r\n\t\t\tasistenciasCurrentPage: 0,\r\n\t\t}\r\n\t},\r\n\tmethods: {\r\n\t\tasistenciasSelectAll() {\r\n\t\t\tthis.selectAllCheckbox ?\r\n\t\t\t\tthis.selectOnOffAllcheckbox(false) : this.selectOnOffAllcheckbox(true);\r\n\t\t},\r\n\t\tselectOnOffAllcheckbox(booleanAsistencia) {\r\n\t\t\tthis.selectAllCheckbox = booleanAsistencia;\r\n\t\t\t// this.asistencias.forEach(element=> {\r\n\t\t\t// \telement.asistencias[element.asistencias.length - 1].asistencia = booleanAsistencia;\r\n\t\t\t// });\r\n\t\t\tthis.asistencias.forEach(element => {\r\n\t\t\t\telement.asistenciasPaginates[element.asistenciasPaginates.length - 1][0].asistencia = booleanAsistencia;\r\n\t\t\t});\r\n\t\t},\r\n\t\tcreateAsistenciasPaginates(alumno) {\r\n\t\t\talumno.asistenciasPaginates = _.chunk(alumno.asistencias, 7);\r\n\t\t},\r\n\t\tcreateGradesObject(gradesType) {\r\n\t\t\t// 1 de Parcial, 2 de Final\r\n\t\t\tlet categoriaEvaluacion = (gradesType === 'parcial') ? 1 : 2;\r\n\t\t\tlet evaluaciones = [];\r\n\t\t\tthis.calificaciones.forEach(elemCalif => {\r\n\t\t\t\tevaluaciones.push({\r\n\t\t\t\t\ttipo: this.existsNewParcial ? 1 : elemCalif.tipo.id,\r\n\t\t\t\t\tidAlumno: elemCalif.idAlumno,\r\n\t\t\t\t\tcalificacion: this.finalGradesMode ?\r\n\t\t\t\t\t\telemCalif.final : parseFloat(elemCalif.parciales[elemCalif.parciales.length - 1].calif).toFixed(1)\r\n\t\t\t\t})\r\n\t\t\t})\r\n\r\n\t\t\tlet grades = {\r\n\t\t\t\tidGrupo: this.grupo.idGrupo,\r\n\t\t\t\tcategoriaEvaluacion: categoriaEvaluacion,\r\n\t\t\t\tidAsignatura: this.currentIdAsignatura,\r\n\t\t\t\tevaluaciones: evaluaciones\r\n\t\t\t}\r\n\t\t\treturn grades;\r\n\t\t},\r\n\t\tcreateAsistenciasObject() {\r\n\t\t\tlet asistencias = [];\r\n\t\t\tthis.asistencias.forEach(element => {\r\n\t\t\t\tif (!(moment(this.fechasAsistencia[this.fechasAsistencia.length - 1][0]).isBefore(element.fechaHoraRegistro))) {\r\n\t\t\t\t\tlet asistencia = element.asistenciasPaginates[element.asistenciasPaginates.length - 1][0].asistencia;\r\n\r\n\t\t\t\t\t//little hack para convertir un boolean to string porque el method \"toString()\" no lo hace\r\n\t\t\t\t\tasistencia = \"\" + asistencia + \"\";\r\n\r\n\t\t\t\t\tasistencia = parseInt((asistencia === 'true') ? '1' : '0');\r\n\t\t\t\t\tasistencias.push({\r\n\t\t\t\t\t\tidAlumno: element.idAlumno,\r\n\t\t\t\t\t\tasistencia: asistencia\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\tlet asistenciasAlumnos = {\r\n\t\t\t\tidGrupo: this.grupo.idGrupo,\r\n\t\t\t\tidAsignatura: this.currentIdAsignatura,\r\n\t\t\t\tfechaAsistencia: this.fechasAsistencia[this.fechasAsistencia.length - 1][0],\r\n\t\t\t\tasistencias: asistencias\r\n\t\t\t}\r\n\t\t\treturn asistenciasAlumnos;\r\n\t\t},\r\n\t\tgetAllAvg() {\r\n\t\t\tthis.calificaciones.forEach(element => {\r\n\t\t\t\tthis.promedio(element);\r\n\t\t\t});\r\n\t\t},\r\n\t\tgetAsistenciasPercentage(alumno) {\r\n\t\t\tlet asistenciasCounter = 0;\r\n\t\t\talumno.asistencias.forEach(asistencia => {\r\n\t\t\t\tasistencia.asistencia ? asistenciasCounter++ : null;\r\n\t\t\t})\r\n\t\t\treturn isNaN(Math.round((asistenciasCounter * 100) / alumno.asistencias.length)) ?\r\n\t\t\t\t0 : Math.round((asistenciasCounter * 100) / alumno.asistencias.length);\r\n\t\t},\r\n\t\tgetAsistenciaAsignatura(idAsignatura, nameAsignatura = null) {\r\n\t\t\tthis.titlePopup = nameAsignatura;\r\n\t\t\tthis.newDateMode = false;\r\n\t\t\tthis.isNewDateSet = false;\r\n\t\t\tthis.asistenciasCurrentPage = 0;\r\n\t\t\tthis.openLoadingButton('#asistencias-button', 'primary');\r\n\t\t\tthis.currentIdAsignatura = idAsignatura;\r\n\t\t\tlet asistenciaObject = {\r\n\t\t\t\tidGrupo: this.grupo.idGrupo,\r\n\t\t\t\tidAsignatura: idAsignatura,\r\n\t\t\t\ttipo: 2 //1 para las asistencias\r\n\t\t\t}\r\n\t\t\tfetch(`${BASE.baseUrl}api/AsistenciasProfesor`, {\r\n\t\t\t\tmethod: 'POST',\r\n\t\t\t\theaders: {\r\n\t\t\t\t\t'Authorization': sessionStorage.getItem('token'),\r\n\t\t\t\t\t'Content-Type': 'application/json'\r\n\t\t\t\t},\r\n\t\t\t\tbody: JSON.stringify(asistenciaObject)\r\n\t\t\t})\r\n\t\t\t\t.then(rs => rs.json())\r\n\t\t\t\t.catch(error => console.log('error', error))\r\n\t\t\t\t.then(rs => {\r\n\t\t\t\t\tif (rs.status === 200) {\r\n\t\t\t\t\t\tif (rs.result.alumnos.length === 0) {\r\n\t\t\t\t\t\t\tthis.$vs.notify({ color: 'primary', title: 'Atención', text: 'Aún no existen alumnos inscritos para este grupo.' });\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tthis.setFechasAsistencia(rs.result.alumnos[0].asistencias);\r\n\t\t\t\t\t\t\tthis.setAsistencias(rs.result.alumnos);\r\n\t\t\t\t\t\t\tthis.asistenciaPopup = true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.$vs.notify({ color: 'warning', title: 'Alerta', text: 'Surgió un error, favor de intentarlo más tarde.' });\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.currentDayAsistencia = this.setTodayDate();\r\n\t\t\t\t\tthis.closeLoadingButton('#asistencias-button');\r\n\t\t\t\t})\r\n\t\t},\r\n\t\tgetEvaluacionAsignatura(idAsignatura, nameAsignatura = null) {\r\n\t\t\t// \tif (this.grupo.estatusGrupo == 'True') {\r\n\t\t\t// \t\tthis.$vs.notify({ color: 'warning', title: 'Grupo Abierto', text: 'Aún no se pueden calificar alumnos porque el grupo se encuentra abierto.', time: 5000 });\r\n\t\t\t// \t} else {\r\n\t\t\tthis.titlePopup = nameAsignatura;\r\n\t\t\tthis.openLoadingButton('#calificaciones-button', 'success');\r\n\t\t\tthis.generalEditMode = false;\r\n\t\t\tthis.existsNewParcial = false;\r\n\t\t\tthis.cancelFinalGradesMode();\r\n\t\t\tthis.finalGradesAlertPopup = false;\r\n\t\t\tthis.currentIdAsignatura = idAsignatura;\r\n\t\t\tlet evaluacionObject = {\r\n\t\t\t\tidGrupo: this.grupo.idGrupo,\r\n\t\t\t\tidAsignatura: idAsignatura,\r\n\t\t\t\ttipo: 1 //1 para las evaluaciones\r\n\t\t\t}\r\n\t\t\tfetch(`${BASE.baseUrl}api/EvaluacionesProfesor`, {\r\n\t\t\t\tmethod: 'POST',\r\n\t\t\t\theaders: {\r\n\t\t\t\t\t'Authorization': sessionStorage.getItem('token'),\r\n\t\t\t\t\t'pagina': 'misGrupos',\r\n\t\t\t\t\t'Content-Type': 'application/json'\r\n\t\t\t\t},\r\n\t\t\t\tbody: JSON.stringify(evaluacionObject)\r\n\t\t\t})\r\n\t\t\t\t.then(rs => rs.json())\r\n\t\t\t\t.catch(error => console.log('error: ', error))\r\n\t\t\t\t.then(rs => {\r\n\t\t\t\t\tif (rs.status === 200) {\r\n\t\t\t\t\t\tif (rs.result.alumnos.length === 0) {\r\n\t\t\t\t\t\t\tthis.$vs.notify({ color: 'primary', title: 'Atención', text: 'Aún no existen alumnos inscritos para este grupo.' });\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t// se ejecuta esta función para mostrar los parciales en la cabecera de la tabla\r\n\t\t\t\t\t\t\tthis.setParciales(rs.result.alumnos);\r\n\r\n\t\t\t\t\t\t\t// se llena el arreglo de calificaciones con los alumnos y sus calificaciones que se mostraran en la tabla\r\n\t\t\t\t\t\t\tthis.setCalificaciones(rs.result.alumnos);\r\n\r\n\t\t\t\t\t\t\t// Condición arreglada :)\r\n\t\t\t\t\t\t\tif (rs.result.finalGradesSaved) {\r\n\t\t\t\t\t\t\t\tthis.finalGradesSaved = true;\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t//Se le pone el promedio a todas las calificaciones\r\n\t\t\t\t\t\t\t\tthis.finalGradesSaved = false;\r\n\t\t\t\t\t\t\t\tthis.getAllAvg();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.titlePopup = nameAsignatura;\r\n\t\t\t\t\t\t\tthis.califPopup = true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.$vs.notify({ color: 'warning', title: 'Alerta', text: 'Surgió un error, favor de intentarlo más tarde.' });\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.closeLoadingButton('#calificaciones-button');\r\n\t\t\t\t})\r\n\t\t\t//}\r\n\r\n\t\t},\r\n\t\tshowTareasAlumnoPopup(idAlumno) {\r\n\t\t\tthis.tareasTemplatePopup = true;\r\n\t\t\tthis.selectedAlumno = idAlumno;\r\n\t\t\tthis.tareasPopup = true;\r\n\t\t},\r\n\t\thideTareasAlumnoPopup(value) {\r\n\t\t\tthis.tareasPopup = value;\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tthis.tareasTemplatePopup = value;\r\n\t\t\t}, 10)\r\n\t\t},\r\n\t\tgetHorarioProfesor() {\r\n\t\t\tfetch(`${BASE.baseUrl}api/HorarioProfesor/${this.grupo.idGrupo}`, {\r\n\t\t\t\tmethod: 'GET',\r\n\t\t\t\theaders: {\r\n\t\t\t\t\t'Authorization': sessionStorage.getItem('token'),\r\n\t\t\t\t\t'pagina': 'misGrupos',\r\n\t\t\t\t\t'Content-Type': 'application/json'\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t\t.then(rs => rs.json())\r\n\t\t\t\t.catch(error => console.log('error:', error))\r\n\t\t\t\t.then(rs => {\r\n\t\t\t\t\tif (rs.status === 200) {\r\n\t\t\t\t\t\trs.result.alumnos.forEach(elementAlumno => {\r\n\t\t\t\t\t\t\tthis.grupo.alumnos.push({\r\n\t\t\t\t\t\t\t\tidAlumno: elementAlumno.idAlumno,\r\n\t\t\t\t\t\t\t\tnombre: elementAlumno.nombre,\r\n\t\t\t\t\t\t\t\timagen: BASE.baseUrl + elementAlumno.imagen\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tthis.grupo.asignaturas = rs.result.asignaturas;\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t},\r\n\t\tonLoadErrorImageHandler(event) {\r\n\t\t\tevent.target.src = require(`@/assets/images/portrait/small/profile_pic.png`)\r\n\t\t},\r\n\t\topenLoadingButton(idButton, backgroundColor = 'primary') {\r\n\t\t\tthis.$vs.loading({\r\n\t\t\t\tbackground: backgroundColor,\r\n\t\t\t\tcolor: '#fff',\r\n\t\t\t\tcontainer: idButton,\r\n\t\t\t\tscale: 0.45\r\n\t\t\t})\r\n\t\t\tthis.isButtonDisabled = true;\r\n\t\t},\r\n\t\tcloseLoadingButton(idButton) {\r\n\t\t\tthis.$vs.loading.close(`${idButton} > .con-vs-loading`);\r\n\t\t\tthis.isButtonDisabled = false;\r\n\t\t},\r\n\t\tpasarAsistencia(alumnoAsistencia) {\r\n\t\t\t// alumnoAsistencia.asistencia = alumnoAsistencia.asistencia == 0 ? 1:0;\r\n\t\t\talumnoAsistencia.asistencia = alumnoAsistencia.asistencia ? false : true;\r\n\t\t},\r\n\t\tprevPage() {\r\n\t\t\tthis.asistenciasCurrentPage--;\r\n\t\t},\r\n\t\tnextPage() {\r\n\t\t\tthis.asistenciasCurrentPage++;\r\n\t\t},\r\n\t\tpromedio(alumno) {\r\n\t\t\tif (alumno.parciales.length !== 0) {\r\n\t\t\t\tlet sumatoriaCalif = 0;\r\n\t\t\t\talumno.parciales.forEach(elmnt => {\r\n\t\t\t\t\tsumatoriaCalif += parseFloat(elmnt.calif);\r\n\t\t\t\t})\r\n\t\t\t\tlet promedio = parseFloat((sumatoriaCalif / alumno.parciales.length).toFixed(1))\r\n\t\t\t\talumno.promedio = isNaN(promedio) ? 'Pendiente' : promedio;\r\n\t\t\t\talumno.final = alumno.promedio;\r\n\t\t\t} else {\r\n\t\t\t\talumno.final = alumno.promedio = 0;\r\n\t\t\t}\r\n\t\t},\r\n\t\tvalidateInputCalif($event, alumnoParciales, index, alumno) {\r\n\t\t\tif (parseFloat((event.target.value)) > 10) {\r\n\t\t\t\tevent.target.value = 10\r\n\t\t\t\talumnoParciales[index].calif = event.target.value\r\n\t\t\t}\r\n\t\t\tthis.promedio(alumno);\r\n\r\n\t\t},\r\n\t\tnewParcial() {\r\n\t\t\tif (this.existsNewParcial) {\r\n\t\t\t\tthis.$vs.notify({ color: 'warning', title: 'Alerta', text: 'Existe un parcial activo.' })\r\n\t\t\t} else {\r\n\t\t\t\tthis.existsNewParcial = true;\r\n\t\t\t\tthis.parciales.push(`Parcial ${this.parciales.length + 1}`)\r\n\t\t\t\tthis.calificaciones.forEach(element => {\r\n\t\t\t\t\telement.parciales.push({\r\n\t\t\t\t\t\tnombre: this.parciales[this.parciales.length - 1],\r\n\t\t\t\t\t\tcalif: 5,\r\n\t\t\t\t\t\tisSaved: false\r\n\t\t\t\t\t})\r\n\t\t\t\t});\r\n\t\t\t\tthis.disableAlumnosEditButton();\r\n\t\t\t}\r\n\t\t},\r\n\t\tnewDate(selectedDates, dateStr) {//instance\r\n\t\t\tthis.fechasAsistencia.pop();\r\n\t\t\tthis.fechasAsistencia.push([dateStr]);\r\n\t\t\tthis.asistencias.forEach(element => {\r\n\t\t\t\t// element.asistencias[element.asistencias.length - 1].fecha = dateStr;\r\n\t\t\t\telement.asistenciasPaginates[element.asistenciasPaginates.length - 1][0].fecha = dateStr;\r\n\t\t\t})\r\n\t\t},\r\n\t\tsetAsistencias(alumnos) {\r\n\t\t\tthis.asistencias = [];\r\n\t\t\talumnos.forEach(alumno => {\r\n\t\t\t\talumno.porcentajeAsistencias = this.getAsistenciasPercentage(alumno);\r\n\t\t\t\t// En caso de que un alumno se integra al grupo después de\r\n\t\t\t\t// que ya pasaron lista a otros alumno, se rellena la asistencia\r\n\t\t\t\t// de las fechas faltantes\r\n\t\t\t\tif (alumno.asistencias.length < this.fechasAsistencia.length) {\r\n\t\t\t\t\tlet fechasAlumno = [];\r\n\t\t\t\t\tlet addFecha = true;\r\n\t\t\t\t\tthis.fechasAsistencia.forEach((fecha) => { //indexFecha,arrayFecha\r\n\t\t\t\t\t\taddFecha = true;\r\n\t\t\t\t\t\talumno.asistencias.forEach(elementAsistencia => {\r\n\t\t\t\t\t\t\tif (fecha == elementAsistencia.fecha) {\r\n\t\t\t\t\t\t\t\tfechasAlumno.push({\r\n\t\t\t\t\t\t\t\t\tfecha: elementAsistencia.fecha,\r\n\t\t\t\t\t\t\t\t\tasistencia: elementAsistencia.asistencia\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\taddFecha = false;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tif (addFecha) {\r\n\t\t\t\t\t\t\tfechasAlumno.push({\r\n\t\t\t\t\t\t\t\tfecha: fecha,\r\n\t\t\t\t\t\t\t\tasistencia: null\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\talumno.asistencias = fechasAlumno\r\n\t\t\t\t}\r\n\t\t\t\talumno.asistencias.forEach(asistencia => {\r\n\t\t\t\t\tasistencia.isSaved = true;\r\n\t\t\t\t})\r\n\t\t\t\tthis.createAsistenciasPaginates(alumno);\r\n\t\t\t})\r\n\t\t\tthis.asistencias = alumnos;\r\n\t\t\tthis.fechasAsistencia = _.chunk(this.fechasAsistencia, 7);\r\n\t\t},\r\n\t\tsetFechasAsistencia(fechasAsistenciaArray) {\r\n\t\t\tthis.fechasAsistencia = [];\r\n\t\t\tfechasAsistenciaArray.forEach(elementFecha => {\r\n\t\t\t\tthis.fechasAsistencia.push(elementFecha.fecha);\r\n\t\t\t})\r\n\t\t},\r\n\t\tsetCalificaciones(alumnos) {\r\n\t\t\tthis.calificaciones = [];\r\n\t\t\talumnos.forEach(alumno => {\r\n\t\t\t\talumno.editMode = false;\r\n\t\t\t\t// alumno.editButtonDisabled = false;\r\n\t\t\t\tif (alumno.parciales.length < this.parciales.length) {\r\n\t\t\t\t\tlet countEmptyParciales = 1;\r\n\t\t\t\t\tthis.parciales.forEach((parcial, parcialIndex) => {\r\n\t\t\t\t\t\tif (alumno.parciales[parcialIndex] === undefined) {\r\n\t\t\t\t\t\t\talumno.parciales.push({\r\n\t\t\t\t\t\t\t\tnombre: `Parcial ${countEmptyParciales}`,\r\n\t\t\t\t\t\t\t\tcalif: 'Pendiente',\r\n\t\t\t\t\t\t\t\tisSaved: true\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tcountEmptyParciales++;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\talumno.parciales[parcialIndex].isSaved = true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\talumno.parciales.forEach(parcial => {\r\n\t\t\t\t\t\tparcial.isSaved = true;\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\tthis.calificaciones = alumnos;\r\n\t\t},\r\n\t\tsetParciales(alumnos) {\r\n\t\t\tthis.parciales = [];\r\n\t\t\talumnos.forEach(alumno => {\r\n\t\t\t\talumno.parciales.forEach(parcial => {\r\n\t\t\t\t\tthis.parciales.push(parcial.nombre);\r\n\t\t\t\t})\r\n\t\t\t})\r\n\t\t\tthis.parciales = _.uniq(this.parciales);\r\n\t\t},\r\n\t\tsaveNewParcial() {\r\n\t\t\tthis.openLoadingButton('#save-parcial-button', 'warning');\r\n\t\t\tthis.calificaciones.forEach(element => {\r\n\t\t\t\telement.parciales[element.parciales.length - 1].isSaved = true;\r\n\t\t\t})\r\n\r\n\t\t\tthis.saveEvaluaciones(this.createGradesObject('parcial'), 'parcial', '#save-parcial-button');\r\n\t\t},\r\n\t\tcancelNewParcial() {\r\n\t\t\tthis.parciales.pop();\r\n\t\t\tthis.calificaciones.forEach(element => {\r\n\t\t\t\telement.parciales.pop();\r\n\t\t\t})\r\n\t\t\tthis.existsNewParcial = false;\r\n\t\t\tthis.getAllAvg();\r\n\t\t\tthis.enableAlumnoEditButton();\r\n\t\t},\r\n\t\tturnOnNewDateMode() {\r\n\t\t\tthis.selectAllCheckbox = true;\r\n\t\t\tthis.fechasAsistencia.push([this.currentDayAsistencia]);\r\n\t\t\t// this.asistencias.forEach(element=>{\r\n\t\t\t// \telement.asistencias.push({\r\n\t\t\t// \t\tfecha: this.currentDayAsistencia,\r\n\t\t\t// \t\tasistencia: true,\r\n\t\t\t// \t\tisSaved: false\r\n\t\t\t// \t})\r\n\t\t\t// })\r\n\r\n\r\n\t\t\tthis.asistencias.forEach(element => {\r\n\t\t\t\t// element.asistencias.push({\r\n\t\t\t\t// \tfecha: this.currentDayAsistencia,\r\n\t\t\t\t// \tasistencia: true,\r\n\t\t\t\t// \tisSaved: false\r\n\t\t\t\t// })\r\n\t\t\t\telement.asistenciasPaginates.push([{\r\n\t\t\t\t\tfecha: this.currentDayAsistencia,\r\n\t\t\t\t\tasistencia: true,\r\n\t\t\t\t\tisSaved: false\r\n\t\t\t\t}])\r\n\t\t\t})\r\n\t\t\tthis.asistenciasCurrentPage = this.fechasAsistencia.length - 1;\r\n\t\t\tthis.newDateMode = true;\r\n\t\t},\r\n\t\tsaveNewDate() {\r\n\t\t\t// this.asistencias.forEach(element=>{\r\n\t\t\t// \telement.asistencias[element.asistencias.length - 1].isSaved = true;\r\n\t\t\t// })\r\n\t\t\tthis.saveAsistencias(this.createAsistenciasObject(), \"#save-asistencias-button\")\r\n\t\t},\r\n\t\tcancelNewDate() {\r\n\t\t\tthis.fechasAsistencia.pop();\r\n\t\t\tthis.asistencias.forEach(element => {\r\n\t\t\t\telement.asistencias.pop();\r\n\t\t\t\telement.asistenciasPaginates.pop();\r\n\t\t\t})\r\n\t\t\tthis.asistenciasCurrentPage = this.fechasAsistencia.length - 1;\r\n\t\t\tthis.newDateMode = false;\r\n\t\t\tthis.isNewDateSet = false;\r\n\t\t\tthis.currentDayAsistencia = this.setTodayDate();\r\n\t\t},\r\n\t\tsaveAsistencias(asistencias) {\r\n\t\t\tthis.openLoadingButton('#save-dates-button', 'warning');\r\n\t\t\tfetch(`${BASE.baseUrl}api/GuardarAsistencia`, {\r\n\t\t\t\tmethod: 'POST',\r\n\t\t\t\theaders: {\r\n\t\t\t\t\t'Authorization': sessionStorage.getItem('token'),\r\n\t\t\t\t\t'pagina': 'asistencias',\r\n\t\t\t\t\t'Content-Type': 'application/json'\r\n\t\t\t\t},\r\n\t\t\t\tbody: JSON.stringify(asistencias)\r\n\t\t\t})\r\n\t\t\t\t.then(rs => rs.json())\r\n\t\t\t\t.catch(error => console.log('error: ', error))\r\n\t\t\t\t.then(rs => {\r\n\t\t\t\t\tif (rs.status == 200) {\r\n\t\t\t\t\t\tthis.newDateMode = false;\r\n\t\t\t\t\t\tthis.$vs.notify({ color: 'success', title: 'success', text: 'Se guardaron las asistencias exitosamente.' })\r\n\t\t\t\t\t} else if (rs.status == 207) {\r\n\t\t\t\t\t\tthis.$vs.notify({ color: 'warning', title: 'Fecha repetida', text: 'La fecha que intentas guardar ya está registrada.', time: 5000 });\r\n\t\t\t\t\t} else if (rs.status == 429) {\r\n\t\t\t\t\t\tthis.$vs.notify({ color: 'warning', title: 'Alerta', text: 'La fecha que intentas guardar es anterior a la fecha de registro de los alumnos.', time: 6000 })\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.$vs.notify({ color: 'warning', title: 'Error', text: 'Imposible guardar las asistencias, favor de intentaro más tarde.' })\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.getAsistenciaAsignatura(this.currentIdAsignatura, this.titlePopup);\r\n\t\t\t\t\tthis.closeLoadingButton('#save-dates-button');\r\n\t\t\t\t\tthis.currentDayAsistencia = this.setTodayDate();\r\n\t\t\t\t})\r\n\t\t},\r\n\t\tsaveEvaluaciones(grades, gradesType, idButton) {\r\n\t\t\tfetch(`${BASE.baseUrl}api/GuardarEvaluaciones`, {\r\n\t\t\t\tmethod: 'POST',\r\n\t\t\t\theaders: {\r\n\t\t\t\t\t'Authorization': sessionStorage.getItem('token'),\r\n\t\t\t\t\t'pagina': 'evaluaciones',\r\n\t\t\t\t\t'Content-Type': 'application/json'\r\n\t\t\t\t},\r\n\t\t\t\tbody: JSON.stringify(grades)\r\n\t\t\t})\r\n\t\t\t\t.then(rs => rs.json())\r\n\t\t\t\t.catch(error => console.log('error: ', error))\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tthis.closeLoadingButton(idButton);\r\n\t\t\t\t\t// if(gradesType === 'parcial'){\r\n\t\t\t\t\t// \tthis.existsNewParcial = false;\r\n\t\t\t\t\t// }else{\r\n\t\t\t\t\t// \tthis.finalGradesMode = false;\r\n\t\t\t\t\t// \tthis.finalGradesSaved = true;\r\n\t\t\t\t\t// \tthis.finalGradesAlertPopup = false;\r\n\t\t\t\t\t// }\r\n\t\t\t\t\tthis.getEvaluacionAsignatura(this.currentIdAsignatura, this.titlePopup);\r\n\t\t\t\t})\r\n\t\t},\r\n\t\tsaveFinalGrades() {\r\n\t\t\tthis.openLoadingButton('#save-final-grades-button', 'success');\r\n\t\t\tthis.saveEvaluaciones(this.createGradesObject('final'), 'final', '#save-final-grades-button')\r\n\t\t},\r\n\t\tcancelFinalGradesMode() {\r\n\t\t\tthis.enableAlumnoEditButton();\r\n\t\t\tthis.finalGradesMode = false;\r\n\t\t},\r\n\t\tupdateGrades(alumno) {\r\n\t\t\tthis.generalEditMode = true;\r\n\t\t\tthis.disableAlumnosEditButton();\r\n\t\t\tthis.deepCopyParciales(alumno.parciales);\r\n\t\t\talumno.parciales.forEach(parcial => {\r\n\t\t\t\tif (parcial.calif === 'Pendiente') {\r\n\t\t\t\t\tparcial.calif = 0;\r\n\t\t\t\t\tparcial.isSaved = false;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tparcial.isSaved = false;\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\talumno.editMode = true;\r\n\t\t},\r\n\t\tsaveUpdatedGrades(alumno) {\r\n\t\t\tlet updatedGradesObject = {\r\n\t\t\t\tidGrupo: this.grupo.idGrupo,\r\n\t\t\t\tidAlumno: alumno.idAlumno,\r\n\t\t\t\tidAsignatura: this.currentIdAsignatura,\r\n\t\t\t\tcalificaciones: alumno.parciales.map(parcial => {\r\n\t\t\t\t\t// lógica para convertir los números de las calificaciones a Float\r\n\t\t\t\t\tif (parcial.calif % 1 === 0) {\r\n\t\t\t\t\t\treturn parseInt(parcial.calif);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\treturn parseFloat(parseFloat(parcial.calif).toFixed(1));\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t\tfetch(`${BASE.baseUrl}api/EditarEvaluaciones`, {\r\n\t\t\t\tmethod: 'POST',\r\n\t\t\t\theaders: {\r\n\t\t\t\t\t'Authorization': sessionStorage.getItem('token'),\r\n\t\t\t\t\t'pagina': 'evaluaciones',\r\n\t\t\t\t\t'Content-Type': 'application/json'\r\n\t\t\t\t},\r\n\t\t\t\tbody: JSON.stringify(updatedGradesObject)\r\n\t\t\t})\r\n\t\t\t\t.then(rs => rs.json())\r\n\t\t\t\t.catch(error => {\r\n\t\t\t\t\tconsole.log('error: ', error)\r\n\t\t\t\t\tthis.getEvaluacionAsignatura(this.currentIdAsignatura, this.titlePopup);\r\n\t\t\t\t\tthis.$vs.notify({\r\n\t\t\t\t\t\tcolor: 'warning',\r\n\t\t\t\t\t\ttitle: 'Alerta',\r\n\t\t\t\t\t\ttext: 'Ocurrió un error al intentar actualizar las calificaciones del alumno, por favor inténtalo nuevamente más tarde.',\r\n\t\t\t\t\t\ttime: 6000\r\n\t\t\t\t\t});\r\n\t\t\t\t})\r\n\t\t\t\t.then(rs => {\r\n\t\t\t\t\tif (rs.status === 200) {\r\n\t\t\t\t\t\tthis.$vs.notify({ color: 'success', title: 'Éxito', text: 'Se actualizaron las calificaciones del alumno.' });\r\n\t\t\t\t\t\tthis.getEvaluacionAsignatura(this.currentIdAsignatura, this.titlePopup);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.getEvaluacionAsignatura(this.currentIdAsignatura, this.titlePopup);\r\n\t\t\t\t\t\tthis.$vs.notify({\r\n\t\t\t\t\t\t\tcolor: 'warning',\r\n\t\t\t\t\t\t\ttitle: 'Alerta',\r\n\t\t\t\t\t\t\ttext: 'Ocurrió un error al intentar actualizar las calificaciones del alumno, por favor inténtalo nuevamente más tarde.',\r\n\t\t\t\t\t\t\ttime: 6000\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.enableAlumnoEditButton();\r\n\t\t\t\t\talumno.editMode = false;\r\n\t\t\t\t\tthis.generalEditMode = false;\r\n\t\t\t\t})\r\n\t\t\t// Se consume el servicio para editar las calificaciones\r\n\t\t\t// en la respuesta se consume el servicio para volver a cargar las califs\r\n\t\t},\r\n\t\tcancelUpdatedGrades(alumno) {\r\n\t\t\tthis.generalEditMode = false;\r\n\t\t\tthis.enableAlumnoEditButton();\r\n\t\t\talumno.parciales = this.parcialesTemp;\r\n\t\t\tthis.promedio(alumno);\r\n\t\t\talumno.editMode = false;\r\n\t\t},\r\n\r\n\t\t// Este es un method para crear una copia de los parciales \r\n\t\t// que se van a editar para que en caso de que se editen pero se \r\n\t\t// cancele la edición, se pueda regresar a los valores anteriores.\r\n\t\tdeepCopyParciales(parciales) {\r\n\t\t\t// se crea un objeto que contendrá los parciales en la propiedad\r\n\t\t\t// \"parciales\"\r\n\t\t\tconst parcialesObject = {\r\n\t\t\t\tparciales: parciales\r\n\t\t\t}\r\n\t\t\t// se hace un clonado deep del objeto para que no sea un valor referencia\r\n\t\t\tconst parcialesObjectDeep = _.cloneDeep(parcialesObject);\r\n\t\t\t//const parcialesObjectDeep = JSON.parse(JSON.stringify({ parcialesObject }));\r\n\t\t\t// se hace un clonado deep del arrelo del objeto clonado\r\n\t\t\t// y se le asignará a\r\n\t\t\t// this.parcialesTemp que será la variable que contendrá \r\n\t\t\t// los valores anteriores de los parciales\r\n\t\t\tthis.parcialesTemp = Array.from(parcialesObjectDeep.parciales);\r\n\t\t},\r\n\t\tdisableAlumnosEditButton() {\r\n\t\t\tthis.isEditButtonDisabled = true;\r\n\t\t},\r\n\t\tenableAlumnoEditButton() {\r\n\t\t\tthis.isEditButtonDisabled = false;\r\n\t\t},\r\n\t\tsetTodayDate() {\r\n\t\t\treturn moment().format('YYYY-MM-DD');\r\n\t\t}\r\n\t},\r\n\tprops: {\r\n\t\tgrupo: {\r\n\t\t\ttype: Object\r\n\t\t}\r\n\t},\r\n\tcreated() {\r\n\t\tthis.getHorarioProfesor();\r\n\t},\r\n\tcomponents: {\r\n\t\tflatPickr,\r\n\t\tTareasAlumnoProfesor\r\n\t}\r\n}","import mod from \"-!../../../../node_modules/eslint-loader/index.js??ref--12-0!./DetalleGrupoAsignado.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/eslint-loader/index.js??ref--12-0!./DetalleGrupoAsignado.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DetalleGrupoAsignado.vue?vue&type=template&id=2783bf0e&scoped=true&\"\nimport script from \"./js/DetalleGrupoAsignado?vue&type=script&lang=js&\"\nexport * from \"./js/DetalleGrupoAsignado?vue&type=script&lang=js&\"\nimport style0 from \"./DetalleGrupoAsignado.vue?vue&type=style&index=0&lang=scss&\"\nimport style1 from \"./DetalleGrupoAsignado.vue?vue&type=style&index=1&id=2783bf0e&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 \"2783bf0e\",\n null\n \n)\n\nexport default component.exports","(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = global || self, factory(global.es = {}));\n}(this, function (exports) { 'use strict';\n\n var fp = typeof window !== \"undefined\" && window.flatpickr !== undefined\n ? window.flatpickr\n : {\n l10ns: {}\n };\n var Spanish = {\n weekdays: {\n shorthand: [\"Dom\", \"Lun\", \"Mar\", \"Mié\", \"Jue\", \"Vie\", \"Sáb\"],\n longhand: [\n \"Domingo\",\n \"Lunes\",\n \"Martes\",\n \"Miércoles\",\n \"Jueves\",\n \"Viernes\",\n \"Sábado\",\n ]\n },\n months: {\n shorthand: [\n \"Ene\",\n \"Feb\",\n \"Mar\",\n \"Abr\",\n \"May\",\n \"Jun\",\n \"Jul\",\n \"Ago\",\n \"Sep\",\n \"Oct\",\n \"Nov\",\n \"Dic\",\n ],\n longhand: [\n \"Enero\",\n \"Febrero\",\n \"Marzo\",\n \"Abril\",\n \"Mayo\",\n \"Junio\",\n \"Julio\",\n \"Agosto\",\n \"Septiembre\",\n \"Octubre\",\n \"Noviembre\",\n \"Diciembre\",\n ]\n },\n ordinal: function () {\n return \"º\";\n },\n firstDayOfWeek: 1,\n rangeSeparator: \" a \",\n time_24hr: true\n };\n fp.l10ns.es = Spanish;\n var es = fp.l10ns;\n\n exports.Spanish = Spanish;\n exports.default = es;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n","module.exports = __webpack_public_path__ + \"img/classroom.207af25a.png\";","import mod 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!./DetalleGrupoAsignado.vue?vue&type=style&index=1&id=2783bf0e&scoped=true&lang=css&\"; export default mod; 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!./DetalleGrupoAsignado.vue?vue&type=style&index=1&id=2783bf0e&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TareasAlumnoProfesor.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TareasAlumnoProfesor.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}