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.142.98.5
{"version":3,"sources":["pages/after-exam/rvMarksEntry/index.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","actions/practicals/practicals.js","actions/after-exam/valuation.js","pages/common/SelectSubBoard.js","actions/after-exam/rvMarksEntry.js"],"names":["RvMarksEntry","state","fboard","fdeggrp","fdeggrpfrm","_this","props","user","fdeggrpto","fboardfrm","fboardto","frmsubmit","onBoardChange","e","data","setState","value","changeDeggrpfrom","changeDeggrpto","changeBoardfrom","changeBoardto","handleReport","console","log","_this$props$user","fcuruniv","_this$state","teachersList","window","open","ReportAPI","JSON","stringify","showError","header","content","handleSubmit","_callee","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default","a","wrap","_context","prev","next","fetchQpStatistics","stop","this","getRVtable","prevProps","fetchQpBoard","wheight","wHeight","_this$state2","deggrp","frmSubmit","reportType","react__WEBPACK_IMPORTED_MODULE_8___default","createElement","className","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","fluid","Content","Header","style","display","react_router_dom__WEBPACK_IMPORTED_MODULE_9__","to","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","basic","color","icon","semantic_ui_react__WEBPACK_IMPORTED_MODULE_13__","Description","height","concat","overflowY","semantic_ui_react__WEBPACK_IMPORTED_MODULE_14__","celled","padded","selectable","structured","size","marginTop","fontSize","Row","HeaderCell","width","singleLine","textAlign","Body","rventrytable","map","el","i","key","Cell","fdocno","fdoctype","Object","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__","pathname","query","ifdocno","Component","connect","board","rvMarksEntry","fetchTeachBoard","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","n","classnames__WEBPACK_IMPORTED_MODULE_1__","classnames__WEBPACK_IMPORTED_MODULE_1___default","react__WEBPACK_IMPORTED_MODULE_2__","react__WEBPACK_IMPORTED_MODULE_2___default","_lib__WEBPACK_IMPORTED_MODULE_3__","_lib__WEBPACK_IMPORTED_MODULE_4__","_lib__WEBPACK_IMPORTED_MODULE_5__","_lib__WEBPACK_IMPORTED_MODULE_6__","Divider","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","rest","ElementType","isNil","handledProps","propTypes","__webpack_exports__","fetchPrDegrees","modtype","_ref","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default","mark","dispatch","getState","response","univadmin","get","params","univcode","univ","funivcode","sent","type","payload","error_code","msg","status","types","_x","_x2","apply","arguments","fetchPrSubs","fdegree","_ref2","_callee2","_context2","_x3","_x4","fetchSubPrBoard","_ref3","_callee3","_context3","_x5","_x6","fetchPrBatchDet","fsubcode","_ref4","_callee4","_context4","_x7","_x8","error","_error","stt","_error2","fexamno","Examno","valstats","changedeggrploadboard","_error3","fetchQpStatisticsSum","_error4","valsum","_ref5","_callee5","_error5","_context5","_x9","_x10","SelectSubBoard","board_options","fboardcode","text","fboardname","react__WEBPACK_IMPORTED_MODULE_5___default","semantic_ui_react__WEBPACK_IMPORTED_MODULE_7__","Field","semantic_ui_react__WEBPACK_IMPORTED_MODULE_8__","search","selection","onChange","placeholder","options","boards","getdocdetRV","docno","changemarks","chgqp","chgpkt","saveRVMarks","post","table","rvDocDet","pktno","fpacket","qpcode","fqpcode","history","push"],"mappings":"ySAmBMA,qNACJC,MAAQ,CAAEC,OAAQ,GAClBC,QAAU,GACVC,WAAYC,EAAKC,MAAMC,KAAKJ,Q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,EAAQ,CAAEpJ,OAAQ,QAASC,QAAS6G,EAASlI,KAAKA,KAAK6I,KAC7Db,EAAS7G,YAAUqJ,MAEbA,EAAQ,CAAEpJ,OAAQ,UAAWC,QAAS6G,EAASlI,KAAKA,KAAK6I,KAC/Db,EAAS7G,YAAUqJ,IACnB8C,IAAQC,KACN,6BAjCC,wBAAAzD,EAAA/H,SAAA8H,MAAP,gBAAAE,EAAAC,GAAA,OAAAJ,EAAAV,MAAAlH,KAAAmH,YAAA","file":"static/js/24.623d554f.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { connect } from \"react-redux\";\nimport { Card, Divider, Button, Form,Dropdown, Table } from \"semantic-ui-react\";\nimport { showError } from \"../../../actions\";\nimport {\n fetchQpBoard,\n fetchQpStatistics,\n fetchTeachBoard\n} from \"../../../actions/after-exam/valuation\";\nimport {\n getRVtable \n} from \"../../../actions/after-exam/rvMarksEntry\";\n\nimport { ReportAPI } from \"../../../apis/consts\";\nimport { wHeight } from \"../../parms\";\nimport SelectSubBoard from \"../../common/SelectSubBoard\";\n// import StatTable from \"./StatTable\";\n\nclass RvMarksEntry extends Component {\n state = { fboard: \"\", \n fdeggrp : \"\",\n fdeggrpfrm: this.props.user.fdeggrp,\n fdeggrpto: this.props.user.fdeggrp,\n fboardfrm: '0',\n fboardto: 'zzzzz',\n frmsubmit: false };\n\n componentDidMount() {\n this.props.getRVtable(this.props.user.fdeggrp); \n }\n\n componentDidUpdate(prevProps) {\n if (this.props.user.fdeggrp !== prevProps.user.fdeggrp) {\n this.props.fetchQpBoard(this.props.user.fdeggrp);\n }\n }\n\n onBoardChange = (e, data) => {\n this.setState({ fboard: data.value });\n };\n\n changeDeggrpfrom = (e, data) => {\n this.setState({ fdeggrpfrm: data.value });\n };\n\n changeDeggrpto = (e, data) => {\n this.setState({ fdeggrpto: data.value });\n };\n\n\n changeBoardfrom = (e, data) => {\n this.setState({ fboardfrm: data.value });\n };\n\n changeBoardto = (e, data) => {\n this.setState({ fboardto: data.value });\n };\n\n \n\n \n\n handleReport = () => {\n console.log(this.props);\n console.log(this.state);\n const { fdeggrp, fcuruniv } = this.props.user;\n const {\n teachersList, \n fboard ,\n fdeggrpfrm,\n fdeggrpto,\n fboardfrm,\n fboardto\n } = this.state;\n if (fdeggrp === \"\") {\n const error = { header: \"Error\", content: \"Select Degree Group\" };\n this.props.showError(error);\n return;\n }\n // https://universitysolutions.in/univadmin/app.php?a=teachersList&univcode=041°grp=UG&boardfrom=0000&boardto=zzzz\n window.open(\n ReportAPI +\n 'teachersList' +\n \"&univcode=\" +\n fcuruniv +\n \"&fboard=\" +\n fboard + \n \"&fdeggrpfrm=\" +\n fdeggrpfrm + \n \"&fdeggrpto=\" +\n fdeggrpto +\n \"&fboardfrm=\" +\n fboardfrm + \n \"&fboardto=\" +\n fboardto + \n \n \"&user=\" +\n JSON.stringify(this.props.user),\n \"_blank\"\n );\n };\n\n handleSubmit = async () => {\n this.setState({ frmsubmit: false });\n await this.props.fetchQpStatistics(this.state.fboard);\n this.setState({ frmsubmit: true });\n };\n\n render() {\n console.log(this.state);\n console.log(this.props);\n const wheight = wHeight();\n // console.log(this.props.deggrp[0].fdeggrp);\n // if(this.props.deggrp[0].fdeggrp != undefined){\n // const deggrp = this.props.deggrp[0].fdeggrp;\n // }\n\n const { deggrp,frmSubmit, fdeggrpfrm, fdeggrpto, fboardfrm, fboardto, reportType } = this.state;\n return (\n <div className=\"animated fadeIn\">\n <Card fluid>\n <Card.Content>\n <Card.Header style={{ display: \"flex\" }}>\n <h4>RV Marks Entry</h4>\n <div className=\"ml-auto\">\n \n <Link to=\"/dashboard\">\n <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\n </Link> \n </div>\n </Card.Header>\n <Divider />\n <Card.Description\n style={{ height: `${wheight}px`, overflowY: \"auto\" }}\n >\n\n <div className=\"animated fadeIn\" > \n\n <div className=\"ui mini form\" >\n <Table celled padded selectable structured size=\"small\" 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>Document No.</label>\n </Table.HeaderCell> \n <Table.HeaderCell \n style={{ width: \"20%\"}}\n textAlign=\"center\">\n <label>Document Type</label>\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"7%\" }}\n textAlign=\"center\"\n >\n <label>Action</label>\n </Table.HeaderCell> \n </Table.Row>\n </Table.Header>\n <Table.Body>\n {this.props.rventrytable.map((el,i) => {\n return(\n <Table.Row key={i}>\n <Table.Cell\n textAlign=\"center\"\n style={{ fontSize:\"1.2em\" }}\n >\n {i + 1}\n </Table.Cell> \n <Table.Cell \n textAlign=\"center\"\n style={{ fontSize:\"1.2em\" }}\n >\n {el.fdocno}\n </Table.Cell>\n <Table.Cell \n textAlign=\"left\"\n style={{ fontSize:\"1.2em\" }}\n >\n {el.fdoctype}\n </Table.Cell> \n <Table.Cell \n textAlign=\"center\"\n style={{ fontSize:\"0.5em\" }}\n textAlign=\"center\"\n >\n\n <Link\n to={{\n pathname: `/Detailed/${el.fdocno}`,\n query: {\n ifdocno: el.fdocno, \n },\n }}\n >\n <Button\n content=\"Detailed\"\n basic\n size=\"small\"\n // style={{ display: \"flex\" }}\n color=\"blue\"\n icon=\"print\"\n />\n </Link>\n \n </Table.Cell> \n </Table.Row>\n );\n })}\n \n </Table.Body>\n </Table>\n </div>\n \n </div>\n \n {/* {this.state.frmsubmit ? <StatTable /> : 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 user: state.user,\n board: state.board,\n deggrp: state.deggrp,\n rventrytable: state.rvMarksEntry\n };\n \n};\n\nexport default connect(\n mapStateToProps,\n { \n showError, \n fetchTeachBoard,\n fetchQpStatistics,\n getRVtable \n }\n)(RvMarksEntry);\n","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps, useKeyOnly } from '../../lib';\n/**\n * A divider visually segments content into groups.\n */\n\nfunction Divider(props) {\n var children = props.children,\n className = props.className,\n clearing = props.clearing,\n content = props.content,\n fitted = props.fitted,\n hidden = props.hidden,\n horizontal = props.horizontal,\n inverted = props.inverted,\n section = props.section,\n vertical = props.vertical;\n var classes = cx('ui', useKeyOnly(clearing, 'clearing'), useKeyOnly(fitted, 'fitted'), useKeyOnly(hidden, 'hidden'), useKeyOnly(horizontal, 'horizontal'), useKeyOnly(inverted, 'inverted'), useKeyOnly(section, 'section'), useKeyOnly(vertical, 'vertical'), 'divider', className);\n var rest = getUnhandledProps(Divider, props);\n var ElementType = getElementType(Divider, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\n\nDivider.handledProps = [\"as\", \"children\", \"className\", \"clearing\", \"content\", \"fitted\", \"hidden\", \"horizontal\", \"inverted\", \"section\", \"vertical\"];\nDivider.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n\n /** Primary content. */\n children: PropTypes.node,\n\n /** Additional classes. */\n className: PropTypes.string,\n\n /** Divider can clear the content above it. */\n clearing: PropTypes.bool,\n\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand,\n\n /** Divider can be fitted without any space above or below it. */\n fitted: PropTypes.bool,\n\n /** Divider can divide content without creating a dividing line. */\n hidden: PropTypes.bool,\n\n /** Divider can segment content horizontally. */\n horizontal: PropTypes.bool,\n\n /** Divider can have its colours inverted. */\n inverted: PropTypes.bool,\n\n /** Divider can provide greater margins to divide sections of content. */\n section: PropTypes.bool,\n\n /** Divider can segment content vertically. */\n vertical: PropTypes.bool\n} : {};\nexport default Divider;","import univadmin from \"../../apis/univadmin\";\nimport * as types from \"../../types\";\n\nexport const fetchPrDegrees = (deggrp, fboard, modtype) => {\n return async function(dispatch, getState) {\n const state = getState();\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getDegrees\",\n modtype: modtype,\n fboard: fboard,\n deggrp: state.user.fdeggrp,\n univcode: state.univ.funivcode\n }\n });\n\n if (typeof response.data !== \"object\") {\n const data = {\n error_code: -1,\n data: { msg: \"Something went wrong wile fetching Practical Degrees\" },\n status: \"failure\"\n };\n\n dispatch({\n type: \"SET_ERROR\",\n payload: data\n });\n } else if (response.data.error_code === -1) {\n dispatch({\n type: \"SET_ERROR\",\n payload: response.data\n });\n } else {\n dispatch({\n type: types.FETCH_DEGREES,\n payload: response.data\n });\n }\n };\n};\n\nexport const fetchPrSubs = (fdegree, fboard) => {\n return async function(dispatch, getState) {\n const state = getState();\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getPracticalSubjects\",\n fdegree: fdegree,\n fboard: fboard,\n univcode: state.univ.funivcode\n }\n });\n\n if (typeof response.data !== \"object\") {\n const data = {\n error_code: -1,\n data: { msg: \"Something went wrong wile fetching Practical Subjects\" },\n status: \"failure\"\n };\n\n dispatch({\n type: \"SET_ERROR\",\n payload: data\n });\n } else if (response.data.error_code === -1) {\n dispatch({\n type: \"SET_ERROR\",\n payload: response.data\n });\n } else {\n dispatch({\n type: \"FETCH_PRSUB\",\n payload: response.data\n });\n }\n };\n};\n\nexport const fetchSubPrBoard = fdeggrp => {\n return async function(dispatch, getState) {\n const state = getState();\n // console.log(fdeggrp);\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getPracticalBoards\",\n fdeggrp: fdeggrp,\n univcode: state.user.fcuruniv\n }\n });\n\n if (typeof response.data !== \"object\") {\n const data = {\n error_code: -1,\n data: { msg: \"Something went wrong wile fetching Practical Boards\" },\n status: \"failure\"\n };\n\n dispatch({\n type: \"SET_ERROR\",\n payload: data\n });\n } else if (response.data.error_code === -1) {\n dispatch({\n type: \"SET_ERROR\",\n payload: response.data\n });\n } else {\n dispatch({\n type: \"FETCH_BOARDS\",\n payload: response.data\n });\n }\n };\n};\n\nexport const fetchPrBatchDet = (fdeggrp, fboard, fdegree, fsubcode) => {\n return async function(dispatch, getState) {\n const state = getState();\n\n dispatch({\n type: \"SET_LOADER\"\n });\n\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getPracticalBatchDet\",\n fdeggrp: fdeggrp,\n fdegree: fdegree,\n fboard: fboard,\n fsubcode: fsubcode,\n univcode: state.univ.funivcode\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: {\n msg: \"Something went wrong wile fetching Practical Batch Details\"\n },\n status: \"failure\"\n };\n\n dispatch({\n type: \"SET_ERROR\",\n payload: data\n });\n } else if (response.data.error_code === -1) {\n dispatch({\n type: \"SET_ERROR\",\n payload: response.data\n });\n } else {\n dispatch({\n type: \"FETCH_PRBATCHDET\",\n payload: response.data\n });\n }\n };\n};\n","import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\n\nexport const fetchQpBoard = fdeggrp => {\n return async function(dispatch, getState) {\n const state = getState();\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getfboard\",\n deggrp: fdeggrp,\n univcode: state.user.fcuruniv\n }\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 = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n } else {\n dispatch({\n type: \"FETCH_BOARDS\",\n payload: response.data\n });\n }\n };\n};\n\nexport const fetchQpStatistics = stt => {\n return async function(dispatch, getState) {\n const state = getState();\n dispatch({\n type: \"SET_LOADER\"\n });\n dispatch({\n type: \"DELETE_QPSTATS\"\n });\n // console.log(stt);\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getscript\",\n deggrp: stt.fdeggrp,\n univcode: state.user.fcuruniv, \n fboard: stt.fboard,\n fexamno: stt.Examno,\n status: stt.valstats\n }\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 = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n } else {\n dispatch({\n type: \"FETCH_QPSTATS\",\n payload: response.data\n });\n }\n };\n};\n\nexport const changedeggrploadboard = deggrp => {\n return async function(dispatch, getState) {\n const state = getState(); \n dispatch({\n type: \"DELETE_QPSTATS\"\n });\n // console.log(stt);\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"loadboardvaluationstats\",\n deggrp: deggrp,\n univcode: state.user.fcuruniv \n }\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 = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n } else {\n dispatch({\n type: \"FETCH_BOARDS\",\n payload: response.data\n });\n }\n };\n};\n\nexport const fetchQpStatisticsSum = (stt) => {\n return async function(dispatch, getState) {\n const state = getState();\n dispatch({\n type: \"SET_LOADER\"\n });\n dispatch({\n type: \"DELETE_QPSTATS_SUM\"\n });\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getscriptSummary\",\n deggrp: stt.fdeggrp,\n univcode: state.user.fcuruniv,\n fexamno: stt.Examno,\n fboard: stt.fboard,\n status:stt.valsum\n }\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 = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n } else {\n dispatch({\n type: \"FETCH_QPSTATS_SUM\",\n payload: response.data\n });\n }\n };\n};\n\nexport const fetchTeachBoard = fdeggrp => {\n return async function(dispatch, getState) {\n const state = getState();\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getTeachfboard\",\n deggrp: fdeggrp,\n univcode: state.user.fcuruniv\n }\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 = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n } else {\n dispatch({\n type: \"FETCH_BOARDS\",\n payload: response.data\n });\n }\n };\n};\n","import React, { Component } from \"react\";\nimport { connect } from \"react-redux\";\nimport { Form, Dropdown } from \"semantic-ui-react\";\nimport { fetchSubPrBoard } from \"../../actions/practicals/practicals\";\n\nclass SelectSubBoard extends Component {\n render() {\n const board = this.props.board;\n\n const board_options = board.map((el, i) => {\n return {\n key: i,\n value: el.fboardcode,\n text: `${el.fboardcode} - ${el.fboardname}`\n };\n });\n\n return (\n <Form.Field>\n <label>Board</label>\n <Dropdown\n fluid\n search\n selection\n value={this.props.fboard}\n onChange={this.props.onBoardChange}\n placeholder=\"Select Board\"\n options={board_options}\n />\n </Form.Field>\n );\n }\n}\n\nconst mapStateToProps = state => {\n return { board: state.boards, user: state.user };\n};\n\nexport default connect(\n mapStateToProps,\n { fetchSubPrBoard }\n)(SelectSubBoard);\n","import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\nimport { history } from \"../registration/loginRegn\";\n\nexport const getRVtable = deggrp => {\n return async function(dispatch, getState) {\n const state = getState(); \n // dispatch({\n // type: \"DELETE_QPSTATS\"\n // });\n // console.log(stt);\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"loadrvmarksentrytable\",\n deggrp: deggrp,\n univcode: state.user.fcuruniv \n }\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 = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n } else {\n dispatch({\n type: \"RV_ENTRY\",\n payload: response.data\n });\n }\n };\n};\n\n\nexport const getdocdetRV = docno => {\n return async function(dispatch, getState) {\n const state = getState(); \n // dispatch({\n // type: \"DELETE_QPSTATS\"\n // });\n dispatch({\n type: \"SET_LOADER\"\n });\n console.log(docno);\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getdocdetRV\",\n univcode: state.user.fcuruniv,\n docno: docno, \n }\n }); \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 = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n } else {\n dispatch({\n type: \"GET_DOC_DET_RV\",\n payload: response.data\n });\n }\n };\n};\n\nexport const changemarks = (data, el, i) => {\n // console.log(el,i);\n return {\n type: \"RV_MARKS_CHANGE\",\n payload: { data, el, i }\n };\n};\n\nexport const chgqp = (data) => {\n // console.log(el,i);\n return {\n type: \"RV_MARKS_QPCODE_CHANGE\",\n payload: { data }\n };\n};\n\nexport const chgpkt = (data) => {\n // console.log(el,i);\n return {\n type: \"RV_MARKS_PACKET_CHANGE\",\n payload: { data }\n };\n};\n\n\n\nexport const saveRVMarks = (docno) => {\n return async function(dispatch, getState) {\n const state = getState(); \n // dispatch({\n // type: \"DELETE_QPSTATS\"\n // });\n\n const response = await univadmin.post(\n \"/app.php?a=saveRVMarks&univcode=\" + state.univ.funivcode,\n {\n data: {\n docno: docno, \n table: state.rvDocDet.table,\n pktno: state.rvDocDet.fpacket,\n qpcode: state.rvDocDet.fqpcode,\n user: state.user\n }\n }\n );\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 = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n } else {\n const error = { header: \"Success\", content: response.data.data.msg };\n dispatch(showError(error));\n history.push(\n \"/after-exam/rvMarksEntry\" \n );\n }\n };\n};\n\n\n\n\n\nexport const getEditdocdet = docno => {\n return async function(dispatch, getState) {\n const state = getState(); \n // dispatch({\n // type: \"DELETE_QPSTATS\"\n // });\n console.log(docno);\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getEditdocdet\",\n univcode: state.user.fcuruniv,\n docno: docno, \n }\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 = { header: \"Error\", content: response.data.data.msg };\n // dispatch(showError(error));\n } else {\n dispatch({\n type: \"GET_DOC_DET_RV_EDIT\",\n payload: response.data\n });\n }\n };\n};\n"],"sourceRoot":""}
|