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.149.29.192
{"version":3,"sources":["pages/omr/ViewQnEntry.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","actions/omr/OmrQnEntry.js"],"names":["ViewQnEntry","_Component","_getPrototypeOf2","_this","_classCallCheck","this","_len","arguments","length","args","Array","_key","_possibleConstructorReturn","_getPrototypeOf","call","apply","concat","componentDidMount","props","viewOmrMarksEnrtyDet","getOmrQpReport","qpcode","year","mode","window","open","ReportAPI","user","fcuruniv","_inherits","_createClass","key","value","_this2","React","createElement","Card","fluid","CardContent","Header","style","display","className","Link","to","Button","basic","color","icon","content","Divider","Description","height","overflowY","width","border","borderCollapse","backgroundColor","position","top","zIndex","textAlign","fontWeight","omrData","map","el","i","fqpcode","fyear","fexamtype","fexamdate","fmaxmarks","fmaxqn","pathname","size","onClick","Component","connect","state","console","log","_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__","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","Object","rest","ElementType","a","isNil","handledProps","propTypes","__webpack_exports__","_regeneratorRuntime","e","t","r","prototype","hasOwnProperty","o","defineProperty","Symbol","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","delegateYield","getOmrQpCode","_ref","_asyncToGenerator","_callee","dispatch","getState","response","error","_error","_context","univadmin","get","univ","funivcode","data","header","showError","error_code","msg","payload","_x","_x2","getOmrYearMode","_ref2","_callee2","_error2","_context2","_x3","_x4","saveOmrQnDet","formdata","_ref3","_callee3","_error3","Success","_context3","post","history","_x5","_x6","_ref4","_callee4","_error4","_context4","_x7","_x8","getOmrMCQQP","qnno","_ref5","_callee5","_error5","_context5","_x9","_x10","saveOmrQp","_ref6","_callee6","_context6","loading","_x11","_x12","uploadOmrFileHandlers","_ref7","_callee7","_context7","_x13","_x14"],"mappings":"mPAOMA,EAAW,SAAAC,GAAA,SAAAD,IAAA,IAAAE,EAAAC,EAAAC,YAAAC,KAAAL,GAAA,QAAAM,EAAAC,UAAAC,OAAAC,EAAA,IAAAC,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAAF,EAAAE,GAAAJ,UAAAI,GAkBd,OAlBcR,EAAAS,YAAAP,MAAAH,EAAAW,YAAAb,IAAAc,KAAAC,MAAAb,EAAA,CAAAG,MAAAW,OAAAP,MACfQ,kBAAoB,WAClBd,EAAKe,MAAMC,wBACZhB,EAEDiB,eAAiB,SAACC,EAAQC,EAAMC,GAC9BC,OAAOC,KACLC,IACE,2BAEAvB,EAAKe,MAAMS,KAAKC,SAChB,WACAP,EACA,SACAC,EACA,SACAC,IAELpB,EAwNA,OA1Oc0B,YAAA7B,EAAAC,GAkBd6B,YAAA9B,EAAA,EAAA+B,I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,IAEdD,EAAS,CACP5E,KAAM,eACLwI,EAAApG,KAAA,EAEoB8C,IAAU0B,KAC/B,6CAA+CpK,EAAM4I,KAAKC,UAC1DiB,GACD,OAHKxB,EAAQ0D,EAAA3G,KAKdpF,QAAQC,IAAIoI,GACZF,EAAS,CACP5E,KAAM,iBAGqB,kBAAlB8E,EAASQ,MACZP,EAAQ,CAAEQ,OAAQ,QAAS5K,QAAS,wBAC1CiK,EAASY,YAAUT,KAEnBH,EAAS,CACP5E,KAAM,oBACN2F,QAASb,EAASQ,KAAKA,KAAKI,MAE/B,wBAAA8C,EAAAvE,SAAAsE,MACF,gBAAAE,EAAAC,GAAA,OAAAJ,EAAA7P,MAAAV,KAAAE,YA1BD","file":"static/js/172.fd5b6e32.chunk.js","sourcesContent":["import React, { Component } from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport { Card, Button, Divider, CardContent } from \"semantic-ui-react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { viewOmrMarksEnrtyDet } from \"../../actions/omr/OmrQnEntry\";\r\nimport { ReportAPI } from \"../../apis/consts\";\r\n\r\nclass ViewQnEntry extends Component {\r\n componentDidMount = () => {\r\n this.props.viewOmrMarksEnrtyDet();\r\n };\r\n\r\n getOmrQpReport = (qpcode, year, mode) => {\r\n window.open(\r\n ReportAPI +\r\n \"getOmrQpReport\" +\r\n \"&univcode=\" +\r\n this.props.user.fcuruniv +\r\n \"&qpcode=\" +\r\n qpcode +\r\n \"&year=\" +\r\n year +\r\n \"&mode=\" +\r\n mode\r\n );\r\n };\r\n render() {\r\n return (\r\n <Card fluid>\r\n <CardContent>\r\n <Card.Header style={{ display: \"flex\" }}>\r\n <h4>OMR Question Entry</h4>\r\n <div className=\"ml-auto\">\r\n <Link to=\"/addOmrEntrydata\">\r\n <Button basic color=\"blue\" icon=\"plus\" content=\"Add\" />\r\n </Link>\r\n <Link to=\"/dashboard\">\r\n <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\r\n </Link>\r\n </div>\r\n </Card.Header>\r\n <Divider />\r\n <Card.Description>\r\n <div style={{ height: \"580px\", overflowY: \"auto\" }}>\r\n <table\r\n style={{\r\n width: \"100%\",\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n <thead\r\n style={{\r\n backgroundColor: \"tan\",\r\n border: \"1px solid grey\",\r\n height: \"40px\",\r\n position: \"sticky !important\",\r\n top: 0,\r\n zIndex: 2,\r\n textAlign: \"center\",\r\n fontWeight: \"bold\",\r\n color: \"#000\",\r\n }}\r\n >\r\n <tr style={{ height: \"30px\", textAlign: \"center\" }}>\r\n <th\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"8%\",\r\n }}\r\n >\r\n Sl. No\r\n </th>\r\n <th\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"16%\",\r\n }}\r\n >\r\n QP. Code\r\n </th>\r\n <th\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"8%\",\r\n }}\r\n >\r\n Year\r\n </th>\r\n <th\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"8%\",\r\n }}\r\n >\r\n Mode\r\n </th>\r\n <th\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"28%\",\r\n }}\r\n >\r\n Examdate\r\n </th>\r\n <th\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"8%\",\r\n }}\r\n >\r\n Max. Marks\r\n </th>\r\n <th\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"8%\",\r\n }}\r\n >\r\n Max. Qn.\r\n </th>\r\n <th\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"16%\",\r\n }}\r\n >\r\n Action\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n {this.props.omrData.map((el, i) => (\r\n <tr key={i} style={{ height: \"30px\", textAlign: \"center\" }}>\r\n <td\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n {i + 1}\r\n </td>\r\n <td\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n {el.fqpcode}\r\n </td>\r\n <td\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n {el.fyear}\r\n </td>\r\n <td\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n {el.fexamtype}\r\n </td>\r\n <td\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n {el.fexamdate}\r\n </td>\r\n <td\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n {el.fmaxmarks}\r\n </td>\r\n <td\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n {el.fmaxqn}\r\n </td>\r\n <td\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n <Link\r\n to={{\r\n pathname: `/addOmrEntry/${el.fqpcode}/${el.fyear}/${el.fexamtype}`,\r\n }}\r\n >\r\n <Button\r\n basic\r\n content=\"Edit\"\r\n icon=\"edit\"\r\n color=\"green\"\r\n size=\"tiny\"\r\n />\r\n </Link>\r\n <Button\r\n basic\r\n content=\"Report\"\r\n icon=\"file pdf outline\"\r\n color=\"blue\"\r\n size=\"tiny\"\r\n onClick={() =>\r\n this.getOmrQpReport(\r\n el.fqpcode,\r\n el.fyear,\r\n el.fexamtype\r\n )\r\n }\r\n />\r\n </td>\r\n </tr>\r\n ))}\r\n </tbody>\r\n </table>\r\n </div>\r\n </Card.Description>\r\n </CardContent>\r\n </Card>\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n console.log(state);\r\n return {\r\n user: state.user,\r\n omrData: state.viewOmrMarksEnrtyDet,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, {\r\n viewOmrMarksEnrtyDet,\r\n})(ViewQnEntry);\r\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}\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 /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Divider can clear the content above it. */\n clearing: PropTypes.bool,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand,\n /** Divider can be fitted without any space above or below it. */\n fitted: PropTypes.bool,\n /** Divider can divide content without creating a dividing line. */\n hidden: PropTypes.bool,\n /** Divider can segment content horizontally. */\n horizontal: PropTypes.bool,\n /** Divider can have its colours inverted. */\n inverted: PropTypes.bool,\n /** Divider can provide greater margins to divide sections of content. */\n section: PropTypes.bool,\n /** Divider can segment content vertically. */\n vertical: PropTypes.bool\n} : {};\nexport default Divider;","import univadmin from \"../../apis/univadmin\";\r\nimport { showError } from \"..\";\r\nimport { history } from \"../registration/loginRegn\";\r\n\r\nexport const getOmrQpCode = () => {\r\n return async (dispatch, getState) => {\r\n const state = getState();\r\n\r\n dispatch({\r\n type: \"SET_LOADER\",\r\n });\r\n\r\n const response = await univadmin.get(\r\n \"/app.php?a=getOmrQpCode&univcode=\" + state.univ.funivcode\r\n );\r\n\r\n console.log(response);\r\n dispatch({\r\n type: \"UNSET_LOADER\",\r\n });\r\n\r\n if (typeof response.data !== \"object\") {\r\n const error = { header: \"Error\", content: \"Something went wrong\" };\r\n dispatch(showError(error));\r\n } else if (response.data.error_code == -1) {\r\n const error = { header: \"Error\", content: response.data.data.msg };\r\n dispatch(showError(error));\r\n dispatch({\r\n type: \"CLEAR_OMR_QP\",\r\n payload: response.data.data,\r\n });\r\n } else {\r\n dispatch({\r\n type: \"GET_OMR_QP\",\r\n payload: response.data.data,\r\n });\r\n }\r\n };\r\n};\r\n\r\nexport const getOmrYearMode = (qpcode) => {\r\n return async (dispatch, getState) => {\r\n const state = getState();\r\n\r\n dispatch({\r\n type: \"SET_LOADER\",\r\n });\r\n\r\n const response = await univadmin.get(\r\n \"/app.php?a=getOmrYearMode&univcode=\" +\r\n state.univ.funivcode +\r\n \"&qpcode=\" +\r\n qpcode\r\n );\r\n\r\n console.log(response);\r\n dispatch({\r\n type: \"UNSET_LOADER\",\r\n });\r\n\r\n if (typeof response.data !== \"object\") {\r\n const error = { header: \"Error\", content: \"Something went wrong\" };\r\n dispatch(showError(error));\r\n } else if (response.data.error_code == -1) {\r\n const error = { header: \"Error\", content: response.data.data.msg };\r\n dispatch(showError(error));\r\n dispatch({\r\n type: \"CLEAR_OMR_YEAR_MODE\",\r\n payload: response.data.data,\r\n });\r\n } else {\r\n dispatch({\r\n type: \"GET_OMR_YEAR_MODE\",\r\n payload: response.data.data,\r\n });\r\n }\r\n };\r\n};\r\n\r\nexport const saveOmrQnDet = (formdata) => {\r\n return async (dispatch, getState) => {\r\n const state = getState();\r\n\r\n dispatch({\r\n type: \"SET_LOADER\",\r\n });\r\n\r\n const response = await univadmin.post(\r\n \"/app.php?a=saveOmrQnDet&univcode=\" + state.univ.funivcode,\r\n formdata\r\n );\r\n\r\n console.log(response);\r\n dispatch({\r\n type: \"UNSET_LOADER\",\r\n });\r\n\r\n if (typeof response.data !== \"object\") {\r\n const error = { header: \"Error\", content: \"Something went wrong\" };\r\n dispatch(showError(error));\r\n } else if (response.data.error_code == -1) {\r\n const error = { header: \"Error\", content: response.data.data.msg };\r\n dispatch(showError(error));\r\n } else {\r\n const Success = { header: \"Success\", content: response.data.data.msg };\r\n dispatch(showError(Success));\r\n history.push(\"/omrmqnentry\");\r\n }\r\n };\r\n};\r\n\r\nexport const viewOmrMarksEnrtyDet = () => {\r\n return async (dispatch, getState) => {\r\n const state = getState();\r\n\r\n dispatch({\r\n type: \"SET_LOADER\",\r\n });\r\n\r\n const response = await univadmin.get(\r\n \"/app.php?a=viewOmrMarksEnrtyDet&univcode=\" + state.univ.funivcode\r\n );\r\n\r\n console.log(response);\r\n dispatch({\r\n type: \"UNSET_LOADER\",\r\n });\r\n\r\n if (typeof response.data !== \"object\") {\r\n const error = { header: \"Error\", content: \"Something went wrong\" };\r\n dispatch(showError(error));\r\n } else if (response.data.error_code == -1) {\r\n const error = { header: \"Error\", content: response.data.data.msg };\r\n dispatch(showError(error));\r\n dispatch({\r\n type: \"CLEAR_OMR_DATA\",\r\n payload: response.data.data,\r\n });\r\n } else {\r\n dispatch({\r\n type: \"VIEW_OMR_DATA\",\r\n payload: response.data.data,\r\n });\r\n }\r\n };\r\n};\r\n\r\nexport const getOmrMCQQP = (qpcode, year, mode, qnno) => {\r\n return async (dispatch, getState) => {\r\n const state = getState();\r\n\r\n dispatch({\r\n type: \"SET_LOADER\",\r\n });\r\n\r\n const response = await univadmin.get(\r\n \"/app.php?a=getOmrMCQQP&univcode=\" +\r\n state.univ.funivcode +\r\n \"&qpcode=\" +\r\n qpcode +\r\n \"&year=\" +\r\n year +\r\n \"&mode=\" +\r\n mode +\r\n \"&qnno=\" +\r\n qnno\r\n );\r\n\r\n console.log(response);\r\n dispatch({\r\n type: \"UNSET_LOADER\",\r\n });\r\n\r\n if (typeof response.data !== \"object\") {\r\n const error = { header: \"Error\", content: \"Something went wrong\" };\r\n dispatch(showError(error));\r\n } else if (response.data.error_code == -1) {\r\n const error = { header: \"Error\", content: response.data.data.msg };\r\n dispatch(showError(error));\r\n dispatch({\r\n type: \"CLEAR_OMR_MCQ_DATA\",\r\n payload: response.data.data,\r\n });\r\n } else {\r\n dispatch({\r\n type: \"OMR_MCQ_DATA\",\r\n payload: response.data.data,\r\n });\r\n }\r\n };\r\n};\r\n\r\nexport const saveOmrQp = (formdata) => {\r\n return async (dispatch, getState) => {\r\n const state = getState();\r\n\r\n dispatch(loading(true));\r\n\r\n const response = await univadmin.post(\r\n \"/app.php?a=saveOmrQp&univcode=\" + state.univ.funivcode,\r\n formdata\r\n );\r\n\r\n dispatch(loading(false));\r\n\r\n if (typeof response.data !== \"object\") {\r\n const error = { header: \"Error\", content: \"Something went wrong\" };\r\n dispatch(showError(error));\r\n } else {\r\n dispatch({\r\n type: \"OMR_SAVE_QP_DATA\",\r\n payload: response.data.data.msg,\r\n });\r\n }\r\n };\r\n};\r\n\r\nconst loading = (value) => {\r\n return {\r\n type: \"LOADING\",\r\n payload: value,\r\n };\r\n};\r\n\r\nexport const uploadOmrFileHandlers = (formdata) => {\r\n return async (dispatch, getState) => {\r\n const state = getState();\r\n\r\n dispatch({\r\n type: \"SET_LOADER\",\r\n });\r\n\r\n const response = await univadmin.post(\r\n \"/app.php?a=uploadOmrFileHandlers&univcode=\" + state.univ.funivcode,\r\n formdata\r\n );\r\n\r\n console.log(response);\r\n dispatch({\r\n type: \"UNSET_LOADER\",\r\n });\r\n\r\n if (typeof response.data !== \"object\") {\r\n const error = { header: \"Error\", content: \"Something went wrong\" };\r\n dispatch(showError(error));\r\n } else {\r\n dispatch({\r\n type: \"OMR_FILE_HANDLERS\",\r\n payload: response.data.data.msg,\r\n });\r\n }\r\n };\r\n};\r\n"],"sourceRoot":""}
|