Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.128.168.176
{"version":3,"sources":["pages/before-exam/timetable/releaseform.js","pages/before-exam/timetable/releasetimetable.js","pages/common/SelectDeggrp.js","actions/before-exam/timetable.js","pages/before-exam/timetable/report.js","pages/common/todayDate.js"],"names":["ReleaseTimeTableForm","state","deggrp","fdeggrp","_this","props","user","fyear","fexamtype","fexamdate","fexamrange","fdaytype","fsunday","fstrdate","deggrpError","fexamrangeError","fstrdateError","frmSubmit","disabled","table","cancel","_callee","regenerator_default","a","wrap","_context","prev","next","setState","getToday","freset","stop","changeDeggrp","e","data","filter","el","i","value","handleChangedate","Object","defineProperty","target","name","handleChange","type","checked","validateForm","_callee2","_this$state","_context2","ferror","ferrorm","abrupt","releasetimetable","generateTimeTable","_callee3","_context3","sent","generateTimetable","handlesubmit","_callee4","_this$state2","_context4","getreleaseTimetable","tablefalse","tabletrue","this","fetchDegGrp","onRef","_this$state3","react_default","createElement","Form","error","Message","content","SelectDeggrp","frmDeggrp","dgerror","Group","Input","placeholder","width","label","readOnly","onChange","Button","color","onClick","Component","connect","ReleaseTimetable","ttform","trrefs","open","frmdegree","degreeError","rlsdisabled","tabletru","tablefls","child","cancelTimetable","show","dimmer","close","setFromValues","values","releaseTimeTable","undefined","deleteRow","objectSpread","changereleasetimetable","selectall","console","log","timetable","selectallchkbxrelease","renderHeader","Card","Header","style","display","className","basic","icon","Link","to","_this2","fluid","Content","Divider","Description","height","overflowY","releaseform","ref","report","dim","Table","celled","padded","selectable","structured","size","marginTop","fontSize","Row","HeaderCell","singleLine","textAlign","rldisable","Body","relarr","map","key","Cell","fqpcode","fsubname","fdate","fdescpn","frelease","React","saveExamtimetable","prevProps","deggroup_options","text","concat","react__WEBPACK_IMPORTED_MODULE_5___default","semantic_ui_react__WEBPACK_IMPORTED_MODULE_7__","Field","semantic_ui_react__WEBPACK_IMPORTED_MODULE_8__","search","selection","openOnFocus","options","selectOnBlur","frmvalues","_ref","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default","mark","dispatch","getState","response","univadmin","post","univ","funivcode","payload","error_code","msg","status","_x","_x2","apply","arguments","getupdateTimetable","_ref2","_error","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__","fdegree","header","showError","_x3","_x4","loaddegreettm","_ref3","_error2","get","params","univcode","_x5","_x6","parameters","_ref4","_error3","_x7","_x8","saveExamtimetableUT","_ref5","_callee5","_error4","_context5","_x9","_x10","_ref6","_callee6","_context6","_x11","_x12","getfreezeTimetable","frz","_ref7","_callee7","_context7","dgp","year","examtype","examrange","fcurtype","_x13","_x14","changefreezetimetable","freezetimetable","stt","_ref8","_callee8","_context8","freezeTimeTable","fname","tabledata","frzarr","_x15","_x16","selectallchkbx","check","_ref9","_callee9","_context9","_x17","_x18","_ref10","_callee10","_error5","_context10","_x19","_x20","ReportTimeTable","frtype","frtypes","frtypeError","rftype","emptydates","fdegfrom","fdegto","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__","generateReport","window","ReportAPI","ignore","changecheckempty","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__","report_options","react__WEBPACK_IMPORTED_MODULE_7___default","maxHeight","onClose","closeOnDimmerClick","semantic_ui_react__WEBPACK_IMPORTED_MODULE_9__","semantic_ui_react__WEBPACK_IMPORTED_MODULE_10__","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","_common_SelectDeggrp__WEBPACK_IMPORTED_MODULE_16__","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","semantic_ui_react__WEBPACK_IMPORTED_MODULE_13__","inline","control","Radio","today","Date","dd","getDate","mm","getMonth","yyyy","getFullYear"],"mappings":"iTAqBMA,qNACJC,MAAQ,CACNC,OAAQ,GACRC,QAASC,EAAKC,MAAMC,KAAKH,QACzBI,MAAOH,EAAKC,MAAMC,KAAKC,MACvBC,UAAWJ,EAAKC,MAAMC,KAAKE,UAC3BC,UAAWL,EAAKC,MAAMC,KAAKG,UAC3BC,WAAYN,EAAKC,MAAMC,KAAKI,WAC5BC,SAAU,IACVC,SAAS,EACTC,SAAU,GACVC,aAAa,EACbC,iBAAiB,EACjBC,eAAe,EACfC,WAAW,EACXC,UAAU,EACVC,OAAM,KASRC,4BAAS,SAAAC,IAAA,OAAAC,EAAAC,EAAAC,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,OACPvB,EAAKwB,SAAS,CACZzB,QAASC,EAAKC,MAAMC,KAAKH,QACzBI,MAAOH,EAAKC,MAAMC,KAAKC,MACvBC,UAAWJ,EAAKC,MAAMC,KAAKE,UAC3BC,UAAWL,EAAKC,MAAMC,KAAKG,UAC3BC,WAAYN,EAAKC,MAAMC,KAAKI,WAC5BC,SAAU,IACVC,SAAS,EACTC,SAAUgB,cACVC,QAAQ,EACRhB,aAAa,EACbC,iBAAiB,EACjBC,eAAe,EACfC,WAAW,EACXC,UAAU,IAfL,wBAAAO,EAAAM,SAAAV,QAoBTW,aAAe,SAACC,EAAGC,GACjB,IAIIhC,EAJYE,EAAKH,MAAMC,OAAOiC,OAChC,SAACC,EAAIC,GAAL,OAAWD,EAAGjC,UAAY+B,EAAKI,QAGV,GAEvBlC,EAAKwB,SAAS,CACZrB,MAAOL,EAAOK,MACdC,UAAWN,EAAOM,UAClBC,UAAWP,EAAOO,UAClBN,QAASD,EAAOC,aAIpBoC,iBAAmB,SAAAN,GACjB7B,EAAKwB,SAALY,O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AKvH,MAAN,CACE6H,QAASC,IACT7P,KAAK,SACLyC,MAAM,MACN9C,MAAM,aACNQ,QAAoB,eAAXkO,EACT1L,SAAUnB,KAAKvB,eAEjBgP,EAAArQ,EAAAiD,cAACyN,EAAA,EAAKvH,MAAN,CACE6H,QAASC,IACT7P,KAAK,SACLyC,MAAM,QACN9C,MAAM,eACNQ,QAAoB,iBAAXkO,EACT1L,SAAUnB,KAAKvB,2BA5VH8C,aA8WfC,gBAPS,SAAC1F,GACvB,MAAO,CACLC,OAAQD,EAAMC,OACdyL,KAAM1L,EAAM0L,OAIwB,GAAzBhG,CAA6BiL,qCCzW7B/O,IAlBf,WACE,IAAI4Q,EAAQ,IAAIC,KACZC,EAAKF,EAAMG,UACXC,EAAKJ,EAAMK,WAAa,EACxBC,EAAON,EAAMO,cAWjB,OATIL,EAAK,KACPA,EAAK,IAAMA,GAGTE,EAAK,KACPA,EAAK,IAAMA,GAGbJ,EAAQE,EAAK,IAAME,EAAK,IAAME","file":"static/js/42.7b00d0fe.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport {\n Card,\n Button,\n Form,\n Message,\n Radio,\n Checkbox,\n Table\n} from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport { fetchDegGrp } from \"../../../actions\";\nimport { \n generateTimetable, \n releasetimetable, \n getreleaseTimetable \n} from \"../../../actions/before-exam/timetable\";\nimport SelectDeggrp from \"../../common/SelectDeggrp\";\nimport getToday from \"../../common/todayDate\";\nimport InputMask from \"react-input-mask\";\n\nclass ReleaseTimeTableForm extends Component {\n state = {\n deggrp: [],\n fdeggrp: this.props.user.fdeggrp,\n fyear: this.props.user.fyear,\n fexamtype: this.props.user.fexamtype,\n fexamdate: this.props.user.fexamdate,\n fexamrange: this.props.user.fexamrange,\n fdaytype: \"C\",\n fsunday: false,\n fstrdate: \"\",\n deggrpError: false,\n fexamrangeError: false,\n fstrdateError: false,\n frmSubmit: false,\n disabled: false,\n table:false\n };\n\n async componentDidMount() {\n await this.props.fetchDegGrp();\n this.props.onRef(this);\n this.setState({ deggrp: this.props.deggrp });\n }\n\n cancel = async () => {\n this.setState({\n fdeggrp: this.props.user.fdeggrp,\n fyear: this.props.user.fyear,\n fexamtype: this.props.user.fexamtype,\n fexamdate: this.props.user.fexamdate,\n fexamrange: this.props.user.fexamrange,\n fdaytype: \"C\",\n fsunday: false,\n fstrdate: getToday(),\n freset: false,\n deggrpError: false,\n fexamrangeError: false,\n fstrdateError: false,\n frmSubmit: false,\n disabled: false\n });\n // await this.props.tablehandle();\n };\n\n changeDeggrp = (e, data) => {\n let deggrpsel = this.state.deggrp.filter(\n (el, i) => el.fdeggrp === data.value\n );\n\n let deggrp = deggrpsel[0];\n\n this.setState({\n fyear: deggrp.fyear,\n fexamtype: deggrp.fexamtype,\n fexamdate: deggrp.fexamdate,\n fdeggrp: deggrp.fdeggrp\n });\n };\n\n handleChangedate = e => {\n this.setState({ [e.target.name]: e.target.value });\n };\n\n handleChange = (e, data) => {\n switch (data.type) {\n case \"text\":\n this.setState({ [data.name]: data.value });\n return;\n case \"radio\":\n this.setState({ [data.name]: data.value });\n return;\n case \"checkbox\":\n this.setState({ [data.name]: data.checked });\n return;\n default:\n return;\n }\n };\n\n validateForm = async () => {\n const {\n fdeggrp,\n fyear,\n fexamtype,\n fstrdate,\n fexamrange,\n fdaytype,\n fsunday,\n table\n } = this.state;\n\n if (fdeggrp == \"\") {\n this.setState({\n deggrpError: true,\n ferror: true,\n ferrorm: \"Degree Group required.\"\n });\n return;\n } else {\n this.setState({ deggrpError: false, ferror: false, ferrorm: \"\" });\n }\n\n if (fexamrange == \"\") {\n this.setState({\n fexamrangeError: true,\n ferror: true,\n ferrorm: \"Exam Range required.\"\n });\n return;\n } else {\n this.setState({ fexamrangeError: false, ferror: false, ferrorm: \"\" });\n }\n\n \n\n const data = {\n fdeggrp,\n fyear,\n fexamtype, \n fexamrange,\n fdaytype,\n fsunday,\n table\n };\n\n await this.props.releasetimetable(data);\n\n this.cancel();\n\n return data;\n };\n\n generateTimeTable = async () => {\n const data = await this.validateForm();\n this.props.generateTimetable(data);\n };\n\n handlesubmit = async () =>{ \n const {\n fdeggrp,\n fyear,\n fexamtype,\n fstrdate,\n fexamrange,\n fdaytype,\n fsunday\n } = this.state;\n\n if (fdeggrp == \"\") {\n this.setState({\n deggrpError: true,\n ferror: true,\n ferrorm: \"Degree Group required.\"\n });\n return;\n } else {\n this.setState({ deggrpError: false, ferror: false, ferrorm: \"\" });\n }\n\n if (fexamrange == \"\") {\n this.setState({\n fexamrangeError: true,\n ferror: true,\n ferrorm: \"Exam Range required.\"\n });\n return;\n } else {\n this.setState({ fexamrangeError: false, ferror: false, ferrorm: \"\" });\n }\n \n const err_code = this.props.getreleaseTimetable(this.state); \n if(err_code == -1){\n this.props.tablefalse();\n }else{\n this.props.tabletrue();\n }\n\n \n\n }\n \n\n render() { \n const {\n fdeggrp,\n fyear,\n fexamtype,\n fexamdate,\n fstrdate,\n fexamrange,\n fdaytype,\n ferror,\n ferrorm,\n fsunday,\n deggrpError,\n fexamrangeError,\n disabled,\n table\n } = this.state;\n\n const formatChars = {\n n: \"[0-1]\",\n m: \"[0-9]\",\n e: \"[0-3]\",\n d: \"[0-9]\",\n z: \"[1-2]\",\n y: \"[0-9]\"\n };\n return (\n <div>\n <Form error>\n {ferror ? <Message error content={ferrorm} /> : null}\n <SelectDeggrp\n changeDeggrp={this.changeDeggrp}\n disabled={disabled}\n frmDeggrp={fdeggrp}\n dgerror={deggrpError}\n />\n <Form.Group>\n <Form.Input\n placeholder=\"Exam Year\"\n value={fyear}\n width={4}\n label=\"Exam Year\"\n readOnly\n />\n <Form.Input\n placeholder=\"Exam Type\"\n value={fexamtype}\n width={3}\n label=\"Exam Type\"\n readOnly\n />\n <Form.Input\n placeholder=\"Exam Date\"\n label=\"Exam Date\"\n width={10}\n value={fexamdate}\n readOnly\n />\n </Form.Group>\n <Form.Group>\n <Form.Input\n placeholder=\"Exam Range\"\n width={5}\n onChange={this.handleChange}\n value={fexamrange}\n name=\"fexamrange\"\n label=\"Exam Range\"\n error={fexamrangeError}\n disabled={disabled}\n />\n\n \n {/* <Form.Input placeholder='Starting Date' width={5} onChange={this.handleChange}\n label=\"Starting Date\" name=\"fstrdate\" value={fstrdate} error={fstrdateError}\n disabled={disabled} /> */}\n </Form.Group>\n\n\n <Button color=\"blue\" onClick={this.handlesubmit} >\n Submit\n </Button>\n </Form>\n </div> \n \n );\n }\n}\n\nconst mapStateToProps = state => { \n return {\n deggrp: state.deggrp,\n user: state.user\n };\n};\n\nexport default connect(\n mapStateToProps,\n {\n generateTimetable, \n fetchDegGrp,\n releasetimetable,\n getreleaseTimetable\n }\n)(ReleaseTimeTableForm);\n","import React from \"react\";\nimport { Card, Divider, Button, Table } from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport { fetchDegGrp } from \"../../../actions\";\nimport {\n cancelTimetable,\n saveExamtimetable,\n releaseTimeTable,\n changereleasetimetable,\n selectallchkbxrelease\n} from \"../../../actions/before-exam/timetable\";\nimport ReleaseTimeTableForm from \"./releaseform\";\nimport ReportTimetable from \"./report\";\nimport { Link } from \"react-router-dom\";\n\nclass ReleaseTimetable extends React.Component {\n state = {\n ttform: {},\n trrefs: [],\n open: false,\n frmDeggrp: \"\",\n frmdegree: \"\",\n deggrpError: false,\n degreeError: false,\n frmSubmit: false,\n table: false,\n rlsdisabled:false\n };\n\n componentDidMount() {\n this.props.fetchDegGrp();\n // this.tablehandle();\n }\n\n tabletru = () => { \n this.setState({\n table: true\n });\n }\n tablefls = () => { \n this.setState({\n table: false\n });\n }\n\n cancel = () => {\n this.child.cancel();\n this.props.cancelTimetable();\n this.setState({ frmSubmit: false, table: false });\n };\n\n show = dimmer => () => this.setState({ dimmer, open: true });\n\n close = (e, data) => {\n if (e.type == \"keydown\") return;\n this.setState({ open: false });\n };\n\n setFromValues = async values => {\n await this.setState({ ttform: values, frmSubmit: true });\n };\n\n releaseTimeTable = async () => {\n const data = await this.child.validateForm();\n if (data === undefined) return; \n this.setState({\n table: false\n });\n };\n\n deleteRow = (e, el, i) => { \n const data = { ...el, [e.target.name]: e.target.checked ? 'T' : 'F' }; \n this.props.changereleasetimetable(data, i);\n };\n\n selectall = (e) => {\n console.log(e.target.checked);\n console.log(this.props.timetable);\n this.props.selectallchkbxrelease(e.target.checked);\n }\n \n renderHeader = () => {\n return (\n <Card.Header style={{ display: \"flex\" }}>\n <h4>Release Time Table</h4>\n <div className=\"ml-auto\">\n <Button\n basic\n onClick={this.releaseTimeTable}\n color=\"green\"\n icon=\"share square\"\n content=\"Release\"\n />\n <Button\n basic\n onClick={this.cancel}\n color=\"black\"\n icon=\"times circle\"\n content=\"Cancel\"\n />\n {/* <Button\n onClick={this.show(\"blurring\")}\n basic\n color=\"blue\"\n content=\"Report\"\n icon=\"file\"\n /> */}\n <Link to=\"/dashboard\">\n <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\n </Link>\n </div>\n </Card.Header>\n );\n };\n\n render() {\n const { dimmer, open, table } = this.state;\n // this.state = { value: this.props.timetable }; \n console.log(this.props.timetable); \n \n return (\n <div className=\"animated fadeIn\">\n <Card fluid>\n <Card.Content>\n {this.renderHeader()}\n <Divider />\n <Card.Description style={{ height: \"72vh\", overflowY: \"auto\" }}>\n <div className=\"col-md-8 col-sm-9\">\n <ReleaseTimeTableForm\n setFromValues={this.setFromValues}\n onRef={ref => (this.child = ref)}\n tabletrue={this.tabletru}\n tablefalse={this.tablefls}\n />\n </div>\n <ReportTimetable open={open} dim={dimmer} close={this.close} />\n {table ? ( \n <div className=\"animated fadeIn\" > \n\n <div className=\"ui mini form\" >\n <Table celled padded selectable structured size=\"large\" color=\"olive\" style={{ marginTop:\"25px\" }}>\n <Table.Header style={{ fontSize:\"1.2em\" }}>\n <Table.Row>\n <Table.HeaderCell\n style={{ width: \"5%\" }}\n singleLine\n textAlign=\"center\"\n >\n <label>Sl. No.</label>\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"7%\" }}\n textAlign=\"center\"\n >\n <label>QP Code</label>\n </Table.HeaderCell> \n <Table.HeaderCell \n style={{ width: \"30%\"}}\n textAlign=\"center\">\n <label>Subject Name</label>\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"10%\" }}\n textAlign=\"center\"\n >\n <label>Date</label>\n </Table.HeaderCell> \n <Table.HeaderCell\n style={{ width: \"20%\" }}\n textAlign=\"center\"\n >\n <label>Timings</label>\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"5%\" }}\n textAlign=\"center\"\n >\n <label>Release</label> \n <div className=\"checkbox\">\n <input\n type=\"checkbox\"\n name=\"allfreeze\"\n onChange={e => this.selectall(e)}\n checked={this.props.timetable.rldisable}\n disabled={this.props.timetable.rldisable}\n />\n </div> \n </Table.HeaderCell>\n </Table.Row>\n </Table.Header>\n <Table.Body>\n {this.props.timetable.relarr.map((el,i) => { \n return(\n <Table.Row key={i}>\n <Table.Cell textAlign=\"center\">{i + 1}</Table.Cell>\n <Table.Cell textAlign=\"center\">{el.fqpcode}</Table.Cell>\n <Table.Cell textAlign=\"left\">{el.fsubname}</Table.Cell>\n <Table.Cell textAlign=\"center\">{el.fdate}</Table.Cell>\n <Table.Cell textAlign=\"center\">{el.fdescpn}</Table.Cell>\n <Table.Cell textAlign=\"center\">\n\n <div className=\"ui checkbox\">\n <input\n type=\"checkbox\" \n name=\"frelease\" \n onChange={e => this.deleteRow(e, el, i)}\n checked={el.frelease == \"T\" ? true : false}\n disabled={el.frelease == 'T' ? true : false}\n />\n <label> </label>\n </div> \n \n\n {/* <Button size='mini' color=\"red\" icon='trash' content=\"Delete\"/> */}\n </Table.Cell> \n \n </Table.Row>\n );\n })}\n \n \n </Table.Body>\n </Table>\n </div>\n \n </div>\n ): null }\n </Card.Description>\n </Card.Content>\n </Card>\n </div>\n );\n }\n}\n\nconst mapStateToProps = state => { \n console.log(state);\n return {\n deggrp: state.deggrp,\n timetable: state.releaseTimeTable\n };\n};\n// withRouter(connect(...)(MyComponent))\nexport default connect(\n mapStateToProps,\n {\n fetchDegGrp,\n saveExamtimetable,\n cancelTimetable,\n releaseTimeTable,\n changereleasetimetable,\n selectallchkbxrelease\n }\n)(ReleaseTimetable);\n","import React, { Component } from \"react\";\nimport { connect } from \"react-redux\";\nimport { Form, Dropdown } from \"semantic-ui-react\";\nimport { fetchDegGrp } from \"../../actions\";\n\nclass SelectDeggrp extends Component {\n componentDidMount() {\n this.props.fetchDegGrp();\n }\n\n componentDidUpdate(prevProps) {\n if (this.props.user !== prevProps.user) {\n this.props.fetchDegGrp();\n }\n }\n\n render() {\n const deggroup = this.props.deggrp;\n\n var deggroup_options = deggroup.map((el, i) => {\n return {\n key: i,\n value: el.fdeggrp,\n text: `${el.fdeggrp} - ${el.fdescpn}`,\n };\n });\n\n return (\n <Form.Field width=\"16\">\n <label>Degree Group</label>\n <Dropdown\n size=\"mini\"\n error={this.props.dgerror}\n fluid\n search\n selection\n value={this.props.frmDeggrp}\n onChange={this.props.changeDeggrp}\n placeholder=\"Select Degree Group\"\n disabled={this.props.disabled}\n openOnFocus={false}\n options={deggroup_options}\n selectOnBlur={false}\n // searchInput={{ autoFocus: true }}\n />\n </Form.Field>\n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n deggrp: state.deggrp,\n user: state.user,\n };\n};\n\nexport default connect(mapStateToProps, { fetchDegGrp })(SelectDeggrp);\n","import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\n\nexport const generateTimetable = (frmvalues) => {\n return async function (dispatch, getState) {\n const state = getState();\n\n dispatch({\n type: \"SET_LOADER\",\n });\n\n const response = await univadmin.post(\n \"/app.php?a=generateExamTimetable&univcode=\" + state.univ.funivcode,\n {\n data: {\n frmvalues: frmvalues,\n },\n }\n );\n\n dispatch({\n type: \"UNSET_LOADER\",\n });\n\n if (typeof response.data !== \"object\") {\n const data = {\n error_code: -1,\n data: { msg: \"Something went wrong\" },\n status: \"failure\",\n };\n dispatch({\n type: \"SET_ERROR\",\n payload: data,\n });\n } else {\n dispatch({\n type: \"SET_ERROR\",\n payload: response.data,\n });\n }\n };\n};\n\nexport const getupdateTimetable = (frmvalues) => {\n return async function (dispatch, getState) {\n const state = getState();\n console.log(frmvalues);\n\n dispatch({\n type: \"CANCEL_TIMETABLE\",\n });\n\n dispatch({\n type: \"SET_LOADER\",\n });\n\n // const response = await univadmin.post(\n // \"/app.php?a=getupdateTimetable&univcode=\" + state.univ.funivcode,\n // {\n // data: {\n // frmvalues: {\n // ...state.user,\n // fexamrange: frmvalues.fexamrange,\n // fdeggrp: frmvalues.fdeggrp,\n // fyear: frmvalues.fyear,\n // fexamtype: frmvalues.fexmtype,\n // fexamdate: frmvalues.fexamdate,\n // },\n // },\n // }\n // );\n console.log(frmvalues);\n\n const response = await univadmin.post(\n \"/app.php?a=getupdateTimetableUT&univcode=\" + state.univ.funivcode,\n {\n data: {\n frmvalues: {\n ...state.user,\n fexamrange: frmvalues.fexamrange,\n fdeggrp: frmvalues.fdeggrp,\n fyear: frmvalues.fyear,\n fexamtype: frmvalues.fexamtype,\n fexamdate: frmvalues.fexamdate,\n fdegree: frmvalues.fdegree,\n },\n },\n }\n );\n // console.log(response);\n // return;\n\n dispatch({\n type: \"UNSET_LOADER\",\n });\n\n if (typeof response.data !== \"object\") {\n const error = {\n header: \"Error\",\n content: \"Something went wrong\",\n };\n dispatch(showError(error));\n } else if (response.data.error_code === -1) {\n const error = {\n header: \"Error\",\n content: response.data.data.msg,\n };\n dispatch(showError(error));\n } else {\n dispatch({\n type: \"GENERATE_TIMETABLE\",\n payload: response.data,\n });\n }\n };\n};\n\nexport const loaddegreettm = (deggrp) => {\n return async function (dispatch, getState) {\n const state = getState();\n console.log(deggrp);\n\n dispatch({\n type: \"SET_LOADER\",\n });\n\n dispatch({\n type: \"DEL_FETCH_DEGREES_TTM\",\n });\n\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getdegreettm\",\n univcode: state.univ.funivcode,\n deggrp: deggrp,\n },\n });\n\n // const response = await univadmin.post(\n // \"/app.php?a=getdegreettm&univcode=\" +\n // state.univ.funivcode +\n // \"°grp=\" +\n // deggrp\n // );\n console.log(response);\n // return;\n\n dispatch({\n type: \"UNSET_LOADER\",\n });\n\n if (typeof response.data !== \"object\") {\n const error = {\n header: \"Error\",\n content: \"Something went wrong\",\n };\n dispatch(showError(error));\n } else if (response.data.error_code === -1) {\n const error = {\n header: \"Error\",\n content: response.data.data.msg,\n };\n dispatch(showError(error));\n } else {\n dispatch({\n type: \"FETCH_DEGREES_TTM\",\n payload: response.data,\n });\n }\n };\n};\n\nexport const saveExamtimetable = (timetable, parameters) => {\n return async function (dispatch, getState) {\n const state = getState();\n // const timetable = state.timetable.toJS();\n dispatch({\n type: \"SET_LOADER\",\n });\n const response = await univadmin.post(\n \"/app.php?a=saveExamTimetable&univcode=\" + state.univ.funivcode,\n {\n data: {\n timetable: timetable,\n params: parameters,\n user: state.user,\n },\n }\n );\n dispatch({\n type: \"UNSET_LOADER\",\n });\n // console.log(typeof response.data)\n if (typeof response.data !== \"object\") {\n const error = {\n header: \"Error\",\n content: \"Something went wrong\",\n };\n dispatch(showError(error));\n } else {\n const error = {\n header: \"Success\",\n content: response.data.data.msg,\n };\n dispatch(showError(error));\n }\n };\n};\n\nexport const saveExamtimetableUT = (timetable, parameters) => {\n return async function (dispatch, getState) {\n const state = getState();\n // const timetable = state.timetable.toJS();\n dispatch({\n type: \"SET_LOADER\",\n });\n const response = await univadmin.post(\n \"/app.php?a=saveExamTimetableUT&univcode=\" + state.univ.funivcode,\n {\n data: {\n timetable: timetable,\n params: parameters,\n user: state.user,\n },\n }\n );\n dispatch({\n type: \"UNSET_LOADER\",\n });\n // console.log(typeof response.data)\n if (typeof response.data !== \"object\") {\n const error = {\n header: \"Error\",\n content: \"Something went wrong\",\n };\n dispatch(showError(error));\n } else {\n const error = {\n header: \"Success\",\n content: response.data.data.msg,\n };\n dispatch(showError(error));\n }\n };\n};\n\nexport const releaseTimeTable = (parameters) => {\n return async function (dispatch, getState) {\n const state = getState();\n // const timetable = state.timetable.toJS();\n dispatch({\n type: \"SET_LOADER\",\n });\n const response = await univadmin.post(\n \"/app.php?a=releaseExamTimetable&univcode=\" + state.univ.funivcode,\n {\n data: {\n params: parameters,\n },\n }\n );\n dispatch({\n type: \"UNSET_LOADER\",\n });\n // console.log(typeof response.data)\n if (typeof response.data !== \"object\") {\n const data = {\n error_code: -1,\n data: { msg: \"Something went wrong\" },\n status: \"failure\",\n };\n dispatch({\n type: \"SET_ERROR\",\n payload: data,\n });\n } else {\n dispatch({\n type: \"SET_ERROR\",\n payload: response.data,\n });\n }\n };\n};\n\nexport const cancelTimetable = () => {\n return {\n type: \"CANCEL_TIMETABLE\",\n };\n};\n\nexport const getfreezeTimetable = (frz) => {\n return async function (dispatch, getState) {\n const state = getState();\n const fdeggrp = state.user.fdeggrp;\n\n dispatch({\n type: \"SET_LOADER\",\n });\n dispatch({\n type: \"CLEAR_FREEZE_TIME_TABLE\",\n });\n\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getfreezeTimetable\",\n univcode: state.univ.funivcode,\n dgp: frz.fdeggrp,\n year: frz.fyear,\n examtype: frz.fexamtype,\n examrange: frz.fexamrange,\n fcurtype: state.user.fcurtype,\n },\n });\n dispatch({\n type: \"UNSET_LOADER\",\n });\n\n if (typeof response.data !== \"object\") {\n const data = {\n error_code: -1,\n data: { msg: \"Something went wrong\" },\n status: \"failure\",\n };\n dispatch({\n type: \"SET_ERROR\",\n payload: data,\n });\n } else if (response.data.error_code === 0) {\n dispatch({\n type: \"GET_FREEZE_TIME_TABLE\",\n payload: response.data,\n });\n } else if (response.data.error_code === -1) {\n const error = {\n header: \"Error\",\n content: \"No data found for selected Exam Range..!\",\n };\n dispatch(showError(error));\n return -1;\n }\n };\n};\n\nexport const changefreezetimetable = (el, i) => {\n return {\n type: \"GET_FREEZE_TIME_TABLE_CHANGE\",\n payload: { el, i },\n };\n};\nexport const changereleasetimetable = (el, i) => {\n return {\n type: \"GET_RELEASE_TIME_TABLE_CHANGE\",\n payload: { el, i },\n };\n};\n\nexport const freezetimetable = (stt) => {\n return async function (dispatch, getState) {\n const state = getState();\n console.log(stt, state.freezeTimeTable);\n const fdeggrp = state.user.fdeggrp;\n\n dispatch({\n type: \"SET_LOADER\",\n });\n\n dispatch({\n type: \"UNSET_LOADER\",\n });\n\n const response = await univadmin.post(\n \"/app.php?a=freezetimetable&univcode=\" + state.univ.funivcode,\n {\n data: {\n dgp: stt.fdeggrp,\n year: stt.fyear,\n examtype: stt.fexamtype,\n examrange: stt.fexamrange,\n user: state.user.fname,\n tabledata: state.freezeTimeTable.frzarr,\n },\n }\n );\n\n if (typeof response.data !== \"object\") {\n const data = {\n error_code: -1,\n data: { msg: \"Something went wrong\" },\n status: \"failure\",\n };\n dispatch({\n type: \"SET_ERROR\",\n payload: data,\n });\n } else if (response.data.error_code === 0) {\n const error = { header: \"Success\", content: response.data.data.msg };\n dispatch(showError(error));\n }\n };\n};\n\nexport const selectallchkbx = (check) => {\n return {\n type: \"FREEZE_SELECT_ALL_CHECKBOX\",\n payload: check,\n };\n};\n\nexport const selectallchkbxrelease = (check) => {\n return {\n type: \"RELEASE_SELECT_ALL_CHECKBOX\",\n payload: check,\n };\n};\n\nexport const getreleaseTimetable = (frz) => {\n return async function (dispatch, getState) {\n const state = getState();\n const fdeggrp = state.user.fdeggrp;\n\n dispatch({\n type: \"SET_LOADER\",\n });\n dispatch({\n type: \"CLEAR_RELEASE_TIME_TABLE\",\n });\n\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getreleaseTimetable\",\n univcode: state.univ.funivcode,\n dgp: frz.fdeggrp,\n year: frz.fyear,\n examtype: frz.fexamtype,\n examrange: frz.fexamrange,\n },\n });\n dispatch({\n type: \"UNSET_LOADER\",\n });\n\n if (typeof response.data !== \"object\") {\n const data = {\n error_code: -1,\n data: { msg: \"Something went wrong\" },\n status: \"failure\",\n };\n dispatch({\n type: \"SET_ERROR\",\n payload: data,\n });\n } else if (response.data.error_code === 0) {\n console.log(response.data);\n dispatch({\n type: \"GET_RELEASE_TIME_TABLE\",\n payload: response.data,\n });\n } else if (response.data.error_code === -1) {\n const error = {\n header: \"Error\",\n content: \"No data found for selected Exam Range..! / Freezing Not Done\",\n };\n dispatch(showError(error));\n return -1;\n }\n };\n};\n\nexport const releasetimetable = (stt) => {\n return async function (dispatch, getState) {\n const state = getState();\n // console.log(stt,state.freezeTimeTable);\n const fdeggrp = state.user.fdeggrp;\n\n dispatch({\n type: \"SET_LOADER\",\n });\n\n dispatch({\n type: \"UNSET_LOADER\",\n });\n\n const response = await univadmin.post(\n \"/app.php?a=releasetimetable&univcode=\" + state.univ.funivcode,\n {\n data: {\n dgp: stt.fdeggrp,\n year: stt.fyear,\n examtype: stt.fexamtype,\n examrange: stt.fexamrange,\n user: state.user.fname,\n tabledata: state.releaseTimeTable.relarr,\n },\n }\n );\n\n if (typeof response.data !== \"object\") {\n const data = {\n error_code: -1,\n data: { msg: \"Something went wrong\" },\n status: \"failure\",\n };\n dispatch({\n type: \"SET_ERROR\",\n payload: data,\n });\n } else if (response.data.error_code === 0) {\n const error = { header: \"Success\", content: response.data.data.msg };\n dispatch(showError(error));\n } else if (response.data.error_code === -1) {\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n }\n };\n};\n","import React, { Component } from \"react\";\nimport {\n Button,\n Modal,\n Form,\n Message,\n Dropdown,\n Radio,\n Checkbox,\n} from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport SelectDeggrp from \"../../common/SelectDeggrp\";\nimport { ReportAPI } from \"../../../apis/consts\";\n\nclass ReportTimeTable extends Component {\n state = {\n deggrp: [],\n fdeggrp: \"\",\n fyear: \"\",\n fexamtype: \"\",\n fexamdate: \"\",\n fexamrange: \"ABCDEF\",\n deggrpError: false,\n frtype: \"QP Code Wise\",\n frtypes: [\"Error Report\", \"QP Code Wise\", \"Degree Wise\"],\n fexamrangeError: false,\n frtypeError: false,\n ferror: false,\n ferrorm: \"\",\n rftype: \"PDF Format\",\n emptydates: false,\n fdegfrom: \"0\",\n fdegto: \"ZZZZ\",\n };\n\n componentDidMount() {\n this.setState({ deggrp: this.props.deggrp });\n }\n\n componentDidUpdate(prevProps) {\n if (this.props.deggrp !== prevProps.deggrp) {\n this.setState({ deggrp: [...this.props.deggrp] });\n }\n }\n\n changeDeggrp = (e, data) => {\n let deggrpsel = this.state.deggrp.filter(\n (el, i) => el.fdeggrp === data.value\n );\n\n let deggrp = deggrpsel[0];\n\n this.setState({\n fyear: deggrp.fyear,\n fexamtype: deggrp.fexamtype,\n fexamdate: deggrp.fexamdate,\n fdeggrp: deggrp.fdeggrp,\n });\n };\n\n handleChange = (e, data) => {\n this.setState({ [data.name]: data.value });\n };\n\n generateReport = () => {\n const {\n fdeggrp,\n fexamrange,\n frtype,\n rftype,\n emptydates,\n fdegfrom,\n fdegto,\n } = this.state;\n\n if (fdeggrp == \"\") {\n this.setState({\n deggrpError: true,\n ferror: true,\n ferrorm: \"Degree Group required.\",\n });\n return;\n } else {\n this.setState({ deggrpError: false, ferror: false, ferrorm: \"\" });\n }\n\n if (fexamrange == \"\") {\n this.setState({\n fexamrangeError: true,\n ferror: true,\n ferrorm: \"Exam Range required.\",\n });\n return;\n } else {\n this.setState({ fexamrangeError: false, ferror: false, ferrorm: \"\" });\n }\n\n if (frtype == \"\") {\n this.setState({\n frtypeError: true,\n ferror: true,\n ferrorm: \"Report Type required.\",\n });\n return;\n } else {\n this.setState({ frtypeError: false, ferror: false, ferrorm: \"\" });\n }\n console.log(rftype);\n\n if (frtype === \"Error Report\")\n window.open(\n ReportAPI +\n \"GenerateExamTimetableError°grp=\" +\n this.state.fdeggrp +\n \"&univcode=\" +\n this.props.univ.funivcode +\n \"&examrange=\" +\n this.state.fexamrange,\n \"_blank\"\n );\n else if (frtype === \"Degree Wise\") {\n console.log(frtype, rftype);\n let ignore = emptydates ? \"T\" : \"F\";\n console.log(frtype, rftype, ignore);\n if (rftype == \"Excel Format\") {\n window.open(\n ReportAPI +\n \"examTimeTableDegreeWiseExcel°grp=\" +\n this.state.fdeggrp +\n \"&univcode=\" +\n this.props.univ.funivcode +\n \"&ignorett=\" +\n ignore +\n \"&fdegfrom=\" +\n fdegfrom +\n \"&fdegto=\" +\n fdegto +\n \"&examrange=\" +\n this.state.fexamrange,\n \"_blank\"\n );\n } else {\n window.open(\n ReportAPI +\n \"GenerateDGExamTimetable°grp=\" +\n this.state.fdeggrp +\n \"&univcode=\" +\n this.props.univ.funivcode +\n \"&ignorett=\" +\n ignore +\n \"&fdegfrom=\" +\n fdegfrom +\n \"&fdegto=\" +\n fdegto +\n \"&examrange=\" +\n this.state.fexamrange,\n \"_blank\"\n );\n }\n } else if (frtype === \"QP Code Wise\") {\n if (rftype == \"Excel Format\") {\n window.open(\n ReportAPI +\n \"examTimeTableQPWiseReportExcel°grp=\" +\n this.state.fdeggrp +\n \"&univcode=\" +\n this.props.univ.funivcode +\n \"&examrange=\" +\n this.state.fexamrange,\n \"_blank\"\n );\n } else {\n window.open(\n ReportAPI +\n \"GenerateQPExamTimetable°grp=\" +\n this.state.fdeggrp +\n \"&univcode=\" +\n this.props.univ.funivcode +\n \"&examrange=\" +\n this.state.fexamrange,\n \"_blank\"\n );\n }\n }\n };\n\n changecheckempty = (e, data) => {\n console.log(data.checked);\n this.setState({ emptydates: data.checked });\n };\n\n render() {\n const {\n fdeggrp,\n fyear,\n fexamtype,\n fexamdate,\n fexamrange,\n frtype,\n frtypes,\n deggrpError,\n fexamrangeError,\n frtypeError,\n ferror,\n ferrorm,\n rftype,\n emptydates,\n fdegfrom,\n fdegto,\n } = this.state;\n\n const report_options = frtypes.map((el, i) => {\n return { key: i, value: el, text: el };\n });\n return (\n <div>\n {/* <Modal style={{ height: \"50%\", top: \"28%\", left: \"28%\", width: \"50%\" }} */}\n <Modal\n style={{ maxHeight: \"60%\", width: \"50%\" }}\n dimmer={this.props.dim}\n open={this.props.open}\n onClose={this.props.close}\n closeOnDimmerClick={false}\n >\n <Modal.Header style={{ display: \"flex\" }}>\n Time Table Report\n <div className=\"ml-auto\">\n <Button\n basic\n color=\"blue\"\n content=\"Generate\"\n onClick={this.generateReport}\n icon=\"file pdf outline\"\n />\n <Button\n basic\n color=\"black\"\n icon=\"ban\"\n onClick={this.props.close}\n content=\"Cancel\"\n />\n </div>\n </Modal.Header>\n\n <Modal.Content style={{ height: \"50vh\", overflowY: \"auto\" }}>\n <Form error>\n {ferror ? <Message error content={ferrorm} /> : null}\n <SelectDeggrp\n changeDeggrp={this.changeDeggrp}\n frmDeggrp={fdeggrp}\n dgerror={deggrpError}\n />\n <Form.Group>\n <Form.Input\n placeholder=\"Exam Year\"\n value={fyear}\n width={4}\n label=\"Exam Year\"\n readOnly\n />\n <Form.Input\n placeholder=\"Exam Type\"\n value={fexamtype}\n width={3}\n label=\"Exam Type\"\n readOnly\n />\n <Form.Input\n placeholder=\"Exam Date\"\n label=\"Exam Date\"\n width={10}\n value={fexamdate}\n readOnly\n />\n </Form.Group>\n <label>\n <b>Report Type</b>\n </label>\n <Dropdown\n size=\"mini\"\n fluid\n search\n selection\n name=\"frtype\"\n value={frtype}\n onChange={this.handleChange}\n placeholder=\"Report Type\"\n label=\"Report Type\"\n error={frtypeError}\n options={report_options}\n />\n {frtype == \"Degree Wise\" ? (\n <Form.Group style={{ marginTop: \"10px\" }}>\n <Form.Input\n placeholder=\"From\"\n error={false}\n width={5}\n onChange={this.handleChange}\n value={fdegfrom}\n name=\"fdegfrom\"\n label=\"Degree Range\"\n error={fexamrangeError}\n />\n\n <Form.Input\n placeholder=\"To\"\n error={false}\n width={5}\n onChange={this.handleChange}\n value={fdegto}\n name=\"fdegto\"\n style={{ marginTop: \"22px\" }}\n error={fexamrangeError}\n />\n </Form.Group>\n ) : null}\n\n <Form.Group>\n <Form.Input\n placeholder=\"Exam Range\"\n error={false}\n width={5}\n onChange={this.handleChange}\n value={fexamrange}\n name=\"fexamrange\"\n label=\"Exam Range\"\n error={fexamrangeError}\n />\n </Form.Group>\n {/* <div className=\"ui checkbox\">\n <label> Neglect empty Dates </label>\n <input\n type=\"checkbox\"\n name=\"emptydates\"\n value={emptydates}\n onChange={(e) => this.changecheckempty(e)}\n checked={\"checked\"}\n />\n </div> */}\n {frtype == \"Degree Wise\" ? (\n <Checkbox\n onChange={(e, data) => this.changecheckempty(e, data)}\n value={emptydates}\n checked={emptydates}\n label=\"Ignore empty Dates\"\n />\n ) : null}\n <Form.Group inline>\n <Form.Field\n control={Radio}\n name=\"rftype\"\n label=\"PDF\"\n value=\"PDF Format\"\n checked={rftype === \"PDF Format\"}\n onChange={this.handleChange}\n />\n <Form.Field\n control={Radio}\n name=\"rftype\"\n label=\"EXCEL\"\n value=\"Excel Format\"\n checked={rftype === \"Excel Format\"}\n onChange={this.handleChange}\n />\n </Form.Group>\n </Form>\n </Modal.Content>\n </Modal>\n </div>\n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n deggrp: state.deggrp,\n univ: state.univ,\n };\n};\n\nexport default connect(mapStateToProps, {})(ReportTimeTable);\n\n// export default ReportTimeTable\n","\nfunction getToday() {\n var today = new Date();\n var dd = today.getDate();\n var mm = today.getMonth() + 1; //January is 0!\n var yyyy = today.getFullYear();\n\n if (dd < 10) {\n dd = '0' + dd;\n }\n\n if (mm < 10) {\n mm = '0' + mm;\n }\n\n today = dd + '/' + mm + '/' + yyyy;\n return today;\n}\n\nexport default getToday;"],"sourceRoot":""}
|