{"version":3,"sources":["pages/mantenimiento/mantenimiento academico/mantenimientoCarrera.js","pages/mantenimiento/mantenimiento academico/mantenimientoNivel.js"],"names":["Auth","AuthService","border_dialog","globales","movil","test","navigator","userAgent","movil_pequeño","isVisibleRowSelected","colorRowSelected","colores","tabla","selection","alternateColorRow1","alternateColorRow2","VirtualTable_cellComponent","props","_jsx","Table","Cell","TableRowsIndexer","React","PureComponent","render","Plugin","children","Template","name","_ref","tableRow","rows","restParams","TemplateConnector","_ref2","type","toString","rowIndex","filter","x","ID_CARRERA","indexOf","row","TemplatePlaceholder","params","getRowIdCarreras","currentCodigoCarrera","currentCarrera","currentApertura","currentTitulo","currentAbreviatura","BodyComponent","TableBody","styles","theme","Dialog","borderRadius","margin","padding","backdrop","zIndex","color","flexDirection","select","spacing","minWidth","textField","width","columnsCarreras","title","tableColumnExtensions","columnName","wordWrapEnabled","align","withStyles","Component","constructor","super","tablaRef","createRef","paperRef","cambiaFacultad","event","filaSeleccionada","this","setState","idFacultad","ID_FACULTAD","filaFacultad","consultasDeLaVista","cambiaDirectores","cuentaCatedratico","CUENTA_CATEDRATICO","filaDirectores","changeSelectionCarreras","carrerasIud","undefined","length","selectionCarreras","state","cambiaEstado","selectionEstado","target","value","cambiaGradoAcademico","selectionGradoAcademico","abrirmodalCarreras","modalCarreras","idCarrera","funciones","showToast","funcCerrarModalCarreras","LimpiarDialog","funcionMantCarreraIud","idConsulta","_this","actualizarbarra","loggedIn","then","b","isLoggin","openBackDrop","Request","post","ip","set","authorization","getToken","send","ID_CONSULTA","DESCRIPCION_CARRERA","ESTATUS","DIRECTOR_CARRERA","CODIGO_CARRERA","FECHA_APERTURA","ABREVIATURA","USUARIO","getProfile","user","ID_GRADO_ACADEMICO","TITULO","retry","timeout","response","deadline","end","err","res","substr","window","location","reload","tmp","JSON","parse","text","datos","ex","validado","abrirmodal_modificar","cambiaCodigoCarrera","cambiaCarrera","cambiaApertura","cambiaTitulo","cambiaAbreviatura","validacionesPreviasIud","preventDefault","l","e","i","actualizarcircular","heightTableMain","grouping","expandedGroups","filteringColumnExtensions","filters","expandedRowIds","enabledFilterRows","pondJorHeightTableCarreras","rowsFacultad","rowsDirectores","rowsCarreras","rowsEstado","rowsGradoAcademico","selectionsCarreras","defaultHiddenCarreras","trowCarreras","TableRow","_ref4","classes","highlighted","selectByRowClick","odd","r","Row","onClick","clickSelectionCarreras","style","cursor","backgroundColor","columnHeader_rowComponent","_ref3","encabezado","componentDidMount","Datos","map","DESCRIPCION","CODIGO_FACULTAD","DESCRIPCION_FACULTAD","getHeightTableMain","heightTable","NOMBRE_COMPLETO","MenuItem","dense","ID_ESTATUS","DESCRIPCION_GRADO","botones","icono","toolt","nombre","escritura","onclick","display","variant","botonesCrear","botonesEditar","_jsxs","Fragment","Backdrop","className","open","CircularProgress","marginTop","plataforma","BarraBotones","Autocomplete","id","options","getOptionLabel","option","maxWidth","paddingTop","paddingBottom","renderInput","TextField","label","getOptionSelected","onChange","ref","background","marginLeft","marginleft_movil","marginleft","marginRight","marginright_movil","marginright","CustomTable","Columns","Rows","TableColumnExtensions","DefaultHiddenColumnNames","getRowId","Selection","ChangeSelection","height","onFiltersChange","changeFilters","RowComponent","standarPlugin","showSelectionColumn","onClose","onEntering","disableEnforceFocus","disableAutoFocus","fullWidth","paper","fullScreen","DialogTitle","DialogContent","dividers","Grid","container","alignItems","item","xs","required","defaultValue","Select","Label","shrink","Selected","Multiple","Style","ShowItemNone","LabelItemNone","ValueItemNone","AutoFocus","Outlined","labelWidth","SelectClass","InputLabelProps","DialogActions","logout","ID_NIVEL","getRowIdNiveles","currentCodigoNivel","currentNivel","currentCreditos","currentPenalizacion","currentCarnet","currentMatricula","currentLimiteUv","columnsNiveles","idNivel","selectionNiveles","checkOfertable","filaCarrera","changeSelectionNiveles","nivelesIud","abrirmodalNiveles","modalNiveles","funcCerrarModalNiveles","funcionMantNivelIud","DESCRIPCION_NIVEL","DIRECTOR_NIVEL","CREDITOS_NIVEL","CODIGO_NIVEL","VALOR_MATRICULA","VALOR_CARNE","VALOR_PENALIDAD_CAMBIO","ID_ACADEMICO_NIVEL","LIMITE_UV_MATRICULA","OFERTABLE","cambiaCodigoNivel","cambiaNivel","cambiaCreditos","cambiaPenalizacion","cambiaCarnet","cambiaMatricula","cambiaLimiteUv","cambiaCheckOfertable","checked","rowsCarrera","rowsNiveles","defaultHiddenNiveles","trowNiveles","clickSelectionNiveles","IOSSwitch","root","switchBase","transform","palette","common","white","opacity","border","thumb","track","grey","transition","transitions","create","focusVisible","_ref5","Switch","focusVisibleClassName","disableRipple","paddingLeft","noOptionsText","InputProps","inputProps","min","FormControlLabel","control","labelPlacement"],"mappings":"sHAAA,sLAqBA,IAAIA,EAAO,IAAIC,IACf,IAAIC,EAAgBC,IAASD,cACzBE,EAAQ,iEAAiEC,KAAKC,UAAUC,WACxFC,EAAgB,4DAA4DH,KAAKC,UAAUC,WAE/F,IAAIE,GAAuB,EAC3B,MAAMC,EAAmB,OAASC,IAAQC,MAAMC,UAAY,IAC5D,IAAIC,EAAqBH,IAAQC,MAAME,mBACnCC,EAAqBJ,IAAQC,MAAMG,mBAGvC,MAAMC,EAA8BC,GAC3BC,cAACC,IAAMC,KAAI,IAAKH,IAGzB,MAAMI,UAAyBC,IAAMC,cACnCC,SACE,OACEN,cAACO,IAAM,CAAAC,SACLR,cAACS,IAAQ,CAACC,KAAK,WAAUF,SACtBG,IAAA,IAAC,SAAEC,EAAQ,KAAEC,KAASC,GAAYH,EAAA,OACjCX,cAACe,IAAiB,CAAAP,SACfQ,IAAe,IAAd,KAAEH,GAAMG,EACR,GAAiC,iBAA7BJ,EAASK,KAAKC,WAA+B,CAC/C,MAAMC,EAAWN,EACdO,QAAQC,GAAMA,EAAEC,WAAa,IAC7BC,QAAQX,EAASY,KAEpB,OACExB,cAACyB,IAAmB,CAClBC,OAAQ,CAAEP,WAAUP,cAAaE,IAGvC,CACE,OACEd,cAACyB,IAAmB,CAACC,OAAQ,CAAEd,cAAaE,IAEhD,GAEgB,K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,WAAkB7F,EAAgB,KAEvD1D,EAAGnF,KAAKmF,EACRC,EAAGpF,KAAKoF,EACRC,EAAGrF,KAAKqF,aAMiB,IAAxBrF,KAAKe,MAAMqB,UACpBxH,EAAK8S,cACLzJ,OAAOC,SAASC,UAIX,IACT,G","file":"static/js/main~edd88e99.29147674.chunk.js","sourcesContent":["import React from \"react\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport { colores, globales, funciones } from \"../../../global\";\r\nimport BarraBotones from \"../../../components/Barra_menu\";\r\nimport AuthService from \"../../../AuthService\";\r\nimport Request from \"superagent\";\r\nimport CustomTable from \"../../../components/CustomTable\";\r\nimport { Table } from \"@devexpress/dx-react-grid-material-ui\";\r\nimport {Plugin,Template,TemplateConnector,TemplatePlaceholder} from \"@devexpress/dx-react-core\";\r\nimport Dialog from \"@material-ui/core/Dialog\";\r\nimport DialogContent from \"@material-ui/core/DialogContent\";\r\nimport DialogTitle from \"@material-ui/core/DialogTitle\";\r\nimport CircularProgress from \"@material-ui/core/CircularProgress\";\r\nimport Backdrop from \"@material-ui/core/Backdrop\";\r\nimport Select from \"../../../components/Select\";\r\nimport Autocomplete from '@material-ui/lab/Autocomplete';\r\nimport TextField from '@material-ui/core/TextField';\r\nimport DialogActions from '@material-ui/core/DialogActions';\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport MenuItem from \"@material-ui/core/MenuItem\";\r\n\r\nlet Auth = new AuthService();\r\nvar border_dialog = globales.border_dialog;\r\nvar movil = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\r\nvar movil_pequeño = /Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\r\n\r\nlet isVisibleRowSelected = false;\r\nconst colorRowSelected = \"rgb(\" + colores.tabla.selection + \")\";\r\nlet alternateColorRow1 = colores.tabla.alternateColorRow1;\r\nlet alternateColorRow2 = colores.tabla.alternateColorRow2;\r\nvar tokenInfo;\r\n\r\nconst VirtualTable_cellComponent = (props) => {\r\n return ;\r\n};\r\n\r\nclass TableRowsIndexer extends React.PureComponent {\r\n render() {\r\n return (\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nconst getRowIdCarreras = (row) => row.ID_CARRERA;\r\n\r\nlet currentCodigoCarrera = null;\r\nlet currentCarrera = null;\r\nlet currentApertura = null;\r\nlet currentTitulo = null;\r\nlet currentAbreviatura = null;\r\n\r\nconst BodyComponent = (props) => {\r\n return ;\r\n};\r\n\r\n/* CLASES DE ESTILO */\r\n\r\nvar styles = (theme) => ({\r\n Dialog: {\r\n borderRadius: border_dialog,\r\n margin: 0,\r\n padding: 0,\r\n },\r\n backdrop: {\r\n zIndex: 500000,\r\n color: \"#fff\",\r\n flexDirection: \"column\",\r\n },\r\n select: {\r\n //CONFIGURA EL SELECT\r\n margin: theme.spacing(movil_pequeño ? 2 : 1, 1, 0, 0),\r\n padding: 0,\r\n minWidth: movil_pequeño ? \"100%\" : \"100%\",\r\n },\r\n textField: {\r\n margin: theme.spacing(movil_pequeño ? 2 : 1, 1, 0, 0),\r\n padding: 0,\r\n minWidth: movil_pequeño ? \"100%\" : \"20%\",\r\n width: \"20%\",\r\n },\r\n});\r\n\r\nconst columnsCarreras = [{ name: \"ID_CARRERA\", title: \"ID_CARRERA\" },\r\n { name: \"CODIGO_CARRERA\", title: \"Código de Carrera\" },\r\n { name: \"DESCRIPCION_CARRERA\", title: \"Carrera\" },\r\n { name: \"DIRECTOR_CARRERA\", title: \"Director de Carrera\" },\r\n { name: \"ESTADO\", title: \"Estado\" },\r\n { name: \"FECHA_APERTURA\", title: \"Fecha de Apertura\" },\r\n { name: \"GRADO_ACADEMICO\", title: \"Grado Académico\" },\r\n ];\r\n\r\nconst tableColumnExtensions = [\r\n { columnName: \"ID\", wordWrapEnabled: false, align: \"center\" },\r\n];\r\n\r\n/* EXPORT */\r\nexport default withStyles(styles)(\r\n class MantenimientoCarrera extends React.Component {\r\n tablaRef = React.createRef();\r\n paperRef = React.createRef();\r\n\r\n constructor(props) {\r\n super(props);\r\n this.Auth = new AuthService();\r\n this.l = props.l;\r\n this.e = props.e;\r\n this.i = props.i;\r\n this.isVisibleRowSelected = isVisibleRowSelected;\r\n this.actualizarbarra = props.actualizarbarra;\r\n this.actualizarcircular = props.actualizarcircular;\r\n\r\n this.state = {\r\n openBackDrop: false,\r\n isLoggin: undefined,\r\n heightTableMain: 0,\r\n rows: [],\r\n grouping: [],\r\n expandedGroups: [],\r\n filteringColumnExtensions: [],\r\n filters: [],\r\n expandedRowIds: [],\r\n enabledFilterRows: true,\r\n pondJorHeightTableCarreras:0,\r\n //rows\r\n //Auotocomplete\r\n rowsFacultad:[],\r\n rowsDirectores:[],\r\n rowsCarreras:[],\r\n rowsEstado:[],\r\n rowsGradoAcademico:[],\r\n idFacultad: null,\r\n cuentaCatedratico: null,\r\n filaFacultad: null,\r\n filaDirectores: null,\r\n //selections\r\n selectionsCarreras:[],\r\n selectionCarreras:[],\r\n selectionEstado:\"\",\r\n selectionGradoAcademico:\"\",\r\n //Variables de Columnas Ocultas\r\n defaultHiddenCarreras: [\"ID_CARRERA\"],\r\n //IUD\r\n carrerasIud:0,\r\n idCarrera:0,\r\n //Modales\r\n modalCarreras: false,\r\n };\r\n\r\n const columnHeader_rowComponent = ({ style, ...props }) => {\r\n return (\r\n \r\n );\r\n };\r\n\r\n const trowCarreras = (TableRow) =>\r\n withStyles(styles, { name: \"Row\" })(\r\n ({\r\n classes,\r\n highlighted,\r\n rowIndex,\r\n row,\r\n selectByRowClick,\r\n ...props\r\n }) => {\r\n const odd = !!(rowIndex % 2);\r\n const r = props.tableRow;\r\n\r\n const clickSelectionCarreras = (ID_CARRERA) => (event) => {\r\n if(ID_CARRERA!==this.state.idCarrera)\r\n {\r\n \r\n this.setState({selectionCarreras:[ID_CARRERA],idCarrera: ID_CARRERA,carrerasIud:2,},\r\n () => {\r\n /* AQUI VA EL LLAMADO PARA LLENAR LA INFO**/\r\n this.consultasDeLaVista(6);\r\n }\r\n );\r\n }\r\n };\r\n\r\n if (\r\n this.state.selectionCarreras[0] === undefined\r\n ? this.state.selectionCarreras[0]\r\n : //this.state.selection_plataformas[0].ID_CARRERA ===\r\n props.tableRow.row.ID_CARRERA\r\n ) {\r\n isVisibleRowSelected = true;\r\n }\r\n return (\r\n \r\n );\r\n }\r\n );\r\n\r\n this.trowCarreras = trowCarreras(Table.Row);\r\n this.columnHeader_rowComponent = columnHeader_rowComponent;\r\n } //FIN CONSTRUCTORS\r\n\r\n componentDidMount() {\r\n let _this = this;\r\n _this.actualizarbarra(false);\r\n\r\n Auth.loggedIn().then(function (b) {\r\n _this.setState({ isLoggin: b });\r\n if (b)\r\n _this.setState({ openBackDrop: true }, () => {\r\n try {\r\n new Request.post(`${globales.ip}/mantenimientoCarrera/selectsMantCarrera`)\r\n .set({ authorization: \"Bearer \" + Auth.getToken() })\r\n .set(\"Content-Type\", \"application/json\")\r\n .send({\r\n ID_CONSULTA: 1,\r\n ID_FACULTAD: null,\r\n USUARIO: Auth.getProfile().user,\r\n })\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 60000 })\r\n .end((err, res) => {\r\n if (err) {\r\n if (err.toString().substr(0, 16) === \"Error: Forbidden\") {\r\n window.location.reload();\r\n return;\r\n } else if (\r\n err.toString() ===\r\n \"Error: Response timeout of 15000ms exceeded\"\r\n ) {\r\n funciones.showToast(\r\n \"e\",\r\n \"Error en la comunicacion con el servidor\"\r\n );\r\n return;\r\n }\r\n _this.setState({ openBackDrop: false }, () => {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n });\r\n }\r\n\r\n const tmp = JSON.parse(res.text);\r\n if (tmp.length > 0) {\r\n _this.setState({ openBackDrop: false }, () => {\r\n const Datos = tmp.map((datos, i) => (\r\n {ID_FACULTAD:+datos.ID_FACULTAD,DESCRIPCION: datos.CODIGO_FACULTAD+' - '+datos.DESCRIPCION_FACULTAD}\r\n ));\r\n //console.log(Datos);\r\n _this.setState({\r\n rowsFacultad: Datos,\r\n pondJorHeightTableCarreras: funciones.getHeightTableMain(\r\n movil_pequeño,\r\n _this\r\n ).heightTable,\r\n }, () => {\r\n _this.consultasDeLaVista(3);\r\n _this.consultasDeLaVista(4);\r\n _this.consultasDeLaVista(5);\r\n });\r\n });\r\n } else {\r\n _this.setState({ openBackDrop: false }, () => {\r\n _this.setState({\r\n rowsFacultad: []\r\n });\r\n });\r\n }\r\n });\r\n } catch (ex) {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n _this.setState({ validado: true });\r\n }\r\n });\r\n _this.actualizarbarra(true);\r\n });\r\n }\r\n\r\n\r\n consultasDeLaVista(idConsulta) {\r\n let _this = this;\r\n _this.actualizarbarra(false);\r\n\r\n Auth.loggedIn().then(function (b) {\r\n _this.setState({ isLoggin: b });\r\n if (b)\r\n _this.setState({ openBackDrop: true }, () => {\r\n try {\r\n new Request.post(`${globales.ip}/mantenimientoCarrera/selectsMantCarrera`)\r\n .set({ authorization: \"Bearer \" + Auth.getToken() })\r\n .set(\"Content-Type\", \"application/json\")\r\n .send({\r\n ID_CONSULTA: idConsulta,\r\n ID_FACULTAD: idConsulta === 2? _this.state.idFacultad : null,\r\n ID_CARRERA: idConsulta === 6? _this.state.idCarrera : null,\r\n USUARIO: Auth.getProfile().user,\r\n })\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 60000 })\r\n .end((err, res) => {\r\n if (err) {\r\n if (err.toString().substr(0, 16) === \"Error: Forbidden\") {\r\n window.location.reload();\r\n return;\r\n } else if (\r\n err.toString() ===\r\n \"Error: Response timeout of 15000ms exceeded\"\r\n ) {\r\n funciones.showToast(\r\n \"e\",\r\n \"Error en la comunicacion con el servidor\"\r\n );\r\n return;\r\n }\r\n _this.setState({ openBackDrop: false }, () => {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n });\r\n }\r\n\r\n if(res.text !== '')\r\n { \r\n const tmp = JSON.parse(res.text);\r\n if (tmp.length > 0) {\r\n _this.setState({ openBackDrop: false }, () => {\r\n if(idConsulta === 2)\r\n {\r\n _this.setState({\r\n rowsCarreras: tmp,\r\n pondJorHeightTableCarreras: funciones.getHeightTableMain(\r\n movil_pequeño,\r\n _this\r\n ).heightTable,\r\n }, () => {\r\n\r\n });\r\n }\r\n else if(idConsulta === 3)\r\n {\r\n const Datos = tmp.map((datos, i) => (\r\n {CUENTA_CATEDRATICO:+datos.CUENTA_CATEDRATICO,NOMBRE_COMPLETO: datos.CUENTA_CATEDRATICO+' - '+datos.NOMBRE_COMPLETO}\r\n ));\r\n //console.log(Datos);\r\n _this.setState({\r\n rowsDirectores: Datos\r\n }, () => {\r\n });\r\n }\r\n else if(idConsulta === 4)\r\n {\r\n const Datos = tmp.map((datos, i) => (\r\n \r\n {datos.DESCRIPCION}\r\n \r\n ));\r\n _this.setState({\r\n rowsEstado: Datos,\r\n });\r\n }\r\n else if(idConsulta === 5)\r\n {\r\n const Datos = tmp.map((datos, i) => (\r\n \r\n {datos.DESCRIPCION_GRADO}\r\n \r\n ));\r\n _this.setState({\r\n rowsGradoAcademico: Datos,\r\n });\r\n }\r\n else if(idConsulta === 6)\r\n {\r\n let datos = tmp[0];\r\n\r\n currentCodigoCarrera = datos[\"CODIGO_CARRERA\"];\r\n currentCarrera = datos[\"DESCRIPCION_CARRERA\"];\r\n currentAbreviatura = datos[\"ABREVIATURA\"];\r\n currentApertura = datos[\"FECHA_APERTURA\"];\r\n currentTitulo = datos[\"TITULO\"];\r\n _this.setState({\r\n selectionGradoAcademico: datos[\"ID_GRADO_ACADEMICO\"],\r\n selectionEstado: datos[\"ESTATUS\"],\r\n cuentaCatedratico: datos[\"DIRECTOR_CARRERA\"],\r\n filaDirectores: {CUENTA_CATEDRATICO:+datos[\"DIRECTOR_CARRERA\"],NOMBRE_COMPLETO: datos[\"DIRECTOR_CARRERA\"]+' - '+datos[\"NOMBRE_COMPLETO\"]},\r\n });\r\n }\r\n });\r\n } else {\r\n _this.setState({ openBackDrop: false }, () => {\r\n if(idConsulta === 2)\r\n {\r\n _this.setState({ openBackDrop: false }, () => {\r\n _this.setState({rowsCarreras: [],pondJorHeightTableCarreras: funciones.getHeightTableMain(movil_pequeño,_this).heightTable,});\r\n });\r\n }\r\n else if(idConsulta === 4)\r\n {\r\n _this.setState({rowsEstado: [],});\r\n }\r\n else if(idConsulta === 5)\r\n {\r\n _this.setState({rowsGradoAcademico: [],});\r\n }\r\n });\r\n }\r\n }\r\n else if(idConsulta === 2)\r\n {\r\n _this.setState({idCarrera:null,rowsCarreras: [],pondJorHeightTableCarreras: funciones.getHeightTableMain(movil_pequeño,_this).heightTable, openBackDrop: false\r\n }, () => {\r\n\r\n });\r\n }\r\n });\r\n } catch (ex) {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n _this.setState({ validado: true });\r\n }\r\n });\r\n _this.actualizarbarra(true);\r\n });\r\n }\r\n\r\n cambiaFacultad = (event,filaSeleccionada) => {\r\n if(filaSeleccionada !== null)\r\n {\r\n this.setState({idFacultad: filaSeleccionada.ID_FACULTAD,filaFacultad: filaSeleccionada,},()=>{\r\n this.consultasDeLaVista(2);\r\n });\r\n }\r\n else if(filaSeleccionada === null)\r\n {\r\n \r\n this.setState({idFacultad: null,filaFacultad: null,},()=>{\r\n this.consultasDeLaVista(2);\r\n });\r\n }\r\n };\r\n\r\n cambiaDirectores = (event,filaSeleccionada) => {\r\n this.setState({cuentaCatedratico: filaSeleccionada.CUENTA_CATEDRATICO,filaDirectores: filaSeleccionada});\r\n };\r\n\r\n changeSelectionCarreras = (selection) => {\r\n this.setState({carrerasIud:2});\r\n if (selection[selection.length - 1] === undefined) {\r\n this.setState({ selectionCarreras: this.state.selectionCarreras });\r\n } else {\r\n this.setState({ selectionCarreras: [selection[selection.length - 1]] });\r\n }\r\n };\r\n\r\n cambiaEstado = (event) => {\r\n this.setState({selectionEstado: event.target.value,});\r\n };\r\n\r\n cambiaGradoAcademico = (event) => {\r\n this.setState({selectionGradoAcademico: event.target.value,});\r\n };\r\n\r\n abrirmodalCarreras = () => (event) => {\r\n if(this.state.idFacultad !== null)\r\n {\r\n currentCodigoCarrera = null;\r\n currentCarrera = null;\r\n currentAbreviatura = null;\r\n currentApertura = null;\r\n currentTitulo = null;\r\n this.setState({\r\n carrerasIud:1,\r\n modalCarreras: true,\r\n selectionGradoAcademico: 1,\r\n selectionEstado: \"\",\r\n cuentaCatedratico: null,\r\n filaDirectores:null,\r\n idCarrera:0,\r\n selectionCarreras:[],\r\n });\r\n }\r\n else\r\n {\r\n funciones.showToast(\"i\", \"Debe seleccionar una facultad para crear una carrera.\");\r\n }\r\n \r\n };\r\n\r\n funcCerrarModalCarreras = () => (event) => {\r\n this.setState({modalCarreras:false,});\r\n this.LimpiarDialog();\r\n }\r\n\r\n LimpiarDialog=()=>{\r\n currentCodigoCarrera = null;\r\n currentCarrera = null;\r\n currentAbreviatura = null;\r\n currentApertura = null;\r\n currentTitulo = null;\r\n this.setState({\r\n selectionGradoAcademico: 1,\r\n selectionEstado: \"\",\r\n cuentaCatedratico: null,\r\n filaDirectores:null,\r\n idCarrera:0,\r\n selectionCarreras:[],\r\n });\r\n }\r\n\r\n funcionMantCarreraIud = (idConsulta) => {\r\n let _this = this;\r\n _this.actualizarbarra(false);\r\n\r\n Auth.loggedIn().then(function (b) {\r\n _this.setState({ isLoggin: b });\r\n if (b)\r\n _this.setState({ openBackDrop: true }, () => {\r\n try {\r\n new Request.post(`${globales.ip}/mantenimientoCarrera/mantenimientoCarreraIUD`)\r\n .set({ authorization: \"Bearer \" + Auth.getToken() })\r\n .set(\"Content-Type\", \"application/json\")\r\n .send({\r\n ID_CONSULTA:idConsulta //1:Insert, 2:Update\r\n ,ID_CARRERA: _this.state.idCarrera\r\n ,DESCRIPCION_CARRERA:currentCarrera\r\n ,ESTATUS: _this.state.selectionEstado\r\n ,DIRECTOR_CARRERA: _this.state.cuentaCatedratico.toString()\r\n ,ID_FACULTAD: _this.state.idFacultad\r\n ,CODIGO_CARRERA:currentCodigoCarrera\r\n ,FECHA_APERTURA:currentApertura\r\n ,ABREVIATURA: currentAbreviatura\r\n ,USUARIO:Auth.getProfile().user\r\n ,ID_GRADO_ACADEMICO: _this.state.selectionGradoAcademico\r\n ,TITULO:currentTitulo\r\n })\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 60000 })\r\n .end((err, res) => {\r\n if (err) {\r\n if (err.toString().substr(0, 16) === \"Error: Forbidden\") {\r\n window.location.reload();\r\n return;\r\n } else if (\r\n err.toString() ===\r\n \"Error: Response timeout of 15000ms exceeded\"\r\n ) {\r\n funciones.showToast(\r\n \"e\",\r\n \"Error en la comunicacion con el servidor\"\r\n );\r\n return;\r\n }\r\n _this.setState({ openBackDrop: false }, () => {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n });\r\n }\r\n\r\n const tmp = JSON.parse(res.text);\r\n if (tmp.length > 0) {\r\n _this.setState({ openBackDrop: false }, () => {\r\n let datos = tmp[0];\r\n \r\n if(datos[\"MENSAJE\"] === \"OK\")\r\n {\r\n if(idConsulta === 1)\r\n {\r\n funciones.showToast(\"s\", \"Se creó la carrera exitosamente\");\r\n currentCodigoCarrera = null;\r\n currentCarrera = null;\r\n currentAbreviatura = null;\r\n currentApertura = null;\r\n currentTitulo = null;\r\n _this.setState({\r\n carrerasIud:1,\r\n selectionGradoAcademico: \"\",\r\n selectionEstado: \"\",\r\n cuentaCatedratico: null,\r\n filaDirectores:null,\r\n idCarrera:0,\r\n selectionCarreras:[],\r\n modalCarreras:false,\r\n });\r\n _this.consultasDeLaVista(2);\r\n }\r\n else if(idConsulta === 2)\r\n {\r\n funciones.showToast(\"s\", \"Información Almacenada\");\r\n _this.consultasDeLaVista(2);\r\n }\r\n else if(idConsulta === 3)\r\n {\r\n funciones.showToast(\"s\", \"La carrera fue eliminada\");\r\n currentCodigoCarrera = null;\r\n currentCarrera = null;\r\n currentAbreviatura = null;\r\n currentApertura = null;\r\n currentTitulo = null;\r\n _this.setState({\r\n carrerasIud:1,\r\n modalCarreras: true,\r\n selectionGradoAcademico: \"\",\r\n selectionEstado: \"\",\r\n cuentaCatedratico: null,\r\n filaDirectores:null,\r\n idCarrera:0,\r\n selectionCarreras:[],\r\n });\r\n _this.consultasDeLaVista(2);\r\n \r\n }\r\n }\r\n else\r\n {\r\n funciones.showToast(\"e\", \"Error: \"+datos[\"MENSAJE\"]);\r\n }\r\n });\r\n \r\n } else {\r\n _this.setState({ openBackDrop: false });\r\n }\r\n });\r\n } catch (ex) {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n console.log(\"ERROR: \"+ex);\r\n _this.setState({ validado: true });\r\n }\r\n });\r\n _this.actualizarbarra(true);\r\n });\r\n }\r\n\r\n abrirmodal_modificar = () => (event) => {\r\n if(this.state.idCarrera !== 0)\r\n {\r\n this.setState({\r\n carrerasIud:2,\r\n },() => {\r\n this.setState({modalCarreras:true,});\r\n });\r\n }\r\n else\r\n {\r\n funciones.showToast(\"i\", \"Debe seleccionar una carrera para modificar.\");\r\n }\r\n }\r\n\r\n cambiaCodigoCarrera = (event) => {\r\n currentCodigoCarrera = event.target.value;\r\n };\r\n cambiaCarrera = (event) => {\r\n currentCarrera = event.target.value;\r\n };\r\n cambiaApertura = (event) => {\r\n currentApertura = event.target.value;\r\n };\r\n cambiaTitulo = (event) => {\r\n currentTitulo = event.target.value;\r\n };\r\n cambiaAbreviatura = (event) => {\r\n currentAbreviatura = event.target.value;\r\n };\r\n\r\n //Validaciones\r\n validacionesPreviasIud = (idConsulta) => (event) => {\r\n if(idConsulta === 1)\r\n {\r\n if(\r\n this.state.selectionEstado !== \"\" &&\r\n this.state.cuentaCatedratico !== null &&\r\n this.state.selectionGradoAcademico !== \"\" &&\r\n currentApertura !== null &&\r\n currentCarrera !== null &&\r\n currentCodigoCarrera !== null &&\r\n \r\n currentApertura !== \"\" &&\r\n currentCarrera !== \"\" &&\r\n currentCodigoCarrera !== \"\"\r\n )\r\n {\r\n this.funcionMantCarreraIud(1);\r\n }\r\n else\r\n {\r\n funciones.showToast(\"i\", \"Todos los campos son obligatorios\");\r\n }\r\n }\r\n else if(idConsulta === 2)\r\n {\r\n if(\r\n this.state.selectionCarreras !== \"\" &&\r\n this.state.selectionEstado !== \"\" &&\r\n this.state.cuentaCatedratico !== null &&\r\n this.state.selectionGradoAcademico !== \"\" &&\r\n currentApertura !== null &&\r\n currentCarrera !== null &&\r\n currentCodigoCarrera !== null &&\r\n \r\n currentApertura !== \"\" &&\r\n currentCarrera !== \"\" &&\r\n currentCodigoCarrera !== \"\" \r\n )\r\n {\r\n this.funcionMantCarreraIud(2);\r\n }\r\n else\r\n {\r\n funciones.showToast(\"i\", \"Todos los campos son obligatorios\");\r\n }\r\n }\r\n event.preventDefault();\r\n }\r\n\r\n /* RENDER */\r\n render() {\r\n const { classes } = this.props;\r\n\r\n const botones = [\r\n {icono: \"Add\",toolt: \"Nueva Carrera\",nombre: \"Nueva\",escritura: true, onclick: this.abrirmodalCarreras(),display: \"auto\",variant:\"outlined\",},\r\n {icono: \"Edit\",toolt: \"Modificar Carrera Seleccionada\",nombre: \"Modificar\",escritura: true, onclick: this.abrirmodal_modificar(),display: \"auto\",},\r\n ];\r\n\r\n const botonesCrear = [\r\n {icono: \"Add\",toolt: \"Crear Carrera\",nombre: \"Crear\",escritura: true, onclick: this.validacionesPreviasIud(1),display: \"auto\",},\r\n {icono: \"Close\",toolt: \"Cerrar\",nombre: \"Cerrar\",escritura: true, onclick: this.funcCerrarModalCarreras(),color: \"red\",display: \"auto\",},\r\n ];\r\n\r\n const botonesEditar = [\r\n {icono: \"Save\",toolt: \"Guardar Carrera\",nombre: \"Guardar\",escritura: true, onclick: this.validacionesPreviasIud(2),display: \"auto\",},\r\n {icono: \"Close\",toolt: \"Cerrar\",nombre: \"Cerrar\",escritura: true, onclick: this.funcCerrarModalCarreras(),color: \"red\",display: \"auto\",},\r\n ];\r\n\r\n if (this.state.isLoggin === true) {\r\n return (\r\n \r\n {/** backdrop */}\r\n \r\n \r\n \r\n {\"Cargando...\"}\r\n \r\n \r\n {(() => {\r\n tokenInfo = Auth.getProfile(); //Token decodificado\r\n if (tokenInfo.plataforma === 1) {\r\n //Si es Usuario Admin\r\n return (\r\n \r\n \r\n
\r\n option.DESCRIPCION}\r\n style={{maxWidth: movil ? '100%':'50%',paddingTop:5,paddingBottom:5,}}\r\n renderInput={(params) => }\r\n value={this.state.filaFacultad}\r\n getOptionSelected = {(option, value) => option.ID_FACULTAD === value.ID_FACULTAD}\r\n onChange={this.cambiaFacultad} \r\n />\r\n
\r\n \r\n }\r\n showSelectionColumn={false}\r\n />\r\n \r\n
\r\n );\r\n }\r\n })()}\r\n\r\n {/**MODAL DE CARRERAS**/}\r\n \r\n \r\n {\r\n this.state.carrerasIud === 1? \"Creación de una nueva Carrera para la facultad elegida\" :\r\n this.state.carrerasIud === 2? \"Editar la información de la carrera elegida\" : \"\"\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n option.NOMBRE_COMPLETO}\r\n style={{maxWidth: movil ? '100%':'100%',\r\n zIndex: 200000,\r\n }}\r\n renderInput={(params) => }\r\n value={this.state.filaDirectores}\r\n getOptionSelected = {(option, value) => option.CUENTA_CATEDRATICO === value.CUENTA_CATEDRATICO}\r\n onChange={this.cambiaDirectores} \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\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n ); /// finaliza return\r\n } else if (this.state.isLoggin === false) {\r\n Auth.logout();\r\n window.location.reload();\r\n return;\r\n }\r\n\r\n return null;\r\n } /// finaliza render\r\n } /// finaliza class\r\n); /// finaliza withStyles\r\n","import React from \"react\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport { colores, globales, funciones } from \"../../../global\";\r\nimport BarraBotones from \"../../../components/Barra_menu\";\r\nimport AuthService from \"../../../AuthService\";\r\nimport Request from \"superagent\";\r\nimport CustomTable from \"../../../components/CustomTable\";\r\nimport { Table } from \"@devexpress/dx-react-grid-material-ui\";\r\nimport {Plugin,Template,TemplateConnector,TemplatePlaceholder,} from \"@devexpress/dx-react-core\";\r\nimport Dialog from \"@material-ui/core/Dialog\";\r\nimport DialogContent from \"@material-ui/core/DialogContent\";\r\nimport DialogTitle from \"@material-ui/core/DialogTitle\";\r\nimport CircularProgress from \"@material-ui/core/CircularProgress\";\r\nimport Backdrop from \"@material-ui/core/Backdrop\";\r\n\r\n/////////////////////////////////////////////\r\nimport Select from \"../../../components/Select\";\r\nimport Autocomplete from '@material-ui/lab/Autocomplete';\r\nimport TextField from '@material-ui/core/TextField';\r\nimport DialogActions from '@material-ui/core/DialogActions';\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport FormControlLabel from '@material-ui/core/FormControlLabel';\r\nimport Switch from '@material-ui/core/Switch';\r\nimport MenuItem from \"@material-ui/core/MenuItem\";\r\n\r\nlet Auth = new AuthService();\r\n//var ip = globales.ip;\r\nvar border_dialog = globales.border_dialog;\r\nvar movil = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test( navigator.userAgent);\r\nvar movil_pequeño = /Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test( navigator.userAgent);\r\n\r\nlet isVisibleRowSelected = false;\r\nconst colorRowSelected = \"rgb(\" + colores.tabla.selection + \")\";\r\nlet alternateColorRow1 = colores.tabla.alternateColorRow1;\r\nlet alternateColorRow2 = colores.tabla.alternateColorRow2;\r\n\r\nvar tokenInfo;\r\n\r\n\r\nconst VirtualTable_cellComponent = (props) => {\r\n /*const { column } = props;\r\n const { row } = props;*/\r\n return ;\r\n};\r\n\r\nclass TableRowsIndexer extends React.PureComponent {\r\n render() {\r\n return (\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nconst getRowIdNiveles = (row) => row.ID_NIVEL;\r\n\r\nlet currentCodigoNivel = null;\r\nlet currentNivel = null;\r\nlet currentApertura = null;\r\nlet currentCreditos = null;\r\nlet currentPenalizacion = null;\r\nlet currentCarnet = null;\r\nlet currentMatricula = null;\r\nlet currentLimiteUv = null;\r\n\r\nconst BodyComponent = (props) => {\r\n return ;\r\n};\r\n\r\n/* CLASES DE ESTILO */\r\n\r\nvar styles = (theme) => ({\r\n Dialog: {\r\n borderRadius: border_dialog,\r\n margin: 0,\r\n padding: 0,\r\n },\r\n backdrop: {\r\n zIndex: 500000,\r\n color: \"#fff\",\r\n flexDirection: \"column\",\r\n },\r\n select: {\r\n //CONFIGURA EL SELECT\r\n margin: theme.spacing(movil_pequeño ? 2 : 1, 1, 0, 0),\r\n padding: 0,\r\n minWidth: movil_pequeño ? \"100%\" : \"100%\",\r\n },\r\n textField: {\r\n margin: theme.spacing(movil_pequeño ? 2 : 1, 1, 0, 0),\r\n padding: 0,\r\n minWidth: movil_pequeño ? \"100%\" : \"20%\",\r\n width: \"20%\",\r\n },\r\n});\r\n\r\nconst columnsNiveles = [{ name: \"ID_NIVEL\", title: \"ID_NIVEL\" },\r\n { name: \"CODIGO\", title: \"Código\" },\r\n { name: \"DESCRIPCION\", title: \"Descripción\" },\r\n { name: \"DIRECTOR_DE_CARRERA\", title: \"Director de Carrera\" },\r\n { name: \"CREDITOS\", title: \"Créditos\" },\r\n { name: \"GRADO_ACADEMICO\", title: \"Grado Académico\" },\r\n { name: \"FECHA_APERTURA\", title: \"Fecha de Apertura\" },\r\n { name: \"ESTADO\", title: \"Estado\" },\r\n ];\r\n\r\nconst tableColumnExtensions = [\r\n { columnName: \"ID\", wordWrapEnabled: false, align: \"center\" },\r\n];\r\n\r\n/* EXPORT */\r\nexport default withStyles(styles)(\r\n class MantenimientoNivel extends React.Component {\r\n tablaRef = React.createRef();\r\n paperRef = React.createRef();\r\n\r\n constructor(props) {\r\n super(props);\r\n this.Auth = new AuthService();\r\n this.l = props.l;\r\n this.e = props.e;\r\n this.i = props.i;\r\n this.isVisibleRowSelected = isVisibleRowSelected;\r\n this.actualizarbarra = props.actualizarbarra;\r\n this.actualizarcircular = props.actualizarcircular;\r\n\r\n this.state = {\r\n openBackDrop: false,\r\n isLoggin: undefined,\r\n heightTableMain: 0,\r\n rows: [],\r\n grouping: [],\r\n expandedGroups: [],\r\n filteringColumnExtensions: [],\r\n filters: [],\r\n expandedRowIds: [],\r\n enabledFilterRows: true,\r\n\r\n pondJorHeightTableCarreras:0,\r\n\r\n //rows\r\n //Auotocomplete\r\n rowsFacultad:[],\r\n rowsCarrera:[],\r\n rowsDirectores:[],\r\n rowsNiveles:[],\r\n rowsEstado:[],\r\n rowsGradoAcademico:[],\r\n\r\n idFacultad: null,\r\n cuentaCatedratico: null,\r\n filaFacultad: null,\r\n filaCarrera: null,\r\n filaDirectores: null,\r\n\r\n //selections\r\n selectionsCarreras:[],\r\n selectionCarreras:[],\r\n selectionNiveles:[],\r\n selectionEstado:\"\",\r\n selectionGradoAcademico:\"\",\r\n\r\n //Variables de Columnas Ocultas\r\n defaultHiddenNiveles: [\"ID_NIVEL\"],\r\n\r\n //IUD\r\n nivelesIud:0,\r\n idCarrera:0,\r\n idNivel:0,\r\n\r\n //Modales\r\n modalNiveles: false,\r\n \r\n checkOfertable:false,\r\n };\r\n\r\n const columnHeader_rowComponent = ({ style, ...props }) => {\r\n return (\r\n \r\n );\r\n };\r\n\r\n const trowNiveles = (TableRow) =>\r\n withStyles(styles, { name: \"Row\" })(\r\n ({\r\n classes,\r\n highlighted,\r\n rowIndex,\r\n row,\r\n selectByRowClick,\r\n ...props\r\n }) => {\r\n const odd = !!(rowIndex % 2);\r\n const r = props.tableRow;\r\n\r\n const clickSelectionNiveles = (ID_NIVEL) => (event) => {\r\n if(ID_NIVEL!==this.state.idNivel)\r\n {\r\n //console.log(ID_NIVEL);\r\n \r\n this.setState(\r\n {\r\n selectionNiveles:[ID_NIVEL],\r\n idNivel: ID_NIVEL,\r\n nivelesIud:2,\r\n },\r\n () => {\r\n /* AQUI VA EL LLAMADO PARA LLENAR LA INFO**/\r\n this.consultasDeLaVista(7);\r\n //this.setState({});\r\n //this.llenarInfo(ID_ADMISION);\r\n }\r\n );\r\n }\r\n };\r\n\r\n if (\r\n this.state.selectionNiveles[0] === undefined\r\n ? this.state.selectionNiveles[0]\r\n : //this.state.selection_plataformas[0].ID_NIVEL ===\r\n props.tableRow.row.ID_NIVEL\r\n ) {\r\n isVisibleRowSelected = true;\r\n }\r\n return (\r\n \r\n );\r\n }\r\n );\r\n\r\n this.trowNiveles = trowNiveles(Table.Row);\r\n this.columnHeader_rowComponent = columnHeader_rowComponent;\r\n } //FIN CONSTRUCTORS\r\n\r\n componentDidMount() {\r\n let _this = this;\r\n _this.actualizarbarra(false);\r\n\r\n Auth.loggedIn().then(function (b) {\r\n _this.setState({ isLoggin: b });\r\n if (b)\r\n _this.setState({ openBackDrop: true }, () => {\r\n try {\r\n new Request.post(`${globales.ip}/mantenimientoNivel/selectsMantNivel`)\r\n .set({ authorization: \"Bearer \" + Auth.getToken() })\r\n .set(\"Content-Type\", \"application/json\")\r\n .send({\r\n ID_CONSULTA: 1,\r\n ID_FACULTAD: null,\r\n USUARIO: Auth.getProfile().user,\r\n })\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 60000 })\r\n .end((err, res) => {\r\n if (err) {\r\n if (err.toString().substr(0, 16) === \"Error: Forbidden\") {\r\n window.location.reload();\r\n return;\r\n } else if (\r\n err.toString() ===\r\n \"Error: Response timeout of 15000ms exceeded\"\r\n ) {\r\n funciones.showToast(\r\n \"e\",\r\n \"Error en la comunicacion con el servidor\"\r\n );\r\n return;\r\n }\r\n _this.setState({ openBackDrop: false }, () => {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n });\r\n }\r\n\r\n const tmp = JSON.parse(res.text);\r\n if (tmp.length > 0) {\r\n _this.setState({ openBackDrop: false }, () => {\r\n const Datos = tmp.map((datos, i) => (\r\n {ID_FACULTAD:+datos.ID_FACULTAD,DESCRIPCION: datos.CODIGO_FACULTAD+' - '+datos.DESCRIPCION_FACULTAD}\r\n ));\r\n //console.log(Datos);\r\n _this.setState({\r\n rowsFacultad: Datos,\r\n pondJorHeightTableCarreras: funciones.getHeightTableMain(\r\n movil_pequeño,\r\n _this\r\n ).heightTable,\r\n }, () => {\r\n _this.consultasDeLaVista(3);\r\n _this.consultasDeLaVista(4);\r\n _this.consultasDeLaVista(5);\r\n });\r\n });\r\n //console.log(_this.state.heightTableMain);\r\n } else {\r\n _this.setState({ openBackDrop: false }, () => {\r\n _this.setState({\r\n rowsFacultad: []\r\n });\r\n });\r\n }\r\n });\r\n } catch (ex) {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n _this.setState({ validado: true });\r\n }\r\n });\r\n _this.actualizarbarra(true);\r\n //_this.actualizarcircular(true)\r\n });\r\n }\r\n\r\n\r\n consultasDeLaVista(idConsulta) {\r\n //console.log(this.state.idFacultad);\r\n let _this = this;\r\n _this.actualizarbarra(false);\r\n\r\n Auth.loggedIn().then(function (b) {\r\n _this.setState({ isLoggin: b });\r\n if (b)\r\n _this.setState({ openBackDrop: true }, () => {\r\n try {\r\n new Request.post(`${globales.ip}/mantenimientoNivel/selectsMantNivel`)\r\n .set({ authorization: \"Bearer \" + Auth.getToken() })\r\n .set(\"Content-Type\", \"application/json\")\r\n .send({\r\n ID_CONSULTA: idConsulta,\r\n ID_FACULTAD: idConsulta === 2? _this.state.idFacultad : null,\r\n ID_CARRERA: idConsulta === 6? _this.state.idCarrera : null,\r\n ID_NIVEL: idConsulta === 7? _this.state.idNivel : null,\r\n USUARIO: Auth.getProfile().user,\r\n })\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 60000 })\r\n .end((err, res) => {\r\n if (err) {\r\n if (err.toString().substr(0, 16) === \"Error: Forbidden\") {\r\n window.location.reload();\r\n return;\r\n } else if (\r\n err.toString() ===\r\n \"Error: Response timeout of 15000ms exceeded\"\r\n ) {\r\n funciones.showToast(\r\n \"e\",\r\n \"Error en la comunicacion con el servidor\"\r\n );\r\n return;\r\n }\r\n _this.setState({ openBackDrop: false }, () => {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n });\r\n }\r\n\r\n if(res.text !== '')\r\n { \r\n const tmp = JSON.parse(res.text);\r\n if (tmp.length > 0) {\r\n _this.setState({ openBackDrop: false }, () => {\r\n if(idConsulta === 2)\r\n {\r\n //console.log(\"DOS\");\r\n const Datos = tmp.map((datos, i) => (\r\n {ID_CARRERA:+datos.ID_CARRERA,DESCRIPCION: datos.CODIGO_CARRERA+' - '+datos.DESCRIPCION_CARRERA}\r\n ));\r\n //console.log(Datos);\r\n _this.setState({\r\n idCarrera:null,\r\n filaCarrera:null,\r\n rowsNiveles:[],\r\n rowsCarrera: Datos\r\n });\r\n }\r\n else if(idConsulta === 3)\r\n {\r\n const Datos = tmp.map((datos, i) => (\r\n {CUENTA_CATEDRATICO:+datos.CUENTA_CATEDRATICO,NOMBRE_COMPLETO: datos.CUENTA_CATEDRATICO+' - '+datos.NOMBRE_COMPLETO}\r\n ));\r\n //console.log(Datos);\r\n _this.setState({\r\n rowsDirectores: Datos\r\n }, () => {\r\n });\r\n }\r\n else if(idConsulta === 4)\r\n {\r\n const Datos = tmp.map((datos, i) => (\r\n \r\n {datos.DESCRIPCION}\r\n \r\n ));\r\n _this.setState({\r\n rowsEstado: Datos,\r\n });\r\n }\r\n else if(idConsulta === 5)\r\n {\r\n const Datos = tmp.map((datos, i) => (\r\n \r\n {datos.DESCRIPCION}\r\n \r\n ));\r\n _this.setState({\r\n rowsGradoAcademico: Datos,\r\n });\r\n }\r\n else if(idConsulta === 6)\r\n {\r\n _this.setState({\r\n rowsNiveles: tmp,\r\n pondJorHeightTableCarreras: funciones.getHeightTableMain(movil_pequeño,_this).heightTable,\r\n }, () => {\r\n\r\n });\r\n }\r\n \r\n else if(idConsulta === 7)\r\n {\r\n //console.log(tmp[0]);\r\n let datos = tmp[0];\r\n\r\n currentCodigoNivel = datos[\"CODIGO\"];\r\n currentNivel = datos[\"DESCRIPCION\"];\r\n currentApertura = datos[\"FECHA_APERTURA\"];\r\n currentCreditos = datos[\"CREDITOS\"];\r\n currentPenalizacion = datos[\"VALOR_PENALIDAD_CAMBIO\"];\r\n currentCarnet = datos[\"VALOR_CARNE\"];\r\n currentMatricula = datos[\"VALOR_MATRICULA\"];\r\n currentLimiteUv = datos[\"LIMITE_UV_MATRICULA\"];\r\n _this.setState({\r\n selectionGradoAcademico: datos[\"ID_ACADEMICO_NIVEL\"],\r\n selectionEstado: datos[\"ESTATUS\"],\r\n cuentaCatedratico: datos[\"CUENTA_CATEDRATICO\"],\r\n filaDirectores: {CUENTA_CATEDRATICO:+datos[\"CUENTA_CATEDRATICO\"],NOMBRE_COMPLETO: datos[\"CUENTA_CATEDRATICO\"]+' - '+datos[\"NOMBRE_COMPLETO\"]},\r\n checkOfertable:datos[\"OFERTABLE\"],\r\n });\r\n }\r\n });\r\n //console.log(_this.state.heightTableMain);\r\n } else {\r\n _this.setState({ openBackDrop: false }, () => {\r\n if(idConsulta === 2)\r\n {\r\n _this.setState({\r\n rowsCarrera: [],\r\n idCarrera:null,\r\n filaCarrera:null,\r\n });\r\n }\r\n else if(idConsulta === 4)\r\n {\r\n _this.setState({\r\n rowsEstado: [],\r\n });\r\n }\r\n else if(idConsulta === 5)\r\n {\r\n _this.setState({\r\n rowsGradoAcademico: [],\r\n });\r\n }\r\n else if(idConsulta === 6)\r\n {\r\n _this.setState({\r\n rowsNiveles: [],\r\n pondJorHeightTableCarreras: funciones.getHeightTableMain(\r\n movil_pequeño,\r\n _this\r\n ).heightTable,\r\n }, () => {\r\n\r\n });\r\n }\r\n });\r\n }\r\n }\r\n else if(idConsulta === 2)\r\n {\r\n _this.setState({ openBackDrop: false }, () => {\r\n _this.setState({\r\n rowsCarrera: [],\r\n rowsNiveles:[],\r\n idCarrera:null,\r\n idNivel:null,\r\n filaCarrera:null,\r\n });\r\n });\r\n }\r\n else if(idConsulta === 6)\r\n {\r\n _this.setState({ openBackDrop: false }, () => {\r\n _this.setState({\r\n rowsNiveles: [],\r\n idNivel:null,\r\n pondJorHeightTableCarreras: funciones.getHeightTableMain(\r\n movil_pequeño,\r\n _this\r\n ).heightTable,\r\n });\r\n });\r\n }\r\n });\r\n } catch (ex) {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n _this.setState({ validado: true });\r\n }\r\n });\r\n _this.actualizarbarra(true);\r\n //_this.actualizarcircular(true)\r\n });\r\n }\r\n\r\n LimpiarDialog =()=>\r\n {\r\n currentCodigoNivel = null;\r\n currentNivel = null;\r\n currentApertura = null;\r\n currentCreditos = null;\r\n currentPenalizacion = null;\r\n currentCarnet = null;\r\n currentMatricula = null;\r\n currentLimiteUv = null;\r\n\r\n this.setState({\r\n selectionGradoAcademico: \"\",\r\n selectionEstado: \"\",\r\n cuentaCatedratico: null,\r\n filaDirectores:null,\r\n idNivel:0,\r\n selectionNiveles:[],\r\n checkOfertable: false,\r\n });\r\n }\r\n cambiaFacultad = (event,filaSeleccionada) => {\r\n if(filaSeleccionada !== null)\r\n {\r\n this.setState({idFacultad: filaSeleccionada.ID_FACULTAD,filaFacultad: filaSeleccionada,},()=>{\r\n this.consultasDeLaVista(2);\r\n });\r\n }\r\n if(filaSeleccionada === null)\r\n {\r\n this.setState({idFacultad: null,filaFacultad: null,},()=>{\r\n this.consultasDeLaVista(2);\r\n });\r\n }\r\n \r\n };\r\n\r\n cambiaCarrera = (event,filaSeleccionada) => {\r\n if(filaSeleccionada !== null)\r\n {\r\n this.setState({idCarrera: filaSeleccionada.ID_CARRERA,filaCarrera: filaSeleccionada,\r\n },()=>{\r\n this.consultasDeLaVista(6);\r\n });\r\n }\r\n else if(filaSeleccionada === null)\r\n {\r\n this.setState(\r\n {\r\n idCarrera: null,\r\n filaCarrera: null,\r\n },()=>{\r\n this.consultasDeLaVista(6);\r\n });\r\n }\r\n \r\n };\r\n\r\n cambiaDirectores = (event,filaSeleccionada) => {\r\n this.setState({cuentaCatedratico: filaSeleccionada.CUENTA_CATEDRATICO,filaDirectores: filaSeleccionada,});\r\n };\r\n\r\n changeSelectionNiveles = (selection) => {\r\n this.setState({nivelesIud:2});\r\n //console.log(this.state.selectionNiveles);\r\n if (selection[selection.length - 1] === undefined) {\r\n this.setState({ selectionNiveles: this.state.selectionNiveles });\r\n } else {\r\n this.setState({ selectionNiveles: [selection[selection.length - 1]] }, () => {\r\n //this.setState({idControlMatricula:this.state.selection[0]})\r\n });\r\n }\r\n };\r\n\r\n cambiaEstado = (event) => {\r\n this.setState(\r\n {\r\n selectionEstado: event.target.value,\r\n });\r\n //alert(event.target.value);\r\n };\r\n\r\n cambiaGradoAcademico = (event) => {\r\n this.setState(\r\n {\r\n selectionGradoAcademico: event.target.value,\r\n });\r\n //alert(event.target.value);\r\n };\r\n\r\n abrirmodalNiveles = () => (event) => {\r\n if(this.state.idCarrera !== null && this.state.idCarrera !== 0)\r\n {\r\n currentCodigoNivel = null;\r\n currentNivel = null;\r\n currentApertura = null;\r\n currentCreditos = null;\r\n currentPenalizacion = null;\r\n currentCarnet = null;\r\n currentMatricula = null;\r\n currentLimiteUv = null;\r\n\r\n this.setState({\r\n nivelesIud:1,\r\n modalNiveles: true,\r\n selectionGradoAcademico: \"\",\r\n selectionEstado: \"\",\r\n cuentaCatedratico: null,\r\n filaDirectores:null,\r\n idNivel:0,\r\n selectionNiveles:[],\r\n checkOfertable: false,\r\n });\r\n }\r\n else\r\n {\r\n funciones.showToast(\"i\", \"Debe seleccionar una carrera para crear un nivel.\");\r\n }\r\n \r\n };\r\n\r\n funcCerrarModalNiveles = () => (event) => {\r\n this.setState({modalNiveles:false,});\r\n this.LimpiarDialog();\r\n }\r\n\r\n funcionMantNivelIud = (idConsulta) => {\r\n //console.log(idConsulta+\" asd \");\r\n let _this = this;\r\n _this.actualizarbarra(false);\r\n\r\n Auth.loggedIn().then(function (b) {\r\n _this.setState({ isLoggin: b });\r\n if (b)\r\n _this.setState({ openBackDrop: true }, () => {\r\n try {\r\n new Request.post(`${globales.ip}/mantenimientoNivel/mantenimientoNivelIUD`)\r\n .set({ authorization: \"Bearer \" + Auth.getToken() })\r\n .set(\"Content-Type\", \"application/json\")\r\n .send({\r\n ID_CONSULTA:idConsulta //1:Insert, 2:Update\r\n ,ID_NIVEL: _this.state.idNivel\r\n ,DESCRIPCION_NIVEL:currentNivel\r\n ,DIRECTOR_NIVEL: _this.state.cuentaCatedratico.toString()\r\n ,CREDITOS_NIVEL: currentCreditos\r\n ,FECHA_APERTURA: currentApertura\r\n ,ESTATUS:_this.state.selectionEstado\r\n ,ID_CARRERA: _this.state.idCarrera\r\n ,CODIGO_NIVEL: currentCodigoNivel\r\n ,USUARIO:Auth.getProfile().user\r\n ,VALOR_MATRICULA: currentMatricula\r\n ,VALOR_CARNE:currentCarnet\r\n ,VALOR_PENALIDAD_CAMBIO:currentPenalizacion\r\n ,ID_ACADEMICO_NIVEL:_this.state.selectionGradoAcademico\r\n ,LIMITE_UV_MATRICULA:currentLimiteUv\r\n ,OFERTABLE:_this.state.checkOfertable === true ? 1 : 0\r\n })\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 60000 })\r\n .end((err, res) => {\r\n if (err) {\r\n if (err.toString().substr(0, 16) === \"Error: Forbidden\") {\r\n window.location.reload();\r\n return;\r\n } else if (\r\n err.toString() ===\r\n \"Error: Response timeout of 15000ms exceeded\"\r\n ) {\r\n funciones.showToast(\r\n \"e\",\r\n \"Error en la comunicacion con el servidor\"\r\n );\r\n return;\r\n }\r\n _this.setState({ openBackDrop: false }, () => {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n });\r\n }\r\n\r\n const tmp = JSON.parse(res.text);\r\n if (tmp.length > 0) {\r\n _this.setState({ openBackDrop: false }, () => {\r\n let datos = tmp[0];\r\n \r\n if(datos[\"MENSAJE\"] === \"OK\")\r\n {\r\n if(idConsulta === 1)\r\n {\r\n funciones.showToast(\"s\", \"Se creó el nivel exitosamente\");\r\n currentCodigoNivel = null;\r\n currentNivel = null;\r\n currentApertura = null;\r\n currentCreditos = null;\r\n currentPenalizacion = null;\r\n currentCarnet = null;\r\n currentMatricula = null;\r\n currentLimiteUv = null;\r\n _this.setState({\r\n nivelesIud:1,\r\n selectionGradoAcademico: \"\",\r\n selectionEstado: \"\",\r\n cuentaCatedratico: null,\r\n filaDirectores:null,\r\n //idCarrera:0,\r\n //selectionCarreras:[],\r\n modalNiveles:false,\r\n checkOfertable: false,\r\n });\r\n _this.consultasDeLaVista(6);\r\n }\r\n else if(idConsulta === 2)\r\n {\r\n funciones.showToast(\"s\", \"Información Almacenada\");\r\n _this.consultasDeLaVista(6);\r\n }\r\n else if(idConsulta === 3)\r\n {\r\n funciones.showToast(\"s\", \"El nivel fue eliminada\");\r\n currentCodigoNivel = null;\r\n currentNivel = null;\r\n currentApertura = null;\r\n currentCreditos = null;\r\n currentPenalizacion = null;\r\n currentCarnet = null;\r\n currentMatricula = null;\r\n currentLimiteUv = null;\r\n _this.setState({\r\n nivelesIud:1,\r\n modalNiveles: true,\r\n selectionGradoAcademico: \"\",\r\n selectionEstado: \"\",\r\n cuentaCatedratico: null,\r\n filaDirectores:null,\r\n idCarrera:0,\r\n selectionCarreras:[],\r\n checkOfertable: false,\r\n });\r\n _this.consultasDeLaVista(6);\r\n \r\n }\r\n }\r\n else\r\n {\r\n funciones.showToast(\"e\", \"Error: \"+datos[\"MENSAJE\"]);\r\n }\r\n });\r\n //console.log(_this.state.heightTableMain);\r\n } else {\r\n _this.setState({ openBackDrop: false }, () => {\r\n _this.setState({});\r\n });\r\n }\r\n });\r\n } catch (ex) {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n console.log(\"ERROR: \"+ex);\r\n _this.setState({ validado: true });\r\n }\r\n });\r\n _this.actualizarbarra(true);\r\n //_this.actualizarcircular(true)\r\n });\r\n }\r\n\r\n abrirmodal_modificar = () => (event) => {\r\n if(this.state.idNivel !== 0)\r\n {\r\n this.setState({\r\n nivelesIud:2,\r\n },() => {\r\n this.setState({modalNiveles:true,});\r\n });\r\n }\r\n else\r\n {\r\n funciones.showToast(\"i\", \"Debe seleccionar un nivel para modificar.\");\r\n }\r\n }\r\n\r\n cambiaCodigoNivel = (event) => {\r\n currentCodigoNivel = event.target.value;\r\n };\r\n cambiaNivel = (event) => {\r\n currentNivel = event.target.value;\r\n };\r\n cambiaApertura = (event) => {\r\n currentApertura = event.target.value;\r\n };\r\n cambiaCreditos = (event) => {\r\n currentCreditos = event.target.value;\r\n };\r\n cambiaPenalizacion = (event) => {\r\n currentPenalizacion = event.target.value;\r\n };\r\n cambiaCarnet = (event) => {\r\n currentCarnet = event.target.value;\r\n };\r\n cambiaMatricula = (event) => {\r\n currentMatricula = event.target.value;\r\n };\r\n cambiaLimiteUv = (event) => {\r\n currentLimiteUv = event.target.value;\r\n };\r\n cambiaCheckOfertable = (event) => {\r\n //this.state.checkPermiteExtra = event.target.checked;\r\n this.setState({\r\n checkOfertable: event.target.checked\r\n });\r\n };\r\n\r\n //Validaciones\r\n validacionesPreviasIud = (idConsulta) => (event) => {\r\n \r\n if(idConsulta === 1)\r\n {\r\n if(\r\n this.state.selectionEstado !== \"\" &&\r\n this.state.cuentaCatedratico !== null &&\r\n this.state.selectionGradoAcademico !== \"\" &&\r\n currentApertura !== null &&\r\n currentNivel !== null &&\r\n currentCodigoNivel !== null &&\r\n \r\n currentApertura !== \"\" &&\r\n currentNivel !== \"\" &&\r\n currentCodigoNivel !== \"\"\r\n )\r\n {\r\n this.funcionMantNivelIud(1);\r\n }\r\n else\r\n {\r\n funciones.showToast(\"i\", \"Todos los campos son obligatorios\");\r\n }\r\n }\r\n else if(idConsulta === 2)\r\n {\r\n if(\r\n this.state.selectionCarreras !== \"\" &&\r\n this.state.selectionEstado !== \"\" &&\r\n this.state.cuentaCatedratico !== null &&\r\n this.state.selectionGradoAcademico !== \"\" &&\r\n currentApertura !== null &&\r\n currentNivel !== null &&\r\n currentCodigoNivel !== null &&\r\n \r\n currentApertura !== \"\" &&\r\n currentNivel !== \"\" &&\r\n currentCodigoNivel !== \"\" \r\n )\r\n {\r\n this.funcionMantNivelIud(2);\r\n }\r\n else\r\n {\r\n funciones.showToast(\"i\", \"Todos los campos son obligatorios\");\r\n }\r\n }\r\n /*else if(idConsulta === 3)//delete\r\n {\r\n if(this.state.idPonJor !== 0\r\n ){\r\n this.setState({modalEliminar: true});\r\n }\r\n else\r\n {\r\n this.showToast(\"i\", \"Por favor, seleccione la ponderacion de la jornada que desea eliminar\", timeToast);\r\n }\r\n }\r\n else if(idConsulta === 4)\r\n {\r\n this.funcionPondJorIud(3);\r\n }*/\r\n event.preventDefault();\r\n }\r\n\r\n /* RENDER */\r\n render() {\r\n const { classes } = this.props;\r\n\r\n //select IOS\r\n const IOSSwitch = withStyles((theme) => ({\r\n root: {\r\n width: 42,\r\n height: 26,\r\n padding: 0,\r\n margin: theme.spacing(1),\r\n },\r\n switchBase: {\r\n padding: 1,\r\n '&$checked': {\r\n transform: 'translateX(16px)',\r\n color: theme.palette.common.white,\r\n '& + $track': {\r\n backgroundColor: '#52d869',\r\n opacity: 1,\r\n border: 'none',\r\n },\r\n },\r\n '&$focusVisible $thumb': {\r\n color: '#52d869',\r\n border: '6px solid #fff',\r\n },\r\n },\r\n thumb: {\r\n width: 24,\r\n height: 24,\r\n },\r\n track: {\r\n borderRadius: 26 / 2,\r\n border: `1px solid ${theme.palette.grey[400]}`,\r\n backgroundColor: theme.palette.grey[50],\r\n opacity: 1,\r\n transition: theme.transitions.create(['background-color', 'border']),\r\n },\r\n checked: {},\r\n focusVisible: {},\r\n }))(({ classes, ...props }) => {\r\n return (\r\n \r\n );\r\n });\r\n\r\n const botones = [\r\n {icono: \"Add\",toolt: \"Nueva Carrera\",nombre: \"Nueva\",escritura: true, onclick: this.abrirmodalNiveles(),display: \"auto\",variant:\"outlined\",},\r\n {icono: \"Edit\",toolt: \"Modificar Carrera Seleccionada\",nombre: \"Modificar\",escritura: true, onclick: this.abrirmodal_modificar(),display: \"auto\",},\r\n ];\r\n\r\n const botonesCrear = [\r\n {icono: \"Add\",toolt: \"Crear Nivel\",nombre: \"Crear\",escritura: true, onclick: this.validacionesPreviasIud(1),display: \"auto\",},\r\n {icono: \"Close\",toolt: \"Cerrar\",nombre: \"Cerrar\",escritura: true, onclick: this.funcCerrarModalNiveles(),color: \"red\",display: \"auto\",},\r\n ];\r\n\r\n const botonesEditar = [\r\n {\r\n icono: \"Save\",\r\n toolt: \"Guardar Carrera\",\r\n nombre: \"Guardar\",\r\n escritura: true, \r\n onclick: this.validacionesPreviasIud(2),\r\n display: \"auto\",\r\n },\r\n {\r\n icono: \"Close\",\r\n toolt: \"Cerrar\",\r\n nombre: \"Cerrar\",\r\n escritura: true, \r\n onclick: this.funcCerrarModalNiveles(),\r\n color: \"red\",\r\n display: \"auto\",\r\n },\r\n ];\r\n\r\n if (this.state.isLoggin === true) {\r\n return (\r\n \r\n \r\n {/** backdrop */}\r\n \r\n \r\n \r\n {\"Cargando...\"}\r\n \r\n \r\n {(() => {\r\n tokenInfo = Auth.getProfile(); //Token decodificado\r\n\r\n if (tokenInfo.plataforma === 1) {\r\n //Si es Usuario Admin\r\n return (\r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n option.DESCRIPCION}\r\n style={{maxWidth: movil ? '100%':'80%',paddingTop:5,paddingBottom:5,}}\r\n renderInput={(params) => }\r\n value={this.state.filaFacultad}\r\n getOptionSelected = {(option, value) => option.ID_FACULTAD === value.ID_FACULTAD}\r\n onChange={this.cambiaFacultad} \r\n />\r\n
\r\n
\r\n \r\n
\r\n option.DESCRIPCION}\r\n style={{maxWidth: movil ? '100%':'80%',paddingTop:5,paddingBottom:5,paddingLeft: movil? 0:10,}}\r\n renderInput={(params) => }\r\n value={this.state.filaCarrera}\r\n getOptionSelected = {(option, value) => option.ID_CARRERA === value.ID_CARRERA}\r\n onChange={this.cambiaCarrera} \r\n noOptionsText=\"Primero elija una facultad\" \r\n />\r\n
\r\n
\r\n
\r\n \r\n \r\n }\r\n showSelectionColumn={false}\r\n />\r\n \r\n
\r\n );\r\n }\r\n })()}\r\n\r\n {/**MODAL DE CARRERAS**/}\r\n \r\n \r\n {\r\n this.state.nivelesIud === 1? \"Creación de un nuevo nivel para la facultad y carrera elegida\" :\r\n this.state.nivelesIud === 2? \"Editar la información del nivel\" : \"\"\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n option.NOMBRE_COMPLETO}\r\n style={{maxWidth: movil ? '100%':'100%',\r\n zIndex: 200000,\r\n }}\r\n //className={classes.selectEmpty}\r\n renderInput={(params) => }\r\n value={this.state.filaDirectores}\r\n getOptionSelected = {(option, value) => option.CUENTA_CATEDRATICO === value.CUENTA_CATEDRATICO}\r\n onChange={this.cambiaDirectores} \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\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 label=\"Ofertable\"\r\n labelPlacement= \"start\"\r\n \r\n />\r\n    Solo para Departamento.\r\n

\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ); /// finaliza return\r\n } else if (this.state.isLoggin === false) {\r\n Auth.logout();\r\n window.location.reload();\r\n return;\r\n }\r\n\r\n return null;\r\n } /// finaliza render\r\n } /// finaliza class\r\n); /// finaliza withStyles\r\n"],"sourceRoot":""}