{"version":3,"sources":["pages/mantenimiento/aulas.js","pages/mantenimiento/Direccion_Academica.js","pages/mantenimiento/CongeladoBorrado.js"],"names":["Auth","AuthService","tokenInfo","movil","test","navigator","userAgent","datosSelectFacultad","datosSelectSucursal","datosSelectEstado","value","label","settingFilter","columnName","predicate","filter","row","trim","length","replace","IntegratedFiltering","defaultPredicate","operation","widthTable","window","screen","width","globales","tabla","marginleft","marginright","columns","name","title","columnExtensions","align","grouping","RowId","ID_AULA","GroupCellContent","_ref","column","_jsx","children","VirtualTable_cellComponent","props","style","color","ESTADO","colores","color_inactive","undefined","Table","Cell","padding","Boolean","VIRTUAL","CheckIcon","withStyles","theme","closeButton","position","right","spacing","top","palette","grey","paper","borderRadius","border_dialog","minWidth","maxWidth","paperConfirm","textFieldCodigo","textField","marginTop","formControlSelect","textAlign","formControlSelectEstado","marginBottom","formControlSelectSucursal","backdrop","zIndex","flexDirection","React","Component","constructor","super","codigoRef","createRef","tablaRef","cupoRef","facultadRef","sucursalRef","estadoRef","vtRef","checkRef","changeFilters","filters","this","state","idRowSelected","setState","changeExpandedGroups","expandedGroups","addEvent","event","codigo","cupo","DESCRIPCION_FACULTAD","DESCRIPCION_SUCURSAL","selectedFalcutad","selectedSucursal","selectedEstado","checked","actionModal","openModal","editEvent","infoRowSelected","rows","find","x","CODIGO","CUPO","facultad","ID_FACULTAD","sucursal","ID_SUCURSAL","ID_ESTADO","deleteEvent","openModalConfirm","onEntering","current","focus","handleClose","handleCloseConfirm","handleOk","funciones","isEmpty","showToast","idAula","toString","parseInt","idFacultad","idSucursal","idEstado","isVirtual","openBackDrop","Request","post","ip","set","getToken","send","tipo_proceso","id_aula","estado","id_sucursal","ad_usuario","user","id_facultad","is_virtual","retry","timeout","response","deadline","end","err","res","substr","location","reload","JSON","parse","text","RESP","newStructure","refreshTable","refreshGroups","refreshRows","moveScroll","scrollTo","heightTableMain","scrollToRow","obtenerFacultades","get","requestRows","datosFacultadesItems","map","item","i","MenuItem","whiteSpace","obtener_sucursales","items","datos","handleChangeFacultad","target","handleChangeSucursal","handleChangeEstado","handleRowClick","idRow","handleChangeCheck","obtener_aulas","isLoadingMain","l","e","isLoggin","openModalSucursales","botones","icono","toolt","nombre","escritura","onclick","display","naranja","botones_agregar","botones_eliminar","componentDidMount","getProfile","plataforma","getHeightTableMain","heightTable","render","classes","Fragment","Paper","className","square","_jsxs","BarraBotones","ref","marginLeft","marginleft_movil","marginRight","marginright_movil","CustomTable","Columns","Rows","Grouping","TableColumnExtensions","columnWidths","DefaultHiddenColumnNames","ExpandedGroups","ChangeExpandedGroups","getRowId","height","loading","rowSelected","rowClick","FilteringColumnExtensions","enabledFilterRows","groupContentComponent","onFiltersChange","Dialog","open","TransitionProps","fullScreen","DialogTitle","Typography","component","variant","IconButton","onClick","size","CloseIcon","fontSize","DialogContent","TextField","inputProps","maxLength","defaultValue","fullWidth","required","inputMode","onKeyDown","onlyNumbers","Select","Label","Datos","Selected","onChange","Style","Outlined","id","Ref","shrink","FormControlLabel","control","Checkbox","DialogActions","paddingTop","gutterBottom","Backdrop","CircularProgress","invisible","transitionDuration","columnsCarreras","columnsJornadas","columnExtensionsCarreras","columnExtensionsJornadas","ID_USUARIO","RowIdCarreras","ID_CARRERA","RowIdJornadas","ID_JORNADA","TableSelectionCellComponentMain","StubCell","maxHeight","paperConfirmation","paperCopy","minHeight","formControlSelectCopy","divProgress","tablaCarrerasRef","tablaJornadasRef","carreraRef","origenRef","destinoRef","dialogActionRef","accessEvent","rowsCarreras","jornadas","titleModal","NOMBRE_USUARIO","rowsJornadas","selectedCarrera","idRowCarreraSelected","textBackDrop","handleCloseCopy","saveCopyLoading","openModalCopy","tableJornadasHeight","getHeightTableDialog","modalLoading","rowsPermisos","permisos","index","item2","index2","push","handleChangeCarrera","handleRowCarrerasClick","permisosJornadas","selectJornadas","selection","changeSelection","gestionarPermisos","id_usuario","str_permisos","msgOk","saveClick","strPermisos","copyEvent","cargarItemsDestino","selectedOrigen","selectedDestino","valueException","itemsDestino","option","datosSelectDestino","handleChangeOrigen","handleChangeDestino","onEnteringCopy","copyClick","handleCloseDelete","deleteClick","obtener_carreras","datosSelect","DESCRIPCION_CARRERA","datosSelectCarrera","obtener_jornadas","obtener_directores","itemsOrigen","datosSelectOrigen","botones_permisos","botones_copy","tableSelectionCellComponent","showSelectionColumn","spaddingBottom","Grid","container","direction","xs","disabledAlternateRowColor","paddingLeft","paddingBottom","PERIODO_INTENSIVO","Selection","ChangeSelection","_ref2","selected","TableSelection","paddingRight","disabled","margin","showSelectAll","heigth","LinearProgress","USUARIO","widthTableList","CHECKED","checkExcId","configuracionProcesos","columnsUser","columnExtensionsUser","innerWidth","innerHeight","datosSelectProceso","columnsExc","columnExtensionsExc","columnsList","columnExtensionsList","RowIdUser","CUENTA_ALUMNO","cursor","VirtualTable_cellComponentList","isChangingState","idRowListSelected","changing","COD_ESTADO","azul","cellsEditingCellComponent","editingEnabled","TableInlineCellEditing","ColumnFixed_cellComponent","valueFilterCheck","_ref5","showRightDivider","tableRow","key","tableColumn","TableFixedColumns","customCellFixed","backgroundColor","indeterminate","inputCheck","indeterminateIcon","IndeterminateCheckBoxOutlinedIcon","ColumnFixed_cellComponentList","_ref6","showLeftDivider","colorFont","background","TableRow","_ref7","highlighted","rowIndex","selectByRowClick","odd","Row","alternateColorRow1","alternateColorRow2","FilterCellComponent","TableFilterRow","paperDays","paperExc","paperList","paperTitle","verticalAlign","lineHeight","horasRef","minutosRef","merRef","datePickerRef","procesoRef","tableDialogRef","dialogActionsRef","inputDaysBRef","inputDaysCRef","inputDaysDRef","handleDateChange","date","selectedDate","gestionProcesos","dateJob","timeJob","jobSchedule","idControlMatricula","idControlMatriculaPi","defaultProcess","adUsuario","openModalSaveConfirmation","date_job","time_job","job_schedule","id_control_matricula","id_control_matricula_pi","default_process","getTimeJob","valueHora","valueMinutos","valueMer","saveEvent","bStatus","checkedActivo","ID_CONTROL_MATRICULA","ID_CONTROL_MATRICULA_PI","selectedProceso","split","join","notiEvent","rowsUser","filterCheckUsersValue","filtersUsers","isLoadingUsers","openModalNoti","chekedUser","onEnteringNoti","heightTableUser","handleCloseNoti","saveLoadingUsers","handleCloseDays","openModalDays","handleOkDays","loadingDays","checkedB","checkedC","checkedD","str_dias_prev","checkedA","saveLoadingDays","id_proceso","str_noti","onEnteringDays","indexCheckedB","indexCheckedC","indexCheckedD","inputValueB","inputValueC","inputValueD","DIAS_ANTICIPACION","getIdRowChecking","actionCheck","handleOkNoti","str_usuarios","excEvent","titleExc","filterCheckExcValue","filtersExc","rowsExc","selectionExc","openModalExc","handleCloseExc","onEnteringExc","heightTableExc","loadingExc","commitChanges","_ref8","changed","changedRows","changeSelectionExc","COMENTARIO","loadingCheck","rowChecked","cuenta_alumno","comentario","tipo_gestion","msg","listEvent","rowsList","openModalList","onEnteringList","heightTableList","loadingList","handleCloseList","changeFiltersList","handleOkList","id_factura","ID_FACTURA","nuevo_estado","handleOkProceso","openModalConfirmation","handleCloseConfirmation","isProcessRunning","handleProcessOk","EXISTS_CONGELADO","cStatus","handleRowListClick","handleSaveEvent","handleCloseSaveConfirmation","handleChangeUsers","onValueChange","changeFiltersUsers","changeFiltersExc","handleClick","handleChangeCheckFilterUsers","handleChangeCheckFilterExc","obtener_configuraciones","loadingPage","periodo","PERIODO","ANIO","itemsSelectProceso","horario_job","obtener_horario_job","fecha","Date","defaultHoras","hora","defaultMinutos","minutos","defaultMeridiano","mer","JOB","JOB_SCHEDULE","EXISTS_BORRADO","FECHA_BORRADO","hora_tmp","JOB_TIME","padStart","JOB_DATE","handleChange","async","Promise","resolve","FECHA_CONGELADO","heightPaperMain","botones_noti","botones_days","botones_list","botones_ejecutar","botones_guardar","Tooltip","placement","FlashOnIcon","PanToolIcon","EmailIcon","Button","textTransform","Box","MuiPickersUtilsProvider","utils","DateFnsUtils","locale","esLocale","KeyboardDatePicker","disableToolbar","inputVariant","format","InputProps","readOnly","disablePast","autoOk","KeyboardButtonProps","SelectTime","formStyle","startIcon","UpdateIcon","tableSelectionHeaderCellComponent","isLoading","_ref4","allSelected","someSelected","PopperProps","EventAvailableIcon","color_iconos_SL","color_iconos","leftColumnsFixed","COLUMN_TYPE","columnFixedCellComponent","Filters","justifyContent","alignItems","left","Input","RowComponent","cellsEditing","selectTextOnEditStart","checkId","_ref3","rightColumnsFixed","filterCellComponent","TableSelectionCellComponent"],"mappings":"qHAAA,gPA0BA,IAAIA,EAAO,IAAIC,IACXC,EAAY,GAEhB,IAAIC,EAAM,iEAAiEC,KAAKC,UAAUC,WAE1F,IAAIC,EAAsB,GACtBC,EAAsB,GACtBC,EAAoB,CAAC,CAAEC,MAAO,EAAGC,MAAO,YACpB,CAAED,MAAO,EAAGC,MAAO,WAE3C,MAAMC,EAAgB,CACA,CAAEC,WAAY,UACVC,UAAWA,CAACJ,EAAOK,EAAQC,KACfD,EAAOL,MAAuC,IAA/BK,EAAOL,MAAMO,OAAOC,OAAeH,EAAOL,MAAMO,OAAOE,QAAQ,IAAK,MAAMA,QAAQ,IAAK,MAAQJ,EAAOL,MACrHA,EAAmB,IAAVA,EAAe,KAAO,KACxBU,IAAoBC,iBAAiBX,EAAOK,EAAQC,KAGzE,CAAEH,WAAY,SACZC,UAAWA,CAACJ,EAAOK,EAAQC,KACfD,EAAOO,UAAY,aACnBP,EAAOL,MAAuC,IAA/BK,EAAOL,MAAMO,OAAOC,OAAeH,EAAOL,MAAMO,OAAOE,QAAQ,IAAK,UAAUA,QAAQ,IAAK,YAAcJ,EAAOL,MACxHU,IAAoBC,iBAAiBX,EAAOK,EAAQC,MAqD3FO,EAAcpB,EAAyF,KAAjFqB,OAAOC,OAAOC,OAASC,IAASC,MAAMC,WAAaF,IAASC,MAAME,aACxFC,EAAW,CACf,CAAEC,KAAM,UAAWC,MAAO,WAC1B,CAAED,KAAM,SAAUC,MAAO,qBACzB,CAAED,KAAM,uBAAwBC,MAAO,YACvC,CAAED,KAAM,uBAAwBC,MAAO,wBACvC,CAAED,KAAM,UAAWC,MAAO,WAC1B,CAAED,KAAM,OA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AM7J,KAAKC,MAAM0e,aAAe3e,KAAKC,MAAMid,aAAeld,KAAKC,MAAM+b,YAAchc,KAAKC,MAAMsc,cAAgBvc,KAAKC,MAAMsZ,gBAAkBvZ,KAAKC,MAAM4Z,kBAAoB7Z,KAAKC,MAAMsa,iBAAmBva,KAAKC,MAAM8T,iBAAmB/T,KAAKC,MAAM2d,kBAAoB5d,KAAKC,MAAMga,YAChRhS,UAAWH,EAAQhJ,SACnBuN,WAAS,EACTC,mBAAoB,QAKf,IAAxBtM,KAAKC,MAAM2G,SAMb,UAHLvL,OAAOkJ,SAASC,SA/nDkBuf,IAACtgB,EAAQkgB,EAoBF3K,EAAiBwJ,EAAWjE,CAgnDvE,G","file":"static/js/main~71b8db17.4b90e761.chunk.js","sourcesContent":["import React from 'react';\r\nimport CustomTable from '../../components/CustomTable';\r\nimport Request from 'superagent';\r\nimport {globales, colores, funciones} from '../../global';\r\nimport AuthService from '../../AuthService';\r\nimport {IntegratedFiltering } from '@devexpress/dx-react-grid';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport Select from '../../components/Select';\r\nimport {Table} from '@devexpress/dx-react-grid-material-ui';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport BarraBotones from '../../components/Barra_menu';\r\nimport DialogTitle from '@material-ui/core/DialogTitle';\r\nimport Dialog from '@material-ui/core/Dialog';\r\nimport CloseIcon from '@material-ui/icons/Close';\r\nimport Paper from '@material-ui/core/Paper';\r\nimport DialogActions from '@material-ui/core/DialogActions';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport TextField from '@material-ui/core/TextField';\r\nimport DialogContent from '@material-ui/core/DialogContent';\r\nimport Backdrop from '@material-ui/core/Backdrop';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport FormControlLabel from '@material-ui/core/FormControlLabel';\r\nimport Checkbox from '@material-ui/core/Checkbox';\r\nimport CheckIcon from '@material-ui/icons/Check';\r\n\r\nlet Auth = new AuthService();\r\nlet tokenInfo = [];\r\n\r\nvar movil=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\r\n\r\nlet datosSelectFacultad = [];\r\nlet datosSelectSucursal = [];\r\nlet datosSelectEstado = [{ value: 0, label: 'Inactiva' },\r\n { value: 1, label: 'Activa' }\r\n ];\r\nconst settingFilter = [\r\n { columnName: 'VIRTUAL',\r\n predicate: (value, filter, row) => {\r\n filter.value = filter.value.trim().length === 1 ? filter.value.trim().replace('1', 'Si').replace('0', 'No') : filter.value;\r\n value = (value === 1) ? 'Si' : 'No';\r\n return IntegratedFiltering.defaultPredicate(value, filter, row);\r\n },\r\n },\r\n { columnName: 'ESTADO',\r\n predicate: (value, filter, row) => {\r\n filter.operation = 'startsWith'; \r\n filter.value = filter.value.trim().length === 1 ? filter.value.trim().replace('1', 'Activa').replace('0', 'Inactiva') : filter.value;\r\n return IntegratedFiltering.defaultPredicate(value, filter, row);\r\n },\r\n\r\n }, \r\n ];\r\n\r\nconst styles = theme => ({\r\n\r\ncloseButton: {\r\n position: 'absolute',\r\n right: theme.spacing(1),\r\n top: theme.spacing(1),\r\n color: theme.palette.grey[500],\r\n},\r\npaper: { \r\n borderRadius: globales.border_dialog,\r\n minWidth: !movil ? '360px' : undefined,\r\n maxWidth: !movil ? '360px' : undefined\r\n},\r\npaperConfirm: { \r\n borderRadius: globales.border_dialog,\r\n minWidth: '320px', \r\n maxWidth: '320px', \r\n},\r\ntextFieldCodigo: {\r\n maxWidth: '100%', \r\n},\r\ntextField: {\r\n maxWidth: '100%', \r\n marginTop: theme.spacing(2)\r\n},\r\nformControlSelect: {\r\n width: '100%', \r\n marginTop: theme.spacing(2), \r\n textAlign: 'left',\r\n},\r\nformControlSelectEstado: {\r\n width: '100%', \r\n marginTop: theme.spacing(2), \r\n marginBottom: theme.spacing(2),\r\n textAlign: 'left',\r\n},\r\nformControlSelectSucursal: {\r\n width: '100%', \r\n textAlign: 'left',\r\n},\r\nbackdrop: {\r\n zIndex: 500000,\r\n color: '#fff', \r\n flexDirection: 'column'\r\n},\r\n\r\n});\r\nconst widthTable = !movil ? window.screen.width - (globales.tabla.marginleft + globales.tabla.marginright) : 1336;\r\nconst columns = [ \r\n { name: 'ID_AULA', title: 'ID_AULA' },\r\n { name: 'CODIGO', title: 'Código de aula' },\r\n { name: 'DESCRIPCION_FACULTAD', title: 'Facultad' },\r\n { name: 'DESCRIPCION_SUCURSAL', title: 'DESCRIPCION_SUCURSAL' },\r\n { name: 'VIRTUAL', title: 'Virtual' }, \r\n { name: 'CUPO', title: 'Capacidad' },\r\n { name: 'ESTADO', title: 'Estado' },\r\n];\r\nconst columnExtensions = [ \r\n { columnName: 'CODIGO', width: widthTable * 0.25 },\r\n { columnName: 'VIRTUAL', width: widthTable * 0.12, align: 'center'},\r\n { columnName: 'CUPO', width: widthTable * 0.12, align: 'center'}, \r\n { columnName: 'ESTADO', width: widthTable * 0.12, align: 'center'}, \r\n { columnName: 'DESCRIPCION_FACULTAD', width: 0 },\r\n { columnName: 'DESCRIPCION_SUCURSAL', width: 0 }, \r\n];\r\nconst grouping = [{columnName: 'DESCRIPCION_SUCURSAL'}, { columnName: 'DESCRIPCION_FACULTAD' }];\r\n\r\nconst RowId = row => row.ID_AULA;\r\nconst GroupCellContent = ({ column, row }) => {\r\n return ( \r\n \r\n {row.value}\r\n \r\n );\r\n}\r\nconst VirtualTable_cellComponent = (props) => { \r\n \r\n const style = { color: props.row.ESTADO === 'Inactiva' ? colores.color_inactive : undefined }\r\n\r\n if (props.column.name === 'VIRTUAL')\r\n {\r\n return (\r\n {Boolean(props.row.VIRTUAL) ? :
} \r\n )\r\n }\r\n\r\n return ();\r\n \r\n}\r\n\r\nexport default withStyles(styles) ( \r\nclass App extends React.Component {\r\n\r\ncodigoRef = React.createRef();\r\ntablaRef = React.createRef();\r\ncupoRef = React.createRef();\r\nfacultadRef = React.createRef();\r\nsucursalRef = React.createRef();\r\nestadoRef = React.createRef();\r\nvtRef = React.createRef();\r\ncheckRef = React.createRef();\r\n\r\n constructor (props) {\r\n super(props);\r\n this.l=props.l\r\n this.e=props.e\r\n this.i=props.i\r\n this.state = {\r\n isLoggin : undefined,\r\n heightTableMain: 0,\r\n rows:[],\r\n expandedGroups: [],\r\n isLoadingMain: true, \r\n idRowSelected: null,\r\n openModal: false,\r\n openModalConfirm: false,\r\n actionModal: 0,\r\n datosSelectFacultad: null,\r\n selectedFalcutad: '',\r\n datosSelectSucursal: null, \r\n selectedSucursal: '',\r\n datosSelectEstado: datosSelectEstado.map((item, i) => { return {item.label} }),\r\n selectedEstado: '', \r\n openModalSucursales: false,\r\n openBackDrop: false,\r\n checked: false,\r\n };\r\n this.codigo = null;\r\n this.cupo = null;\r\n this.DESCRIPCION_FACULTAD = null;\r\n this.DESCRIPCION_SUCURSAL = null;\r\n this.botones = [\r\n {icono: 'Add', toolt: 'Agregar aula', nombre: 'Agregar' ,escritura:true, onclick: this.addEvent, display: 'auto'},\r\n {icono: 'Edit', toolt: 'Modificar aula', nombre: 'Modificar' ,escritura:true, onclick: this.editEvent, display:'auto'},\r\n {icono: 'Delete', toolt: 'Eliminar aula', nombre: 'Eliminar' ,escritura:true, onclick: this.deleteEvent, color: colores.naranja, display: 'auto'}, \r\n ];\r\n this.botones_agregar =[\r\n {icono: 'Save', toolt: '', nombre: 'Guardar',escritura:true, onclick: this.handleOk, display:'auto'},\r\n {icono: 'Close', toolt: '', nombre: 'Cerrar' ,onclick: this.handleClose, display:'auto', color: 'red'},\r\n ];\r\n this.botones_eliminar =[\r\n {icono: 'Check', toolt: '', nombre: 'Aceptar', onclick: this.handleOk , display:'auto'},\r\n {icono: 'Close', toolt: '', nombre: 'Cerrar' ,onclick: this.handleCloseConfirm, display:'auto', color: 'red'},\r\n ];\r\n}\r\n\r\nchangeFilters = filters => { \r\n \r\n if (this.state.idRowSelected !== null)\r\n this.setState({ idRowSelected: null });\r\n \r\n}\r\n\r\nchangeExpandedGroups = expandedGroups =>\r\n{\r\n this.setState({ expandedGroups }); \r\n}\r\n\r\naddEvent = event=>{\r\n \r\nthis.codigo = null;\r\nthis.cupo = null;\r\nthis.DESCRIPCION_FACULTAD = null;\r\nthis.DESCRIPCION_SUCURSAL = null;\r\n \r\nthis.setState({ selectedFalcutad: '', \r\n selectedSucursal: '', \r\n selectedEstado: 1,\r\n checked: false, \r\n actionModal: 1, \r\n openModal: true, \r\n });\r\n \r\n}\r\n\r\neditEvent = event=>{\r\n \r\nif (this.state.idRowSelected === null)\r\n return;\r\n\r\nconst infoRowSelected = this.state.rows.find(x => x.ID_AULA === this.state.idRowSelected);\r\n \r\nthis.codigo = infoRowSelected.CODIGO;\r\nthis.cupo = infoRowSelected.CUPO;\r\nthis.DESCRIPCION_FACULTAD = infoRowSelected.DESCRIPCION_FACULTAD;\r\nthis.DESCRIPCION_SUCURSAL = infoRowSelected.DESCRIPCION_SUCURSAL;\r\n\r\nconst facultad = datosSelectFacultad.find(x => x.ID_FACULTAD === infoRowSelected.ID_FACULTAD);\r\nconst sucursal = datosSelectSucursal.find(x => x.ID_SUCURSAL === infoRowSelected.ID_SUCURSAL);\r\n\r\nthis.setState({ selectedFalcutad: facultad !== undefined ? facultad.ID_FACULTAD : '',\r\n selectedSucursal: sucursal !== undefined ? sucursal.ID_SUCURSAL : '',\r\n selectedEstado: infoRowSelected.ID_ESTADO, \r\n checked: infoRowSelected.VIRTUAL === 1 ? true : false, \r\n actionModal: 2, \r\n openModal: true \r\n });\r\n\r\n}\r\n\r\ndeleteEvent = event =>{\r\n \r\nif (this.state.idRowSelected === null)\r\n return;\r\n\r\n\r\nthis.setState({ actionModal: 3, \r\n openModalConfirm: true \r\n });\r\n \r\n\r\n}\r\n\r\nonEntering = () => {\r\n\r\nif (!movil) \r\nthis.codigoRef.current.focus();\r\n\r\n}\r\n\r\nhandleClose = () => { \r\n this.setState({ openModal: false });\r\n}\r\n\r\nhandleCloseConfirm = () => { \r\n this.setState({ openModalConfirm: false });\r\n}\r\n\r\nhandleOk = () => { \r\n\r\n if (this.state.actionModal === 1 || this.state.actionModal === 2)\r\n {\r\n \r\n if (funciones.isEmpty(this.codigoRef.current.value))\r\n {\r\n this.codigoRef.current.focus();\r\n return funciones.showToast('w','Ingrese el código');\r\n }\r\n \r\n if (funciones.isEmpty(this.cupoRef.current.value))\r\n {\r\n this.cupoRef.current.focus();\r\n return funciones.showToast('w','Ingrese la capacidad');\r\n }\r\n \r\n if (funciones.isEmpty(this.state.selectedFalcutad)){\r\n this.facultadRef.current.focus();\r\n return funciones.showToast('w','Seleccione la facultad');\r\n }\r\n \r\n if (funciones.isEmpty(this.state.selectedSucursal)){\r\n this.sucursalRef.current.focus();\r\n return funciones.showToast('w','Seleccione la sucursal');\r\n }\r\n \r\n if (funciones.isEmpty(this.state.selectedEstado)){\r\n this.estadoRef.current.focus();\r\n return funciones.showToast('w','Seleccione el estado');\r\n }\r\n \r\n}\r\n\r\nlet idAula = this.state.actionModal === 1 ? 0 : this.state.idRowSelected;\r\nlet codigo = this.state.actionModal === 3 ? '0' : this.codigoRef.current.value.toString().trim();\r\nlet cupo = this.state.actionModal === 3 ? 0 : parseInt(this.cupoRef.current.value.toString().trim());\r\nlet idFacultad = this.state.actionModal === 3 ? 0 : this.state.selectedFalcutad;\r\nlet idSucursal = this.state.actionModal === 3 ? 0 : this.state.selectedSucursal;\r\nlet idEstado = this.state.actionModal === 3 ? 0 : this.state.selectedEstado;\r\nlet isVirtual = this.state.checked ? 1 : 0;\r\n\r\nthis.setState({ openBackDrop: true, openModalConfirm: false }, ()=>{ \r\n\r\n new Request\r\n .post(`${globales.ip}/aulas/operaciones`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .set('Content-Type', 'application/json')\r\n .send({ tipo_proceso: this.state.actionModal, \r\n id_aula: idAula, \r\n codigo: codigo, \r\n cupo: cupo, \r\n estado: idEstado, \r\n id_sucursal: idSucursal, \r\n ad_usuario: tokenInfo.user, \r\n id_facultad: idFacultad, \r\n is_virtual: isVirtual })\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 30000, }) \r\n .end((err, res) => {\r\n \r\n if (err) { \r\n \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n \r\n window.location.reload();\r\n return;\r\n \r\n }\r\n \r\n this.setState({ openBackDrop: false }, ()=>{ \r\n funciones.showToast('e', 'No hay conexión'); \r\n });\r\n \r\n return;\r\n }\r\n \r\n const rows = JSON.parse(res.text);\r\n \r\n if (rows.length > 0)\r\n { \r\n if (rows[0].RESP === 'OK')\r\n { \r\n\r\n let row = this.state.actionModal === 3 ? [{ ID_AULA: rows[0].ID_AULA }] :\r\n [{ ID_AULA: rows[0].ID_AULA, \r\n CODIGO: codigo,\r\n DESCRIPCION_SUCURSAL: datosSelectSucursal.find(x=> x.ID_SUCURSAL === idSucursal).DESCRIPCION_SUCURSAL,\r\n DESCRIPCION_FACULTAD: datosSelectFacultad.find(x => x.ID_FACULTAD === idFacultad).DESCRIPCION_FACULTAD,\r\n VIRTUAL: isVirtual,\r\n CUPO: cupo,\r\n ESTADO: datosSelectEstado.find(x => x.value === idEstado).label,\r\n ID_SUCURSAL: idSucursal,\r\n ID_FACULTAD: idFacultad,\r\n ID_ESTADO: idEstado\r\n }];\r\n const newStructure = funciones.refreshTable(this.state.actionModal,\r\n this.state.rows,\r\n this.state.expandedGroups,\r\n row,\r\n 'ID_AULA',\r\n 'DESCRIPCION_SUCURSAL',\r\n this.DESCRIPCION_SUCURSAL,\r\n 'DESCRIPCION_FACULTAD',\r\n this.DESCRIPCION_FACULTAD\r\n );\r\n\r\n this.setState({ expandedGroups: newStructure.refreshGroups,\r\n rows: newStructure.refreshRows,\r\n idRowSelected: this.state.actionModal === 3 ? null : rows[0].ID_AULA,\r\n openBackDrop: false}, ()=>{\r\n\r\n if (this.state.actionModal === 3)\r\n {\r\n return funciones.showToast('s', 'Se ha eliminado el aula'); \r\n }\r\n\r\n if (movil && newStructure.moveScroll){ window.scrollTo(0, this.state.heightTableMain); }\r\n if (newStructure.moveScroll){ this.vtRef.current.scrollToRow(rows[0].ID_AULA); }\r\n\r\n funciones.showToast('s', this.state.actionModal === 1 ? 'Se ha registrado el aula' : 'Se han registrado los cambios');\r\n this.handleClose();\r\n\r\n });\r\n \r\n \r\n }\r\n else\r\n { \r\n\r\n this.setState({ openBackDrop: false }, ()=>{ \r\n funciones.showToast('w', rows[0].RESP); \r\n });\r\n\r\n } \r\n }\r\n \r\n });\r\n\r\n });\r\n \r\n}\r\n\r\nobtenerFacultades = () =>\r\n{ \r\n new Request\r\n .get(`${globales.ip}/aulas/facultades/${0}`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(1)\r\n .timeout({ response: 15000, deadline: 30000, }) \r\n .end((err, res) => {\r\n \r\n if (err) { \r\n\r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n \r\n window.location.reload();\r\n return;\r\n \r\n }\r\n \r\n funciones.showToast('e', 'No hay conexión');\r\n \r\n return;\r\n \r\n }\r\n \r\n const requestRows = JSON.parse(res.text);\r\n let datosFacultadesItems = null;\r\n\r\n if (requestRows.length > 0) \r\n { \r\n datosSelectFacultad = requestRows;\r\n\r\n datosFacultadesItems = requestRows.map((item, i) => {\r\n return {item.DESCRIPCION_FACULTAD} \r\n }); \r\n\r\n this.setState({ datosSelectFacultad: datosFacultadesItems }); \r\n\r\n }\r\n\r\n});\r\n\r\n}\r\n\r\nobtener_sucursales = ()=>{\r\n\r\n new Request\r\n .get(`${globales.ip}/aulas/usap/sucursales`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(1)\r\n .timeout({ response: 15000, deadline: 30000, }) \r\n .end((err, res) => {\r\n \r\n if (err) { \r\n \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n \r\n window.location.reload();\r\n return;\r\n \r\n }\r\n \r\n funciones.showToast('e', 'No hay conexión');\r\n \r\n return;\r\n }\r\n \r\n const rows = JSON.parse(res.text);\r\n \r\n if (rows.length > 0) \r\n { \r\n \r\n datosSelectSucursal = rows;\r\n let items = datosSelectSucursal.map((datos, i) =>{\r\n return {datos.DESCRIPCION_SUCURSAL} \r\n });\r\n \r\n this.setState({ datosSelectSucursal: items });\r\n \r\n } \r\n \r\n});\r\n\r\n\r\n}\r\n\r\nhandleChangeFacultad = event => {\r\n\r\nthis.setState({ selectedFalcutad: event.target.value, }); \r\n\r\n}\r\n\r\nhandleChangeSucursal = event => {\r\n \r\nthis.setState({ selectedSucursal: event.target.value, }); \r\n\r\n}\r\n\r\nhandleChangeEstado = event => {\r\n\r\nthis.setState({ selectedEstado: event.target.value, }); \r\n\r\n}\r\n\r\nhandleRowClick = (idRow) => event => {\r\n \r\nthis.setState({ idRowSelected: idRow });\r\n \r\n}\r\n\r\nhandleChangeCheck = (event) => {\r\n this.setState({ checked: event.target.checked });\r\n}\r\n\r\nobtener_aulas = ()=>{\r\n\r\n new Request\r\n .get(`${globales.ip}/aulas/${0}`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(1)\r\n .timeout({ response: 15000, deadline: 30000, }) \r\n .end((err, res) => {\r\n \r\n if (err) { \r\n\r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n \r\n window.location.reload();\r\n return;\r\n \r\n }\r\n \r\n this.setState({ isLoadingMain: false }, ()=>{ \r\n funciones.showToast('e', 'No hay conexión'); \r\n });\r\n\r\n return;\r\n\r\n }\r\n \r\n const rows = JSON.parse(res.text);\r\n\r\n if (rows.length > 0)\r\n { \r\n this.setState({ rows: rows, isLoadingMain: false });\r\n }\r\n else\r\n {\r\n this.setState({ isLoadingMain: false });\r\n } \r\n\r\n});\r\n\r\n}\r\n\r\ncomponentDidMount() { //Load\r\n\r\ntokenInfo = Auth.getProfile(); \r\n \r\nthis.setState({ isLoggin: tokenInfo.plataforma !== undefined ? true : false }, ()=>{ \r\n \r\n if (tokenInfo.plataforma === 1) // Usuario Admin\r\n {\r\n this.obtener_aulas();\r\n } \r\n\r\n this.setState({ heightTableMain: funciones.getHeightTableMain(movil, this).heightTable }); \r\n this.obtenerFacultades();\r\n this.obtener_sucursales();\r\n\r\n});\r\n\r\n}\r\n\r\n\r\nrender() {\r\n const { classes } = this.props; \r\n\r\n if (this.state.isLoggin === true)\r\n {\r\n \r\n return (\r\n \r\n \r\n \r\n {\r\n (() => { \r\n \r\n if (tokenInfo.plataforma === 1) //Si es Usuario Admin\r\n {\r\n \r\n return (\r\n \r\n \r\n
\r\n \r\n
\r\n\r\n \r\n Aula\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n \r\n })()} \r\n \r\n \r\n
\r\n x.PERIODO_INTENSIVO).length > 0 ? [{ columnName: 'PERIODO_INTENSIVO' }] : undefined } \r\n TableColumnExtensions={columnExtensionsJornadas} \r\n DefaultHiddenColumnNames= {['ID_JORNADA', 'PERIODO_INTENSIVO']} \r\n ExpandedGroups = {this.state.expandedGroups}\r\n ChangeExpandedGroups = {this.changeExpandedGroups}\r\n getRowId={RowIdJornadas}\r\n height={this.state.tableJornadasHeight}\r\n showSelectionColumn\r\n groupContentComponent={GroupCellContent}\r\n Selection ={this.state.selection}\r\n ChangeSelection = {this.changeSelection}\r\n tableSelectionCellComponent = {this.state.idRowSelected !== null ? TableSelectionCellComponent(this.state.rows.find(x => x.ID_USUARIO === this.state.idRowSelected).ID_ESTADO) : undefined}\r\n showSelectAll={this.state.idRowSelected !== null ? this.state.rows.find(x => x.ID_USUARIO === this.state.idRowSelected).ID_ESTADO : undefined} \r\n disabledAlternateRowColor\r\n /> \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n Copiar permisos\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {(() => {\r\n\r\n if (this.state.saveCopyLoading) \r\n return(
\r\n \r\n );\r\n \r\n return( );\r\n \r\n })()} \r\n \r\n
\r\n \r\n \r\n Permisos\r\n \r\n \r\n \r\n \r\n \r\n {(() => { \r\n \r\n if (this.state.rows.find(x => x.ID_USUARIO === this.state.idRowSelected)) \r\n return (\r\n {'¿Desea eliminar todos los permisos de ' + this.state.rows.find(x => x.ID_USUARIO === this.state.idRowSelected ).USUARIO + '?'}\r\n )\r\n \r\n })()}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {this.state.textBackDrop}\r\n \r\n \r\n\r\n
\r\n );\r\n\r\n } \r\n \r\n })()\r\n\r\n }\r\n\r\n \r\n
\r\n
\r\n );\r\n }\r\nelse if (this.state.isLoggin === false)\r\n{\r\n //Auth.logout();\r\n window.location.reload();\r\n return; //(())\r\n}\r\nreturn null;\r\n\r\n}//FIN RENDER\r\n}\r\n\r\n)\r\n","import React from 'react';\r\nimport CustomTable from '../../components/CustomTable';\r\nimport {globales, colores, funciones} from '../../global';\r\nimport AuthService from '../../AuthService';\r\nimport Request from 'superagent';\r\nimport Paper from '@material-ui/core/Paper';\r\nimport 'date-fns';\r\nimport {KeyboardDatePicker, MuiPickersUtilsProvider} from \"@material-ui/pickers\";\r\nimport DateFnsUtils from \"@date-io/date-fns\";\r\nimport esLocale from \"date-fns/locale/es\";\r\nimport FormControlLabel from '@material-ui/core/FormControlLabel';\r\nimport SelectTime from '../../components/SelectTime';\r\nimport Button from '@material-ui/core/Button';\r\nimport Box from '@material-ui/core/Box';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport LinearProgress from '@material-ui/core/LinearProgress';\r\nimport BarraBotones from '../../components/Barra_menu';\r\nimport PanToolIcon from '@material-ui/icons/PanTool';\r\nimport DialogTitle from '@material-ui/core/DialogTitle';\r\nimport Dialog from '@material-ui/core/Dialog';\r\nimport CloseIcon from '@material-ui/icons/Close';\r\nimport Select from '../../components/Select';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport DialogContent from '@material-ui/core/DialogContent';\r\nimport DialogActions from '@material-ui/core/DialogActions';\r\nimport {Table, TableInlineCellEditing, TableFilterRow, TableSelection, TableFixedColumns} from '@devexpress/dx-react-grid-material-ui';\r\nimport Tooltip from '@material-ui/core/Tooltip';\r\nimport EventAvailableIcon from '@material-ui/icons/EventAvailable';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport Checkbox from '@material-ui/core/Checkbox';\r\nimport Input from '@material-ui/core/Input';\r\nimport IndeterminateCheckBoxOutlinedIcon from '@material-ui/icons/IndeterminateCheckBoxOutlined';\r\nimport {IntegratedFiltering} from '@devexpress/dx-react-grid';\r\nimport Backdrop from '@material-ui/core/Backdrop';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport EmailIcon from '@material-ui/icons/Email';\r\nimport FlashOnIcon from '@material-ui/icons/FlashOn';\r\nimport UpdateIcon from '@material-ui/icons/Update';\r\n\r\nlet Auth = new AuthService();\r\nlet tokenInfo = [];\r\n\r\nvar movil=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\r\n\r\nconst styles = theme => ({\r\n\r\nformControlSelect: {\r\n width: '100%', \r\n marginTop: theme.spacing(0), \r\n textAlign: 'left',\r\n marginRight: theme.spacing(2),\r\n },\r\ncloseButton: {\r\n position: 'absolute',\r\n right: theme.spacing(1),\r\n top: theme.spacing(1),\r\n color: theme.palette.grey[500],\r\n},\r\npaper: { \r\n borderRadius: globales.border_dialog,\r\n minWidth: !movil ? '480px' : undefined,\r\n maxWidth: !movil ? '480px' : undefined,\r\n height: !movil ? '630px' : undefined,\r\n maxHeight: !movil ? '99%' : undefined\r\n},\r\npaperDays: { \r\n borderRadius: globales.border_dialog,\r\n width: '360px',\r\n maxWidth: !movil ? '360px' : '95%',\r\n minHeight: '300px',\r\n maxHeight: '300px'\r\n},\r\npaperExc: { \r\n borderRadius: globales.border_dialog,\r\n minWidth: !movil ? '1020px' : undefined,\r\n maxWidth: !movil ? '1020px' : undefined,\r\n height: !movil ? '630px' : undefined,\r\n maxHeight: !movil ? '99%' : undefined\r\n},\r\npaperList: { \r\n borderRadius: globales.border_dialog,\r\n minWidth: !movil ? '88%' : undefined, \r\n maxWidth: !movil ? '88%' : undefined,\r\n minHeight: !movil ? '97%' : undefined, \r\n maxHeight: !movil ? '97%' : undefined\r\n},\r\npaperConfirmation: { \r\n borderRadius: globales.border_dialog,\r\n minWidth: '320px', \r\n maxWidth: '320px', \r\n height: 180\r\n},\r\nbackdrop: {\r\n zIndex: 500000,\r\n color: '#fff', \r\n flexDirection: 'column'\r\n},\r\npaperTitle: { \r\n height: '40px', \r\n textAlign: 'center',\r\n verticalAlign: 'middle',\r\n lineHeight: '40px',\r\n margin: \"1px \" + globales.tabla.marginright + \"px 0px \" + globales.tabla.marginleft + \"px\", \r\n},\r\ninputCheck: { \r\n marginLeft: '12px', \r\n marginTop: '0px', \r\n},\r\ndivProgress:{\r\n height: '48px',\r\n width: \"100%\",\r\n paddingTop: '20px'\r\n}\r\n\r\n});\r\n\r\nconst widthTableList = !movil ? (window.screen.width * 0.88) : (1336 * 0.88);\r\nconst settingFilter = [\r\n \r\n { columnName: 'CHECK_FILTER',\r\n predicate: (value, filter, row) => {\r\n filter.operation = 'equal';\r\n \r\n\r\n if (filter.value === true) {\r\n \r\n if (row.CHECKED === 1) { \r\n \r\n return true; \r\n \r\n }\r\n\r\n return false;\r\n }\r\n else if (filter.value === false)\r\n {\r\n if (row.CHECKED === 0) { \r\n \r\n return true; \r\n \r\n }\r\n \r\n return false;\r\n\r\n }\r\n\r\n return IntegratedFiltering.defaultPredicate(value, filter, row);\r\n\r\n\r\n },\r\n },\r\n \r\n \r\n\r\n];\r\n\r\nlet configuracionProcesos = [];\r\nlet checkExcId = undefined;\r\nlet isChangingState = false;\r\n\r\nconst columnsUser = [ \r\n { name: 'CHECK_FILTER', title: ' ' },\r\n { name: 'ID_USUARIO', title: 'ID_USUARIO' },\r\n { name: 'AD_USUARIO', title: 'Usuario' },\r\n { name: 'NOMBRE_USUARIO', title: 'Nombre' },\r\n { name: 'CHECKED', title: 'CHECKED' },\r\n];\r\nconst columnExtensionsUser = [\r\n { columnName: 'CHECK_FILTER', width: 1},\r\n { columnName: 'AD_USUARIO', width: movil === false ? 140 : window.innerWidth < window.innerHeight ? (window.innerWidth * 0.50) - 55 : (window.innerHeight * 0.50) - 55 },\r\n { columnName: 'NOMBRE_USUARIO', width: movil === false ? 220 : window.innerWidth < window.innerHeight ? (window.innerWidth * 0.50) - 55 : (window.innerHeight * 0.50) - 55 }, \r\n ];\r\nconst datosSelectProceso = [ { value: 1, label: 'Congelado'},\r\n { value: 2, label: 'Borrado'}];\r\nconst columnsExc = [ \r\n { name: 'CHECK_FILTER', title: ' ' },\r\n { name: 'CUENTA_ALUMNO', title: 'Cuenta' },\r\n { name: 'NOMBRE_COMPLETO', title: 'Nombre' },\r\n { name: 'COMENTARIO', title: 'Motivo' },\r\n ];\r\nconst columnExtensionsExc = [ \r\n { columnName: 'CHECK_FILTER', width: 1}, \r\n { columnName: 'CUENTA_ALUMNO', width: 110 },\r\n { columnName: 'NOMBRE_COMPLETO', width: 395 }, \r\n { columnName: 'COMENTARIO', width: 395 }, \r\n ];\r\nconst columnsList = [ \r\n { name: 'CUENTA_ALUMNO', title: 'Cuenta' },\r\n { name: 'NOMBRE_COMPLETO', title: 'Nombre' },\r\n { name: 'CODIGO_NIVEL', title: 'Código' },\r\n { name: 'DESCRIPCION_NIVEL', title: 'Nivel' },\r\n { name: 'ESTADO', title: 'Estado' },\r\n];\r\nconst columnExtensionsList = [ \r\n { columnName: 'CUENTA_ALUMNO', width: widthTableList * 0.10},\r\n { columnName: 'NOMBRE_COMPLETO', width: widthTableList * 0.30 }, \r\n { columnName: 'CODIGO_NIVEL', width: widthTableList * 0.10 },\r\n { columnName: 'DESCRIPCION_NIVEL', width: widthTableList * 0.32 },\r\n { columnName: 'ESTADO', width: widthTableList * 0.12, align: \"center\" }, \r\n ];\r\n\r\nconst RowIdUser = row => row.ID_USUARIO;\r\nconst RowId = row => row.CUENTA_ALUMNO;\r\nconst VirtualTable_cellComponent = ({onClick, ...props}) => { \r\n \r\n if (props.column.name === 'COMENTARIO'){\r\n return ();\r\n }\r\n\r\n return ();\r\n \r\n}\r\nconst VirtualTable_cellComponentList = (isChangingState, idRowListSelected)=> (props) => { \r\n \r\n let changing = isChangingState && props.row.CUENTA_ALUMNO === idRowListSelected ? true : false;\r\n \r\n if (changing && props.column.name === 'ESTADO'){\r\n return (\r\n \r\n );\r\n }\r\n\r\n return (\r\n {props.value}\r\n );\r\n\r\n}\r\nconst cellsEditingCellComponent = ({value, editingEnabled, ...props}) =>{\r\n \r\n const style={ paddingBottom: \"0px\", paddingTop: \"0px\"}\r\n \r\n return ();\r\n}\r\nconst TableSelectionCellComponent = (estado, checkId) => ({style, ...props}) =>{\r\n \r\n \r\n if (estado && props.row.CUENTA_ALUMNO === checkId)\r\n {\r\n return ( \r\n \r\n \r\n );\r\n } \r\n \r\n if (props.row.COMENTARIO.toString().trim().length === 0)\r\n { \r\n return (\r\n \r\n );\r\n }\r\n \r\n return ();\r\n}\r\nconst TableSelectionHeaderCellComponent = (selectedProceso, isLoading, handleClick) => ({allSelected, someSelected, ...props}) => {\r\n \r\n const disabled = (selectedProceso === '' || isLoading) ? true : false;\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n );\r\n\r\n}\r\nconst ColumnFixed_cellComponent = (classes, handleChangeCheck, valueFilterCheck) => ({showRightDivider, component, ...props}) => { \r\n \r\n if (props.tableRow.key === \"Symbol(filter)\" && props.tableColumn.key===\"Symbol(select)\") \r\n { \r\n return (\r\n }\r\n />\r\n );\r\n\r\n }\r\n \r\n return ();\r\n\r\n}\r\nconst ColumnFixed_cellComponentList = ({showLeftDivider, ...props}) => {\r\n\r\nconst {row} = props.tableRow;\r\nconst colorFont = row === undefined || row.COD_ESTADO !== 'X' ? undefined : colores.azul; \r\n\r\nif (props.tableRow.key === \"Symbol(filter)\"){\r\n return (\r\n
\r\n );\r\n}\r\n\r\nreturn ();\r\n\r\n}\r\nconst TableRow = ({ highlighted, rowIndex, row, selectByRowClick, ...props}) => {\r\n \r\n const odd = !!(rowIndex % 2); \r\n \r\n return (\r\n \r\n );\r\n\r\n\r\n} \r\nconst FilterCellComponent = (props)=>{ \r\n return ();\r\n}\r\n\r\nexport default withStyles(styles) ( \r\nclass App extends React.Component {\r\n\r\nhorasRef = React.createRef();\r\nminutosRef = React.createRef();\r\nmerRef = React.createRef();\r\ndatePickerRef = React.createRef();\r\nprocesoRef = React.createRef();\r\ntableDialogRef = React.createRef();\r\ndialogActionsRef = React.createRef();\r\ninputDaysBRef = React.createRef();\r\ninputDaysCRef = React.createRef();\r\ninputDaysDRef = React.createRef();\r\n\r\n constructor (props) {\r\n super(props);\r\n this.l=props.l\r\n this.e=props.e\r\n this.i=props.i \r\n this.state = { \r\n isLoggin : undefined,\r\n heightPaperMain: 0,\r\n selectedDate: new Date(),\r\n cStatus: false,\r\n bStatus: false,\r\n loadingPage: true,\r\n openModalNoti: false,\r\n datosSelectProceso: null,\r\n selectedProceso: '',\r\n heightTableUser: 0,\r\n rowsUser: [],\r\n openModalDays: false,\r\n checkedA: false,\r\n checkedB: false,\r\n checkedC: false,\r\n checkedD: false,\r\n isLoadingUsers: false,\r\n selection: [],\r\n saveLoadingUsers: false,\r\n filterCheckUsersValue: undefined,\r\n filtersUsers: [], \r\n openModalExc: false,\r\n rowsExc: [],\r\n titleExc: '',\r\n heightTableExc: 0,\r\n loadingExc: false,\r\n selectionExc: [],\r\n loadingCheck: false,\r\n filterCheckExcValue: undefined,\r\n filtersExc: [],\r\n loadingList: false,\r\n openModalList: false,\r\n idRowListSelected: null, \r\n heightTableList: 0,\r\n rowsList: [],\r\n openModalConfirmation: false,\r\n isProcessRunning: false,\r\n isChangingState: false,\r\n openBackDrop: false,\r\n openModalSaveConfirmation: false,\r\n saveLoadingDays: false,\r\n defaultHoras: \"12\",\r\n defaultMinutos: \"00\",\r\n defaultMeridiano: 0,\r\n loadingDays: false,\r\n checkedActivo: false,\r\n };\r\n this.botones_noti =[\r\n {icono: 'Check', toolt: '', nombre: 'Aceptar', onclick: this.handleOkNoti , display:'auto'},\r\n {icono: 'Close', toolt: '', nombre: 'Cerrar' ,onclick: this.handleCloseNoti, display:'auto', color: 'red'},\r\n ];\r\n this.botones_days =[\r\n {icono: 'Check', toolt: '', nombre: 'Aceptar', onclick: this.handleOkDays, display:'auto'},\r\n {icono: 'Close', toolt: '', nombre: 'Cerrar' ,onclick: this.handleCloseDays, display:'auto', color: 'red'},\r\n ];\r\n this.botones_list =[\r\n {icono: 'Check', toolt: '', nombre: 'Habilitar | Congelar', onclick: this.handleOkList, display:'auto'},\r\n {icono: 'Close', toolt: '', nombre: 'Cerrar' ,onclick: this.handleCloseList, display:'auto', color: 'red'},\r\n ];\r\n this.botones_ejecutar =[\r\n {icono: 'Check', toolt: '', nombre: 'Ejecutar', onclick: this.handleProcessOk , display:'auto'},\r\n {icono: 'Close', toolt: '', nombre: 'Cerrar' ,onclick: this.handleCloseConfirmation, display:'auto', color: 'red'},\r\n ];\r\n this.botones_guardar =[\r\n {icono: 'Check', toolt: '', nombre: 'Aceptar', onclick: this.saveEvent, display:'auto'},\r\n {icono: 'Close', toolt: '', nombre: 'Cerrar' ,onclick: this.handleCloseSaveConfirmation, display:'auto', color: 'red'},\r\n ];\r\n}\r\n\r\nhandleDateChange = (date) =>{\r\n\r\nthis.setState({ selectedDate: date });\r\n\r\n}\r\n\r\ngestionProcesos = (dateJob, timeJob, jobSchedule, idControlMatricula, idControlMatriculaPi, defaultProcess, adUsuario) =>{\r\n \r\nthis.setState({ openBackDrop: true, openModalSaveConfirmation: false }, ()=>{ \r\n \r\n new Request\r\n .post(`${globales.ip}/procesos/congelado-borrado/configuracion`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .set('Content-Type', 'application/json')\r\n .send({ date_job: dateJob, \r\n time_job: timeJob, \r\n job_schedule: jobSchedule, \r\n id_control_matricula: idControlMatricula, \r\n id_control_matricula_pi: idControlMatriculaPi, \r\n default_process: defaultProcess, \r\n ad_usuario: adUsuario })\r\n .retry(0)\r\n .timeout({ response: 20000, deadline: 30000, }) \r\n .end((err, res) => {\r\n \r\n if (err) { \r\n \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n window.location.reload();\r\n return; \r\n }\r\n \r\n this.setState({ openBackDrop: false }, ()=>{ \r\n funciones.showToast('e', 'No hay conexión');\r\n });\r\n \r\n return;\r\n }\r\n \r\n const rows = JSON.parse(res.text); \r\n \r\n if (rows[0].RESP === 'OK')\r\n { \r\n configuracionProcesos = rows;\r\n this.setState({ openBackDrop: false }, ()=>{ \r\n funciones.showToast('s', 'Se guardó la configuración');\r\n });\r\n }\r\n else \r\n this.setState({ openBackDrop: false }, ()=>{ \r\n funciones.showToast('w', rows[0].RESP); \r\n }); \r\n \r\n }); \r\n\r\n});\r\n\r\n}\r\n\r\ngetTimeJob =(valueHora, valueMinutos, valueMer)=>{\r\n\r\n let hora = valueMer === 1 ? parseInt(valueHora) < 12 ? (parseInt(valueHora) + 12).toString() : valueHora\r\n : parseInt(valueHora) === 12 ? '00' : valueHora;\r\n\r\n return hora + valueMinutos + '00';\r\n}\r\n\r\nsaveEvent = ()=>{ \r\n \r\n if (this.state.bStatus)\r\n return;\r\n \r\n const jobSchedule = this.state.checkedActivo ? 1 : 0;\r\n const idControlMatricula = configuracionProcesos[0].ID_CONTROL_MATRICULA;\r\n const idControlMatriculaPi = configuracionProcesos[0].ID_CONTROL_MATRICULA_PI;\r\n const defaultProcess = this.state.selectedProceso;\r\n \r\n const dateJob = this.datePickerRef.current.value.split(\" \").join(\"\").substr(6,4) + this.datePickerRef.current.value.split(\" \").join(\"\").substr(3,2) + this.datePickerRef.current.value.split(\" \").join(\"\").substr(0,2);\r\n const timeJob = this.getTimeJob(this.horasRef.current.value, this.minutosRef.current.value, this.merRef.current.value);\r\n \r\n this.gestionProcesos(dateJob, \r\n timeJob, \r\n jobSchedule, \r\n idControlMatricula, \r\n idControlMatriculaPi, \r\n defaultProcess, \r\n tokenInfo.user);\r\n\r\n}\r\n\r\nnotiEvent = () =>{\r\n\r\nthis.setState({ rowsUser: [],\r\n filterCheckUsersValue: undefined,\r\n filtersUsers: [],\r\n isLoadingUsers: true, \r\n openModalNoti: true }, ()=>{\r\n\r\n new Request\r\n .get(`${globales.ip}/procesos/congelado-borrado/notificaciones/destinatarios/${this.state.selectedProceso}`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(1)\r\n .timeout({ response: 15000, deadline: 30000, }) \r\n .end((err, res) => {\r\n \r\n if (err) { \r\n \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n { \r\n window.location.reload();\r\n return;\r\n }\r\n \r\n this.setState({ rowsUser: [], selection: [], isLoadingUsers: false }, ()=>{ \r\n funciones.showToast('e', 'No hay conexión'); \r\n });\r\n \r\n return;\r\n }\r\n \r\n const rowsUser = JSON.parse(res.text); \r\n \r\n let chekedUsertmp = rowsUser.filter(x => x.CHECKED === 1);\r\n let chekedUser = chekedUsertmp.map((item)=>{ return item.ID_USUARIO; });\r\n \r\n this.setState({ rowsUser: rowsUser,\r\n selection: chekedUser,\r\n isLoadingUsers: false });\r\n \r\n \r\n });\r\n\r\n\r\n});\r\n \r\n}\r\n\r\nonEnteringNoti = () =>{\r\n this.setState({ heightTableUser: funciones.getHeightTableDialog(movil, this.tableDialogRef, this.dialogActionsRef, !movil ? 7 : 5) });\r\n}\r\n\r\nhandleCloseNoti = () =>{\r\n \r\n if (this.state.saveLoadingUsers)\r\n return\r\n \r\n this.setState({ openModalNoti: false });\r\n\r\n}\r\n\r\nhandleCloseDays = () =>{\r\n \r\nthis.setState({ openModalDays: false });\r\n\r\n}\r\n\r\nhandleChangeCheck = (event) => {\r\n \r\n let checked = event.target.checked;\r\n let name = event.target.name;\r\n\r\n this.setState({ ...this.state, [event.target.name]: event.target.checked }, ()=>\r\n \r\n {\r\n \r\n if (checked)\r\n {\r\n if (name === 'checkedB')\r\n {\r\n this.inputDaysBRef.current.focus();\r\n }\r\n else if (name === 'checkedC')\r\n {\r\n this.inputDaysCRef.current.focus();\r\n }\r\n else if (name === 'checkedD')\r\n {\r\n this.inputDaysDRef.current.focus();\r\n }\r\n }\r\n else if (!checked)\r\n {\r\n if (name === 'checkedB')\r\n {\r\n this.inputDaysBRef.current.value = '';\r\n }\r\n else if (name === 'checkedC')\r\n {\r\n this.inputDaysCRef.current.value = '';\r\n }\r\n else if (name === 'checkedD')\r\n {\r\n this.inputDaysDRef.current.value = '';\r\n }\r\n\r\n }\r\n\r\n });\r\n} \r\n\r\nhandleOkDays = ()=>{\r\n \r\n if (this.state.loadingDays === undefined)\r\n return;\r\n \r\n if (this.state.checkedB && this.inputDaysBRef.current.value.trim().length === 0 ){\r\n this.inputDaysBRef.current.focus();\r\n funciones.showToast('w', 'Debe especificar la cantidad de días previos');\r\n return; \r\n }\r\n\r\n if (this.state.checkedC && this.inputDaysCRef.current.value.trim().length === 0 ){\r\n this.inputDaysCRef.current.focus();\r\n funciones.showToast('w', 'Debe especificar la cantidad de días previos'); \r\n return;\r\n }\r\n\r\n if (this.state.checkedD && this.inputDaysDRef.current.value.trim().length === 0 ){\r\n this.inputDaysDRef.current.focus();\r\n funciones.showToast('w', 'Debe especificar la cantidad de días previos'); \r\n return;\r\n }\r\n\r\n if ( this.inputDaysCRef.current.value === this.inputDaysBRef.current.value && this.inputDaysBRef.current.value.trim().length > 0 ){\r\n this.inputDaysCRef.current.focus();\r\n funciones.showToast('w', 'No se permite más de un correo por dia');\r\n return;\r\n }\r\n\r\n if ( this.inputDaysDRef.current.value === this.inputDaysBRef.current.value && this.inputDaysBRef.current.value.trim().length > 0){\r\n this.inputDaysDRef.current.focus();\r\n funciones.showToast('w', 'No se permite más de un correo por dia');\r\n return;\r\n }\r\n\r\n if ( this.inputDaysDRef.current.value === this.inputDaysCRef.current.value && this.inputDaysDRef.current.value.trim().length > 0){\r\n this.inputDaysDRef.current.focus();\r\n funciones.showToast('w', 'No se permite más de un correo por dia');\r\n return;\r\n }\r\n \r\n\r\n let str_dias_prev = '';\r\n str_dias_prev = this.state.checkedA ? '0z' : str_dias_prev;\r\n str_dias_prev = this.state.checkedB ? str_dias_prev + this.inputDaysBRef.current.value + 'z' : str_dias_prev;\r\n str_dias_prev = this.state.checkedC ? str_dias_prev + this.inputDaysCRef.current.value + 'z' : str_dias_prev;\r\n str_dias_prev = this.state.checkedD ? str_dias_prev + this.inputDaysDRef.current.value : str_dias_prev;\r\n \r\n if (str_dias_prev.substr(str_dias_prev.length - 1, 1) === 'z'){\r\n str_dias_prev = str_dias_prev.substr(0, str_dias_prev.length - 1);\r\n }\r\n\r\n if (str_dias_prev.length === 0){\r\n str_dias_prev = '-';\r\n }\r\n \r\n this.setState({ saveLoadingDays: true }, ()=>{ \r\n\r\n new Request\r\n .post(`${globales.ip}/procesos/congelado-borrado/notificaciones/dias/conf`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .set('Content-Type', 'application/json')\r\n .send({ id_proceso: this.state.selectedProceso, \r\n str_noti: str_dias_prev, \r\n ad_usuario: tokenInfo.user })\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 30000, }) \r\n .end((err, res) => {\r\n \r\n if (err) { \r\n \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n \r\n window.location.reload();\r\n return;\r\n \r\n } \r\n \r\n this.setState({ saveLoadingDays: false }, ()=>{ \r\n funciones.showToast('e', 'No hay conexión');\r\n });\r\n\r\n return;\r\n }\r\n \r\n const rows = JSON.parse(res.text);\r\n \r\n if (rows.length > 0)\r\n { \r\n if (rows[0].RESP === 'OK')\r\n { \r\n \r\n this.setState({ saveLoadingDays: false }, ()=>{ \r\n funciones.showToast('s', 'Se han registrado los cambios');\r\n });\r\n\r\n }\r\n else\r\n {\r\n \r\n this.setState({ saveLoadingDays: false }, ()=>{ \r\n funciones.showToast('w', rows[0].RESP);\r\n });\r\n \r\n }\r\n }\r\n \r\n \r\n });\r\n\r\n });\r\n \r\n}\r\n\r\nonEnteringDays = ()=>{\r\n\r\nthis.setState({ loadingDays: true }, ()=>{\r\n\r\n new Request\r\n .get(`${globales.ip}/procesos/congelado-borrado/notificaciones/dias/${this.state.selectedProceso}`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(1)\r\n .timeout({ response: 15000, deadline: 30000, }) \r\n .end((err, res) => {\r\n \r\n if (err) { \r\n \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n window.location.reload();\r\n return; \r\n }\r\n \r\n this.setState({ loadingDays: undefined }, ()=>{ \r\n funciones.showToast('e', 'No hay conexión'); \r\n }); \r\n \r\n return;\r\n }\r\n \r\n const rows = JSON.parse(res.text);\r\n let indexCheckedB = undefined;\r\n let indexCheckedC = undefined;\r\n let indexCheckedD = undefined; \r\n let inputValueB = undefined;\r\n let inputValueC = undefined;\r\n let inputValueD = undefined;\r\n\r\n rows.map((item, index)=>{\r\n\r\n if (item.DIAS_ANTICIPACION > 0 && index <= 3)\r\n {\r\n if (indexCheckedB === undefined)\r\n {\r\n indexCheckedB = index;\r\n inputValueB = item.DIAS_ANTICIPACION;\r\n }\r\n else if (indexCheckedC === undefined)\r\n {\r\n indexCheckedC = index;\r\n inputValueC = item.DIAS_ANTICIPACION;\r\n }\r\n else if (indexCheckedD === undefined)\r\n {\r\n indexCheckedD = index;\r\n inputValueD = item.DIAS_ANTICIPACION;\r\n }\r\n \r\n }\r\n \r\n return item;\r\n \r\n });\r\n\r\n this.setState({ checkedA: rows.find(x => x.DIAS_ANTICIPACION === 0) ? true : false,\r\n checkedB: indexCheckedB !== undefined ? true : false,\r\n checkedC: indexCheckedC !== undefined ? true : false,\r\n checkedD: indexCheckedD !== undefined ? true : false, \r\n loadingDays: false }, ()=>{\r\n\r\n if (this.state.checkedB && inputValueB !== undefined)\r\n {\r\n this.inputDaysBRef.current.value = inputValueB;\r\n }\r\n \r\n if (this.state.checkedC && inputValueC !== undefined)\r\n {\r\n this.inputDaysCRef.current.value = inputValueC;\r\n }\r\n \r\n if (this.state.checkedD && inputValueD !== undefined)\r\n {\r\n this.inputDaysDRef.current.value = inputValueD;\r\n }\r\n\r\n });\r\n\r\n });\r\n\r\n\r\n});\r\n\r\n}\r\n\r\nchangeSelection = selection =>{ \r\n \r\n let idRow = funciones.getIdRowChecking(selection, this.state.selection); \r\n let actionCheck = selection.length > this.state.selection.length ? 1 : 0;\r\n \r\n this.setState({ selection }, ()=>{\r\n \r\n this.setState({ rowsUser: this.state.rowsUser.map((item, index)=>{\r\n\r\n if (item.ID_USUARIO === idRow)\r\n {\r\n item.CHECKED = actionCheck;\r\n }\r\n\r\n return item;\r\n })\r\n\r\n });\r\n \r\n });\r\n \r\n}\r\n\r\nhandleOkNoti = ()=>{\r\n\r\nif (this.state.isLoadingUsers || this.state.saveLoadingUsers || this.state.rowsUser.length === 0)\r\n return;\r\n\r\nthis.setState({ saveLoadingUsers: true }, ()=>{\r\n\r\nconst id_proceso=this.state.selectedProceso; \r\nlet str_usuarios= '';\r\nthis.state.rowsUser.map((item, index)=>{\r\n str_usuarios= this.state.selection.find(x=> x === item.ID_USUARIO) ? str_usuarios + item.ID_USUARIO + 'y1z' : str_usuarios + item.ID_USUARIO + 'y0' + (index + 1 < this.state.rowsUser.length ? 'z' : '');\r\n return item;\r\n});\r\n \r\n new Request\r\n .post(`${globales.ip}/procesos/congelado-borrado/notificaciones/destinatarios/conf`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .set('Content-Type', 'application/json')\r\n .send({ id_proceso, \r\n str_usuarios, \r\n ad_usuario: tokenInfo.user })\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 30000, }) \r\n .end((err, res) => {\r\n \r\n if (err) { \r\n \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n window.location.reload();\r\n return; \r\n }\r\n \r\n this.setState({ saveLoadingUsers: false }, ()=>{ \r\n funciones.showToast('e', 'No hay conexión');\r\n });\r\n \r\n return;\r\n }\r\n \r\n const rows = JSON.parse(res.text);\r\n \r\n if (rows[0].RESP === 'OK')\r\n { \r\n this.setState({ saveLoadingUsers: false }, ()=> { \r\n funciones.showToast('s', 'Se han actualizado los destinatarios'); \r\n }); \r\n }\r\n else \r\n this.setState({ saveLoadingUsers: false }, ()=> {\r\n funciones.showToast('w', rows[0].RESP);\r\n });\r\n \r\n });\r\n\r\n\r\n});\r\n\r\n}\r\n\r\nexcEvent = ()=>{\r\n \r\nconst {selectedProceso} = this.state; \r\nconst titleExc = selectedProceso === 1 ? 'Excepciones Congelado' : 'Excepciones Borrado';\r\n\r\nthis.setState({ titleExc, \r\n filterCheckExcValue: undefined,\r\n filtersExc: [],\r\n rowsExc: [], \r\n selectionExc: [],\r\n openModalExc: true });\r\n\r\n}\r\n\r\nhandleCloseExc = () =>{\r\n this.setState({ openModalExc: false });\r\n}\r\n\r\nonEnteringExc = ()=>{\r\n\r\nconst heightTableExc = funciones.getHeightTableDialog(movil, this.tableDialogRef, this.dialogActionsRef, 3);\r\n\r\nthis.setState({ loadingExc: true, heightTableExc }, ()=>{\r\n \r\n new Request\r\n .get(`${globales.ip}/procesos/congelado-borrado/facturas_activas/${this.state.selectedProceso}`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(1)\r\n .timeout({ response: 20000, deadline: 30000, }) \r\n .end((err, res) => {\r\n \r\n if (err) { \r\n \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n { \r\n window.location.reload();\r\n return; \r\n }\r\n \r\n this.setState({ rowsExc: [], selectionExc: [], loadingExc: false }, ()=>{\r\n funciones.showToast('e', 'No hay conexión');\r\n });\r\n \r\n return;\r\n }\r\n \r\n const rows = JSON.parse(res.text);\r\n \r\n if (rows.length > 0){ \r\n let selectionExc = [];\r\n rows.map((item, index)=>{ \r\n if (item.CHECKED === 1 && !this.state.selectionExc.find(x => x === item.CUENTA_ALUMNO))\r\n selectionExc.push(item.CUENTA_ALUMNO);\r\n \r\n return item;\r\n });\r\n \r\n this.setState({ rowsExc: rows, selectionExc, loadingExc: false });\r\n \r\n }\r\n else \r\n this.setState({ rowsExc: [], selectionExc: [], loadingExc: false }); \r\n });\r\n\r\n }); \r\n\r\n}\r\n\r\ncommitChanges = ({ changed }) => {\r\n \r\n this.state.rowsExc.map((item, index) => {\r\n \r\n if (changed[item.CUENTA_ALUMNO] !== undefined)\r\n { \r\n changed[item.CUENTA_ALUMNO]['COMENTARIO'] = changed[item.CUENTA_ALUMNO]['COMENTARIO'].trim();\r\n\r\n if (changed[item.CUENTA_ALUMNO]['COMENTARIO'].toString().length > 100)\r\n {\r\n changed[item.CUENTA_ALUMNO]['COMENTARIO'] = changed[item.CUENTA_ALUMNO]['COMENTARIO'].substr(0, 100);\r\n }\r\n \r\n } \r\n return item;\r\n });\r\n\r\n \r\n const changedRows = this.state.rowsExc.map(row => (changed[row.CUENTA_ALUMNO] ? { ...row, ...changed[row.CUENTA_ALUMNO] } : row));\r\n this.setState({ rowsExc: changedRows});\r\n\r\n}\r\n\r\nchangeSelectionExc = selectionExc =>{ \r\n\r\n let idRow = funciones.getIdRowChecking(selectionExc, this.state.selectionExc); \r\n let actionCheck = selectionExc.length > this.state.selectionExc.length ? 1 : 0;\r\n \r\n if (actionCheck === 1 && this.state.rowsExc.find(x => x.CUENTA_ALUMNO === idRow).COMENTARIO.trim().length === 0)\r\n return funciones.showToast('w','Debe especificar el motivo por el cual se excluirá');\r\n\r\n checkExcId = idRow; \r\n this.setState({ loadingCheck: true }, ()=>{\r\n\r\n let rowChecked = this.state.rowsExc.find(x => x.CUENTA_ALUMNO === idRow);\r\n const id_proceso = this.state.selectedProceso;\r\n \r\n new Request\r\n .post(`${globales.ip}/procesos/congelado-borrado/facturas_activas/excepcion`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .set('Content-Type', 'application/json')\r\n .send({ cuenta_alumno: idRow, \r\n id_proceso, \r\n id_control_matricula: configuracionProcesos[0].ID_CONTROL_MATRICULA, \r\n comentario: rowChecked.COMENTARIO, \r\n tipo_gestion: actionCheck === 1 ? 1 : 2, \r\n ad_usuario: tokenInfo.user })\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 30000, }) \r\n .end((err, res) => {\r\n \r\n if (err) { \r\n \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n \r\n window.location.reload();\r\n return;\r\n \r\n }\r\n \r\n this.setState({ loadingCheck: false }, ()=>{ \r\n funciones.showToast('e', 'No hay conexión');\r\n }); \r\n \r\n return;\r\n }\r\n \r\n const rows = JSON.parse(res.text);\r\n \r\n if (rows[0].RESP === 'OK')\r\n { \r\n this.setState({ selectionExc, loadingCheck: false }, ()=>{\r\n \r\n const msg = actionCheck === 1 ? 'Se agregó el estudiante ' + idRow + ' ha excepción' : 'Se quitó el estudiante ' + idRow + ' de excepción';\r\n funciones.showToast('s', msg);\r\n\r\n this.setState({ rowsExc: this.state.rowsExc.map((item, index)=>{\r\n if (item.CUENTA_ALUMNO === idRow)\r\n item.CHECKED = actionCheck;\r\n \r\n return item;\r\n })}); \r\n });\r\n\r\n }\r\n else \r\n this.setState({ loadingCheck: false }, ()=>{\r\n funciones.showToast('w', rows[0].RESP);\r\n });\r\n\r\n });\r\n\r\n }); \r\n \r\n}\r\n\r\nlistEvent = ()=>{\r\nthis.setState({ rowsList: [], \r\n idRowListSelected: null, \r\n openModalList: true }); \r\n}\r\n\r\nonEnteringList = ()=>{\r\n\r\nconst heightTableList = funciones.getHeightTableDialog(movil, this.tableDialogRef, this.dialogActionsRef, !movil ? 7 : 5);\r\n\r\nthis.setState({ loadingList: true, heightTableList }, ()=>{\r\n\r\n new Request\r\n .get(`${globales.ip}/procesos/congelado-borrado/facturas`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(1)\r\n .timeout({ response: 20000, deadline: 30000, }) \r\n .end((err, res) => {\r\n \r\n if (err) { \r\n \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n \r\n window.location.reload();\r\n return;\r\n \r\n }\r\n \r\n this.setState({ rowsList: [], loadingList: false }, ()=>{ \r\n funciones.showToast('e', 'No hay conexión');\r\n }); \r\n \r\n return;\r\n }\r\n \r\n const rows = JSON.parse(res.text);\r\n this.setState({ rowsList: rows, loadingList: false }); \r\n \r\n });\r\n\r\n});\r\n\r\n}\r\n\r\nhandleCloseList = () =>{\r\n \r\nif (isChangingState)\r\n return\r\n \r\nthis.setState({ openModalList: false });\r\n\r\n}\r\n\r\nchangeFiltersList = filters => { \r\n if (this.state.idRowListSelected!== null)\r\n this.setState({ idRowListSelected: null });\r\n} \r\n\r\nhandleOkList = ()=>{\r\n\r\nif (this.state.idRowListSelected === null)\r\n return;\r\n\r\nthis.setState({ isChangingState: true }, ()=>{ \r\n\r\n let infoRowSelected = this.state.rowsList.find(x => x.CUENTA_ALUMNO === this.state.idRowListSelected);\r\n\r\n new Request\r\n .post(`${globales.ip}/procesos/congelado-borrado/facturas/estado_factura`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .set('Content-Type', 'application/json')\r\n .send({ cuenta_alumno: this.state.idRowListSelected, \r\n id_factura: infoRowSelected.ID_FACTURA, \r\n nuevo_estado: infoRowSelected.COD_ESTADO === 'A' ? 1 : 0, \r\n ad_usuario: tokenInfo.user })\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 30000, }) \r\n .end((err, res) => {\r\n \r\n if (err) { \r\n\r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n \r\n window.location.reload();\r\n return;\r\n \r\n }\r\n\r\n this.setState({ isChangingState: false }, ()=>{ \r\n funciones.showToast('e', 'No hay conexión');\r\n });\r\n \r\n return;\r\n }\r\n \r\n const rows = JSON.parse(res.text);\r\n\r\n if (rows.length > 0) \r\n { \r\n if (rows[0].RESP === 'OK')\r\n { \r\n this.setState({ rowsList: this.state.rowsList.map((item, index)=>{\r\n\r\n if (item.CUENTA_ALUMNO === this.state.idRowListSelected)\r\n {\r\n item.ESTADO = infoRowSelected.COD_ESTADO === 'A' ? 'Congelado' : 'Prematriculado';\r\n item.COD_ESTADO = infoRowSelected.COD_ESTADO === 'A' ? 'X' : 'A';\r\n\r\n }\r\n\r\n return item;\r\n\r\n }) \r\n }, ()=>{\r\n this.setState({ isChangingState: false });\r\n }); \r\n }\r\n else\r\n {\r\n \r\n this.setState({ isChangingState: false }, ()=>{ \r\n funciones.showToast('w', rows[0].RESP); \r\n });\r\n\r\n }\r\n }\r\n \r\n \r\n });\r\n\r\n});\r\n\r\n}\r\n\r\nhandleOkProceso = ()=> {\r\n this.setState({ openModalConfirmation: true });\r\n}\r\n\r\nhandleCloseConfirmation = () => { \r\n\r\nif (this.state.isProcessRunning)\r\n return;\r\n\r\nthis.setState({ openModalConfirmation: false });\r\n \r\n}\r\n\r\nhandleProcessOk = () =>{\r\n\r\nif (this.state.isProcessRunning)\r\n return;\r\n \r\nthis.setState({ isProcessRunning: true }, ()=>{\r\n\r\n const id_proceso = this.state.selectedProceso;\r\n\r\n new Request\r\n .post(`${globales.ip}/procesos/congelado-borrado/ejecutar`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .set('Content-Type', 'application/json')\r\n .send({ id_proceso, ad_usuario: tokenInfo.user })\r\n .retry(0)\r\n .timeout({ response: 300000, deadline: 300000, }) \r\n .end((err, res) => {\r\n \r\n if (err) { \r\n \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n window.location.reload();\r\n return; \r\n }\r\n \r\n this.setState({ isProcessRunning: false, openModalConfirmation: false }, ()=>{\r\n funciones.showToast('e', 'No hay conexión');\r\n });\r\n \r\n \r\n return;\r\n }\r\n \r\n const rows = JSON.parse(res.text);\r\n \r\n if (rows[0].RESP === 'OK')\r\n { \r\n this.setState({ openModalConfirmation: false }, ()=>{\r\n\r\n if (this.state.selectedProceso === 1)\r\n {\r\n configuracionProcesos[0].EXISTS_CONGELADO = true;\r\n this.setState({ cStatus: true, isProcessRunning: false }, ()=>{\r\n funciones.showToast('s', 'El proceso de Congelado a finalizado con éxito'); \r\n });\r\n }\r\n else if (this.state.selectedProceso === 2)\r\n {\r\n this.setState({ bStatus: true, isProcessRunning: false }, ()=>{\r\n funciones.showToast('s', 'El proceso de Borrado a finalizado con éxito');\r\n }); \r\n }\r\n \r\n }); \r\n }\r\n else\r\n this.setState({ isProcessRunning: false }, ()=>{\r\n funciones.showToast('w', rows[0].RESP);\r\n }); \r\n \r\n });\r\n \r\n\r\n });\r\n\r\n\r\n}\r\n\r\nhandleRowListClick = (idRow) => event => { \r\nthis.setState({ idRowListSelected: idRow });\r\n}\r\n\r\nhandleSaveEvent = () => {\r\n\r\nif (this.state.bStatus)\r\n return;\r\n\r\nthis.setState({ openModalSaveConfirmation: true });\r\n\r\n}\r\n\r\nhandleCloseSaveConfirmation = () => {\r\n this.setState({ openModalSaveConfirmation: false });\r\n}\r\n\r\nhandleChangeUsers = (onValueChange) => (event) => {\r\n onValueChange(this.state.filterCheckUsersValue === false ? '' : event.target.checked);\r\n this.setState({ filterCheckUsersValue: this.state.filterCheckUsersValue === false ? null: event.target.checked, });\r\n}\r\n\r\nchangeFiltersUsers = (filters) =>{ \r\n this.setState({ filtersUsers: filters });\r\n}\r\n\r\nchangeFiltersExc = (filters) =>{ \r\n this.setState({ filtersExc: filters });\r\n}\r\n\r\nhandleClick = () => {\r\n\r\nif (this.state.selectedProceso === '')\r\n return;\r\n\r\nthis.setState({ openModalDays: true }); \r\n\r\n}\r\n\r\nhandleChangeCheckFilterUsers = (event) => {\r\n \r\nconst value = this.state.filterCheckUsersValue === false ? undefined: event.target.checked;\r\nlet filter = this.state.filtersUsers.filter(x=> x.columnName !== 'CHECK_FILTER');\r\n \r\nthis.setState({ filterCheckUsersValue: value, \r\n filtersUsers: [...filter, {columnName: 'CHECK_FILTER', operation: 'equal', value: value }], \r\n });\r\n\r\n}\r\n\r\nhandleChangeCheckFilterExc = (event) => {\r\n \r\n const value = this.state.filterCheckExcValue === false ? undefined: event.target.checked;\r\n let filter = this.state.filtersExc.filter(x=> x.columnName !== 'CHECK_FILTER');\r\n \r\n this.setState({ filterCheckExcValue: value, \r\n filtersExc: [...filter, {columnName: 'CHECK_FILTER', operation: 'equal', value: value }], \r\n });\r\n\r\n}\r\n\r\nobtener_configuraciones = ()=>{\r\n\r\n new Request\r\n .get(`${globales.ip}/procesos/congelado-borrado`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(1)\r\n .timeout({ response: 15000, deadline: 30000, }) \r\n .end((err, res) => {\r\n \r\n if (err) { \r\n \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n window.location.reload();\r\n return; \r\n }\r\n \r\n this.setState({ loadingPage: undefined },()=>{ \r\n funciones.showToast('e', 'No hay conexión'); \r\n });\r\n \r\n return;\r\n }\r\n \r\n const rows = JSON.parse(res.text);\r\n \r\n if (rows.length > 0)\r\n { \r\n if (rows[0].RESP === 'OK')\r\n { \r\n configuracionProcesos = rows; \r\n const periodo = rows[0].ID_CONTROL_MATRICULA_PI === -1 ? rows[0].PERIODO + '-' + rows[0].ANIO : rows[0].PERIODO + '-' + rows[0].ANIO + ' (PI)';\r\n const itemsSelectProceso = datosSelectProceso.map((option, i) => {\r\n return {option.label + \" \" + periodo} \r\n });\r\n\r\n const horario_job = this.obtener_horario_job(configuracionProcesos);\r\n\r\n this.setState({ selectedDate: horario_job.fecha !== null ? horario_job.fecha : new Date(),\r\n defaultHoras: horario_job.hora !== null ? horario_job.hora : '12',\r\n defaultMinutos: horario_job.minutos !== null ? horario_job.minutos : '00',\r\n defaultMeridiano: horario_job.mer !== null ? horario_job.mer : 0,\r\n checkedActivo: Boolean(rows[0].JOB && rows[0].JOB_SCHEDULE),\r\n cStatus: Boolean(rows[0].EXISTS_CONGELADO),\r\n bStatus: Boolean(rows[0].EXISTS_BORRADO),\r\n datosSelectProceso: itemsSelectProceso,\r\n selectedProceso: (rows[0].FECHA_BORRADO !== null || rows[0].EXISTS_CONGELADO) ? 2 : 1,\r\n loadingPage: false }); \r\n \r\n }\r\n else \r\n this.setState({ loadingPage: undefined },()=>{ \r\n funciones.showToast('w', rows[0].RESP); \r\n }); \r\n \r\n \r\n }\r\n else \r\n this.setState({ loadingPage: undefined });\r\n \r\n \r\n });\r\n\r\n}\r\n\r\nobtener_horario_job=(rows)=>{\r\n\r\nif (rows[0].JOB_SCHEDULE){\r\n\r\n const hora_tmp = rows[0].JOB_TIME.length > 0 ? parseInt(rows[0].JOB_TIME.substr(0,2)) : '12';\r\n const hora = hora_tmp > 12 ? (hora_tmp - 12).toString().padStart(2,\"0\") : hora_tmp === 0 ? '12' : hora_tmp.toString().padStart(2,\"0\");\r\n const minutos = rows[0].JOB_TIME.length > 0 ? rows[0].JOB_TIME.substr(2,2) : '00';\r\n const mer = rows[0].JOB_TIME.length > 0 ? hora_tmp >= 12 ? 1 : 0 : 0\r\n\r\n const fecha = rows[0].JOB_DATE.length > 0 ? new Date(parseInt(rows[0].JOB_DATE.substr(0,4)), parseInt(rows[0].JOB_DATE.substr(4,2)) - 1, parseInt(rows[0].JOB_DATE.substr(6,2)),0,0,0,0 ) : new Date();\r\n \r\n return {fecha, hora, minutos, mer}\r\n}\r\n\r\nreturn {fecha: null, hora: null, minutos: null, mer: null}\r\n\r\n}\r\n\r\nhandleChange = async (e)=>{\r\n\r\n await Promise.resolve(this.setState({ cStatus: null, bStatus: null }));\r\n\r\n const {name, value} = e.target;\r\n const checkedActivo = Boolean(configuracionProcesos[0].JOB && configuracionProcesos[0].JOB_SCHEDULE) && \r\n ((value === 1 && configuracionProcesos[0].FECHA_CONGELADO !== null) || (value === 2 && configuracionProcesos[0].FECHA_BORRADO !== null));\r\n const horario_job = this.obtener_horario_job(configuracionProcesos);\r\n this.setState({ [\"selected\"+name]: value, \r\n selectedDate: horario_job.fecha !== null ? horario_job.fecha : new Date(),\r\n defaultHoras: horario_job.hora !== null ? horario_job.hora : '12',\r\n defaultMinutos: horario_job.minutos !== null ? horario_job.minutos : '00',\r\n defaultMeridiano: horario_job.mer !== null ? horario_job.mer : 0,\r\n cStatus: Boolean(configuracionProcesos[0].EXISTS_CONGELADO),\r\n bStatus: Boolean(configuracionProcesos[0].EXISTS_BORRADO),\r\n checkedActivo });\r\n \r\n}\r\n\r\ncomponentDidMount() { \r\n\r\ntokenInfo = Auth.getProfile(); //Token decodificado\r\n \r\nthis.setState({ isLoggin: tokenInfo.plataforma !== undefined ? true : false }, ()=>{ \r\n \r\n if (tokenInfo.plataforma === 1) // Usuario Admin \r\n this.obtener_configuraciones();\r\n\r\n}); \r\n \r\n}\r\n\r\nrender() {\r\n const { classes } = this.props; \r\n\r\n if (this.state.isLoggin === true)\r\n {\r\n return (\r\n \r\n \r\n {\r\n (() => { \r\n\r\n if (tokenInfo.plataforma === 1) //Si es Usuario Admin\r\n {\r\n \r\n return (\r\n \r\n
\r\n \r\n Configuración de procesos\r\n \r\n
\r\n {(()=>{ \r\n\r\n if (this.state.loadingPage === false && (!this.state.cStatus || !this.state.bStatus)){\r\n\r\n return (\r\n \r\n \r\n
\r\n \r\n {this.state.selectedProceso === 1 ? \"dias previo al Congelado\" : \"dias previo al Borrado\"}\r\n
\r\n
\r\n }\r\n label= {\"Enviar correo a los \" } \r\n style={{ marginRight: 0 }}\r\n />\r\n {this.state.selectedProceso === 1 ? \"dias previo al Congelado\" : \"dias previo al Borrado\"}\r\n
\r\n
\r\n }\r\n label= {\"Enviar correo a los \" } \r\n style={{ marginRight: 0 }}\r\n />\r\n {this.state.selectedProceso === 1 ? \"dias previo al Congelado\" : \"dias previo al Borrado\"}\r\n
\r\n \r\n );\r\n }\r\n else if (this.state.loadingDays)\r\n return(
\r\n \r\n );\r\n \r\n\r\n })()}\r\n \r\n \r\n \r\n {(()=>{ \r\n\r\n if (this.state.saveLoadingDays)\r\n return (
\r\n \r\n );\r\n \r\n return ();\r\n \r\n })()} \r\n \r\n \r\n \r\n \r\n {this.state.titleExc}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n {configuracionProcesos.length > 0 ? 'Matricula ' + configuracionProcesos[0].PERIODO + '-' + configuracionProcesos[0].ANIO : ''}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n {this.state.selectedProceso === 1 ? 'Congelado' : 'Borrado'}\r\n \r\n \r\n \r\n \r\n \r\n {(() => {\r\n \r\n if (!this.state.isProcessRunning && this.state.openModalConfirmation){\r\n\r\n return (\r\n {\"¿Confirma en proceder con el \" + (this.state.selectedProceso === 1 ? \"Congelado?\" : \"Borrado?\")}\r\n ); \r\n }\r\n else if (this.state.isProcessRunning){\r\n\r\n return(
\r\n \r\n );\r\n }\r\n\r\n })()}\r\n \r\n \r\n {(() => {\r\n\r\n if (!this.state.isProcessRunning && this.state.openModalConfirmation)\r\n return() \r\n\r\n })()} \r\n \r\n
\r\n \r\n \r\n Procesos\r\n \r\n \r\n \r\n \r\n \r\n \r\n ¿Desea guardar la configuración actual?\r\n \r\n \r\n \r\n \t \r\n \r\n \r\n\r\n \r\n \r\n Guardando...\r\n \r\n \r\n\r\n \r\n );\r\n }\r\nelse if (this.state.isLoggin === false)\r\n{\r\n //Auth.logout();\r\n window.location.reload();\r\n return; //(())\r\n}\r\nreturn null;\r\n\r\n}//FIN RENDER\r\n}\r\n\r\n)\r\n"],"sourceRoot":""}