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 : 13.59.195.78
{"version":3,"sources":["pages/dispatchmarkscardclg/dispatchmarkscardsearch.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","actions/dispatchmarkscard/dispatchmarkscardform.js"],"names":["DispatchMarkscdSearch","state","college","examno","degfrom","degto","regfrom","regto","table","activeIndex","issuetoclg","changeTabIndex","e","_ref","_this","setState","handleChangedegfrom","_callee","data","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default","a","wrap","_context","prev","next","subfrom","value","stop","handleCancel","_callee2","_context2","handleChangeexamno","_callee3","_context3","toUpperCase","handleChangeCollege","_callee4","_context4","_callee5","_context5","handleChangedegto","_callee6","_context6","handleChangeregfrom","_callee7","_context7","handleChangeregto","_callee8","_context8","changeCell","el","i","newdata","type","checked","Object","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__","name","props","changeDispClg","selectallsentclg","console","log","target","selectallchkbxsentclg","handleSubmit","_callee9","_this$state","error","_context9","header","content","showError","abrupt","getDispatchmksdatasearch","changecenter","datan","changecenterpractical","handleChangeissueto","_callee10","_context10","handleSave","_callee11","_error","updatedmarksdispclg","_context11","dispatchMarkscardTable","updatemarkscarddispclg","getDispDetailsclg","handleReportsearch","_this$props$user","user","fdeggrp","fcuruniv","window","open","ReportAPI","fcollcode","fexamno","fdegree","first","end","renderHeader","react__WEBPACK_IMPORTED_MODULE_9___default","createElement","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","Header","style","display","className","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","basic","color","icon","onClick","react_router_dom__WEBPACK_IMPORTED_MODULE_10__","to","this","getDispCollegelist","_this2","_this$state2","reporttype","Examno","degree","clgfrom","wheight","wHeight","collegeOptions","collegelist","map","item","text","concat","fcollname","fluid","Content","semantic_ui_react__WEBPACK_IMPORTED_MODULE_13__","Description","overflowY","overflowX","height","semantic_ui_react__WEBPACK_IMPORTED_MODULE_14__","Group","Field","width","semantic_ui_react__WEBPACK_IMPORTED_MODULE_15__","placeholder","selection","search","options","onChange","Input","maxLength","marginTop","semantic_ui_react__WEBPACK_IMPORTED_MODULE_16__","celled","padded","selectable","structured","size","fontSize","Row","HeaderCell","singleLine","textAlign","Body","key","Cell","count","padding","Component","connect","dispCollegeList","dispatchMarkscardClg","dispatchdetailsclg","dispatchDetailsCLG","_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__","getDispatchmksdata","clgto","_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","univ","funivcode","sent","error_code","msg","payload","_x","_x2","apply","arguments","changeDet","updatemarkscarddisp","updatedmarksdisp","issueto","_ref2","_error2","_error3","post","univcode","fname","updmcdisp","status","_x3","_x4","_ref3","_error4","_x5","_x6","getDispatchmksdataclg","_ref4","_error5","_x7","_x8","_ref5","_error6","_error7","updmcdispclg","_x9","_x10","getDispDetails","_ref6","_x11","_x12","selectallchkbxsent","check","_ref7","_x13","_x14","_ref8","_error8","_x15","_x16"],"mappings":"4TAmBMA,6MACFC,MAAQ,CACJC,QAAS,GACTC,OAAQ,GACRC,QAAS,IACTC,MAAO,QACPC,QAAS,IACTC,MAAO,QACPC,OAAO,EACPC,YAAa,EACbC,WAAW,MAQfC,eAAiB,SAACC,EAADC,GAAwB,IAAlBJ,EAAkBI,EAAlBJ,YACrBK,EAAKC,SAAS,CAAEN,YAAaA,OAG/BO,0DAAsB,SAAAC,EAAOL,EAAEM,GAAT,OAAAC,EAAAC,EAAAC,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,OACpBV,EAAKC,SAAS,CACZU,QAAQP,EAAKQ,QAFK,wBAAAJ,EAAAK,SAAAV,gEAMtBW,mDAAe,SAAAC,EAAOjB,EAAEM,GAAT,OAAAC,EAAAC,EAAAC,KAAA,SAAAS,GAAA,cAAAA,EAAAP,KAAAO,EAAAN,MAAA,OACbV,EAAKC,SAAS,CACZZ,OAAQ,GACRC,QAAS,IACTC,MAAO,OACPC,QAAS,IACTC,MAAO,QACPL,QAAQ,GACRM,OAAO,EACPE,WAAW,KATA,wBAAAoB,EAAAH,SAAAE,gEAafE,yDAAqB,SAAAC,EAAMpB,EAAEM,GAAR,OAAAC,EAAAC,EAAAC,KAAA,SAAAY,GAAA,cAAAA,EAAAV,KAAAU,EAAAT,MAAA,OACnBV,EAAKC,SAAS,CACZZ,OAAOe,EAAKQ,MAAMQ,gBAFD,wBAAAD,EAAAN,SAAAK,gEAOrBG,0DAAsB,SAAAC,EAAOxB,EAAEM,GAAT,OAAAC,EAAAC,EAAAC,KAAA,SAAAgB,GAAA,cAAAA,EAAAd,KAAAc,EAAAb,MAAA,OACpBV,EAAKC,SAAS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AH,EAAAxC,MAAAzG,KAAA0G,YAAA","file":"static/js/105.b76c1e7b.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { Card, Button, Form, Table, Dropdown, Divider,Tab } from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport { fetchDegGrp } from \"../../actions\";\nimport { ReportAPI } from \"../../apis/consts\";\nimport { showError } from \"../../actions\";\nimport { wHeight } from \"../parms\";\nimport \n{ \n getDispCollegelist,\n getDispatchmksdatasearch,\n changeDispClg,\n updatemarkscarddispclg,\n getDispDetailsclg,\n selectallchkbxsentclg\n} \nfrom \"../../actions/dispatchmarkscard/dispatchmarkscardform\";\n\nclass DispatchMarkscdSearch extends Component{ \n state = {\n college: '',\n examno: \"\", \n degfrom: \"0\",\n degto: \"ZZZZZ\",\n regfrom: \"0\",\n regto: \"ZZZZZ\", \n table :false,\n activeIndex: 0,\n issuetoclg:''\n };\n\n componentDidMount() { \n this.props.getDispCollegelist();\n this.props.getDispDetailsclg();\n }\n\n changeTabIndex = (e, { activeIndex }) => {\n this.setState({ activeIndex: activeIndex });\n };\n\n handleChangedegfrom = async (e,data) => { \n this.setState({ \n subfrom:data.value, \n })\n }\n\n handleCancel = async (e,data) => { \n this.setState({ \n examno: \"\", \n degfrom: \"0\",\n degto: \"ZZZZ\",\n regfrom: \"0\",\n regto: \"ZZZZZ\", \n college:\"\", \n table :false,\n issuetoclg:''\n });\n }\n\n handleChangeexamno = async(e,data) =>{\n this.setState({ \n examno:data.value.toUpperCase(), \n })\n } \n \n\n handleChangeCollege = async (e,data) => { \n this.setState({ \n college: data.value,\n examno: \"\", \n degfrom: \"0\",\n degto: \"ZZZZ\",\n regfrom: \"0\",\n regto: \"ZZZZZ\",\n issuetoclg:'' \n })\n } \n \n handleChangedegfrom = async (e,data) => { \n this.setState({ \n degfrom:data.value.toUpperCase(), \n })\n }\n \n handleChangedegto = async (e,data) => { \n this.setState({ \n degto:data.value.toUpperCase(), \n })\n }\n\n handleChangeregfrom = async (e,data) => { \n this.setState({ \n regfrom:data.value.toUpperCase(), \n })\n }\n \n handleChangeregto = async (e,data) => { \n this.setState({ \n regto:data.value.toUpperCase(), \n })\n }\n\n changeCell = (data, el, i) => { \n let newdata = {}; \n if (data.type == \"checkbox\") {\n const value = data.checked ? \"T\" : \"F\";\n newdata = { ...el, [data.name]: value };\n this.props.changeDispClg(newdata, i);\n } \n };\n selectallsentclg = (e) => {\n console.log(e.target.checked); \n this.props.selectallchkbxsentclg(e.target.checked);\n }\n\n\n handleSubmit = async () => {\n const {\n college,\n examno,\n degfrom,\n degto,\n table,\n regfrom,\n regto\n } = this.state;\n\n if( this.state.college == '' ){\n const error = { header: \"Error\", content: \"Select College\" };\n this.props.showError(error);\n return;\n }\n\n await this.props.getDispatchmksdatasearch(\n college,\n examno,\n degfrom,\n degto,\n table,\n regfrom,\n regto \n );\n this.setState({ table: true });\n };\n\n \n changecenter = (data, el, i) => { \n let datan = {};\n console.log(data,el,i);\n // this.setState({ fnewsub: el.value });\n datan = { ...el, [data.name]: data.value };\n this.props.changecenterpractical(datan, i);\n };\n\n handleChangeissueto = async(e,data) =>{\n this.setState({ \n issuetoclg:data.value, \n })\n };\n \n \n handleSave = async () => {\n\n if( this.state.table != true ){\n const error = { header: \"Error\", content: \"No changes to save \" };\n this.props.showError(error);\n return;\n } \n\n if( this.state.issuetoclg == '' ){\n const error = { header: \"Error\", content: \"Enter Issue to \" };\n this.props.showError(error);\n return;\n } \n const updatedmarksdispclg = this.props.dispatchMarkscardTable; \n \n await this.props.updatemarkscarddispclg( \n updatedmarksdispclg,\n this.state.examno, \n this.state.college, \n this.state.degfrom,\n this.state.degto,\n this.state.issuetoclg,\n this.state.regfrom,\n this.state.regto \n );\n this.props.getDispDetailsclg();\n this.handleCancel();\n this.setState({ activeIndex: 1 });\n \n }\n\n handleReportsearch = (e) => { \n console.log(e); \n\n const { fdeggrp,fcuruniv } = this.props.user;\n // const {\n // college,\n // examno,\n // degfrom,\n // degto,\n // table\n // } = this.state;\n // console.log(this.state);\n // return;\n // if (degfrom === \"\") {\n // const error = { header: \"Error\", content: \"Select Degree Group\" };\n // this.props.showError(error);\n // return;\n // }\n window.open(\n ReportAPI +\n \"DispMarksReportSearch\" +\n \"&college=\" + \n e.fcollcode +\n \"&univcode=\" +\n fcuruniv +\n \"°grp=\" +\n fdeggrp +\n \"&examno=\" +\n e.fexamno +\n \"°from=\" +\n e.fdegree +\n \"°to=\" +\n e.fdegree +\n \"&fmcfirst=\" +\n e.first +\n \"&fmclast=\" +\n e.end + \n \"&format=\" +\n \"PDF\",\n \"_blank\"\n );\n };\n\n\n\n renderHeader = () => {\n return(\n <Card.Header style={{ display: \"flex\"}}>\n <h3>Dispatch Marks Card (Search)</h3>\n <div className = \"ml-auto\">\n {/* <Button\n basic\n color=\"green\"\n icon=\"save\"\n content=\"Save\"\n onClick={this.handleSave}\n /> */}\n <Button\n basic\n color=\"black\"\n icon=\"ban\"\n content=\"Cancel\"\n onClick={this.handleCancel}\n />\n <Link to=\"/dashboard\">\n <Button \n basic \n color=\"red\" \n content=\"Exit\"\n icon=\"home\"\n />\n </Link>\n </div>\n </Card.Header>\n )\n\n }\n\nrender() {\n const {\n college,\n examno, \n degfrom,\n degto,\n reporttype,\n Examno,\n degree,\n clgfrom, \n table,\n issuetoclg,\n regfrom,\n regto\n } = this.state;\n const wheight = wHeight(); \n\n \n\n\n\n\n\n\n const collegeOptions = this.props.collegelist.map(item => {\n return {\n value: item.fcollcode,\n text: `${item.fcollcode}- ${item.fcollname}`\n };\n });\n\n return(\n <div className=\"animated fadeIn\">\n <Card fluid>\n <Card.Content>\n {this.renderHeader()} \n <Divider />\n <Card.Description\n style={{ overflowY: \"auto\",overflowX: \"hidden\", height: `${wheight}px` }}\n >\n <div className=\"col-md-8\">\n <Form> \n \n <div> \n <Form.Group>\n <Form.Field width={12}>\n <label>College</label>\n <Dropdown\n placeholder=\"College range\"\n name=\"college\"\n value={college}\n selection\n search\n options={collegeOptions}\n onChange={this.handleChangeCollege}\n /> \n </Form.Field> \n </Form.Group> \n\n <Form.Group>\n <Form.Field width={6}>\n <label>Degree range</label>\n <Form.Input\n //formatChars={formatChars}\n type=\"text\"\n value={degfrom}\n //mask=\"\"\n maxLength={8}\n placeholder=\"Degree \"\n name=\"degfrom\"\n onChange={this.handleChangedegfrom}\n /> \n </Form.Field> \n <Form.Field width={6}> \n <Form.Input \n type=\"text\"\n value={degto} \n maxLength={8}\n placeholder=\"Degree \"\n name=\"degto\"\n style={{ marginTop:\"1.6em\" }}\n onChange={this.handleChangedegto}\n />\n </Form.Field>\n </Form.Group>\n\n <Form.Group>\n <Form.Field width={6}>\n <label>Regno. range</label>\n <Form.Input\n //formatChars={formatChars}\n type=\"text\"\n value={regfrom}\n //mask=\"\"\n maxLength={8}\n placeholder=\"Regno. \"\n name=\"regfrom\"\n onChange={this.handleChangeregfrom}\n /> \n </Form.Field> \n <Form.Field width={6}> \n <Form.Input \n type=\"text\"\n value={regto} \n maxLength={8}\n placeholder=\"Regno.\"\n name=\"regto\"\n style={{ marginTop:\"1.6em\" }}\n onChange={this.handleChangeregto}\n />\n </Form.Field>\n </Form.Group>\n \n\n\n <Form.Group>\n <Form.Field width={6}>\n <label>Exam No. range</label>\n <Form.Input\n //formatChars={formatChars}\n type=\"text\"\n value={examno}\n //mask=\"\"\n maxLength={8}\n placeholder=\"Exam No.\"\n name=\"examno\"\n onChange={this.handleChangeexamno}\n /> \n </Form.Field> \n </Form.Group>\n \n \n \n </div> \n <Button color=\"blue\" onClick={this.handleSubmit}>\n Submit\n </Button>\n\n <br />\n </Form>\n </div> \n\n {table == true ? ( \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: \"3%\" }}\n singleLine\n textAlign=\"center\"\n >\n <label>Sl. No.</label>\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"5%\" }}\n textAlign=\"center\"\n >\n <label>Degree</label>\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"5%\" }}\n textAlign=\"center\"\n >\n <label>Exam No.</label>\n </Table.HeaderCell> \n <Table.HeaderCell\n style={{ width: \"7%\" }}\n textAlign=\"center\"\n >\n <label>St. MC. No.</label>\n </Table.HeaderCell> \n <Table.HeaderCell\n style={{ width: \"7%\" }}\n textAlign=\"center\"\n >\n <label>Ending MC Number</label>\n </Table.HeaderCell> \n <Table.HeaderCell\n style={{ width: \"7%\" }}\n textAlign=\"center\"\n >\n <label>Number of Markscard</label>\n </Table.HeaderCell> \n <Table.HeaderCell\n style={{ width: \"7%\" }}\n textAlign=\"center\"\n >\n <label>Download</label> \n </Table.HeaderCell> \n </Table.Row>\n </Table.Header>\n <Table.Body>\n {this.props.dispatchMarkscardTable.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.fdegree}\n </Table.Cell>\n <Table.Cell \n textAlign=\"center\"\n style={{ fontSize:\"1.2em\" }}\n >\n {el.fexamno}\n </Table.Cell> \n <Table.Cell \n textAlign=\"center\"\n style={{ fontSize:\"1.2em\" }}\n >\n {el.first}\n </Table.Cell>\n <Table.Cell \n textAlign=\"center\"\n style={{ fontSize:\"1.2em\" }}\n >\n {el.end}\n </Table.Cell>\n <Table.Cell \n textAlign=\"center\"\n style={{ fontSize:\"1.2em\" }}\n >\n {el.count}\n </Table.Cell> \n <Table.Cell\n style={{ padding: \"0px 0px\" }}\n textAlign=\"center\"\n >\n <Button\n basic\n color=\"blue\"\n icon=\"print\"\n content=\"Report\"\n onClick={() => this.handleReportsearch(el)}\n /> \n \n </Table.Cell> \n </Table.Row>\n );\n })}\n \n </Table.Body>\n </Table>\n </div>\n \n </div>\n ): null }\n \n\n \n\n\n\n </Card.Description>\n </Card.Content>\n </Card>\n </div>\n )\n }\n}\n\nconst mapStateToProps = state => {\n console.log(state);\n return {\n collegelist:state.dispCollegeList,\n user: state.user,\n dispatchMarkscardTable: state.dispatchMarkscardClg,\n dispatchdetailsclg:state.dispatchDetailsCLG\n\n \n \n };\n};\n\nexport default connect(\n mapStateToProps,\n { \n showError, \n getDispCollegelist,\n getDispatchmksdatasearch,\n changeDispClg,\n updatemarkscarddispclg,\n getDispDetailsclg,\n selectallchkbxsentclg\n }\n)(DispatchMarkscdSearch);","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 { showError } from \"../index\";\n\n\n\n\nexport const getDispatchmksdata = ( \n examno,\n clgfrom,\n clgto,\n degfrom,\n degto,\n degree ) => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state);\n\n dispatch({\n type: \"CLEAR_DISPATCH_MARKSCARD\" \n });\n\n\n const response = await univadmin.get(\n \"app.php?a=getDispatchmksdata&univcode=\" + state.univ.funivcode + \n \"&fcollcode=\" + state.user.fcollcode + \n \"°from=\" + degfrom +\n \"°to=\" + degto +\n \"&examno=\" + examno + \n \"&clgfrom=\" + clgfrom +\n \"&clgto=\" + clgto \n );\n\n if (typeof response.data !== \"object\") {\n const error = { header: \"Error\", content: \"Something went wrong\" };\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 console.log(response.data);\n dispatch({\n type: \"DISPATCH_MARKSCARD\",\n payload: response.data\n });\n }\n };\n};\n\nexport const changeDet = (el, i) => {\n console.log(el,i);\n return {\n type: \"DISPATCH_MARKSCARD_CHANGE\",\n payload: { el, i }\n };\n};\n\n\nexport const updatemarkscarddisp = (\n updatedmarksdisp,\n examno,\n clgfrom,\n clgto,\n degfrom,\n degto,\n degree,\n issueto\n ) => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(updatedmarksdisp, clgfrom, degfrom);\n // const myObjStr = JSON.stringify(newDateMaster); \n \n dispatch({\n type: \"SET_LOADER\"\n });\n const response = await univadmin.post(\n \"/app.php?a=updatemarkscarddisp&univcode=\" + state.univ.funivcode,\n {\n data: {\n fdeggrp: state.univ.fdeggrp,\n univcode: state.univ.funivcode,\n user: state.user.fname,\n updmcdisp: updatedmarksdisp,\n examno: examno,\n clgfrom: clgfrom,\n clgto: clgto,\n degfrom: degfrom,\n degto: degto,\n degree: degree,\n issueto: issueto\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 if (response.data.error_code === -1) {\n console.log(response.data);\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n // dispatch({\n // type: \"SET_ERROR\",\n // payload: response.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{\n const error = { header: \"Error\", content: \"Something went wrong\" };\n dispatch(showError(error));\n }\n };\n};\n\n\n\n\n\nexport const getDispCollegelist = () => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state);\n\n\n const response = await univadmin.get(\n \"app.php?a=getDispCollegelist&univcode=\" + state.univ.funivcode + \n \"&fcollcode=\" + state.user.fcollcode + \n \"&fdeggrp=\" + state.user.fdeggrp\n );\n\n if (typeof response.data !== \"object\") {\n const error = { header: \"Error\", content: \"Something went wrong\" };\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 console.log(response.data);\n dispatch({\n type: \"DISP_COLLEGE_LIST\",\n payload: response.data\n });\n }\n };\n};\n\n\n\nexport const getDispatchmksdataclg = ( \n college,\n examno,\n degfrom,\n degto,\n table ) => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state);\n\n dispatch({\n type: \"CLEAR_DISPATCH_MARKSCARD_CLG\" \n });\n\n\n const response = await univadmin.get(\n \"app.php?a=getDispatchmksdataclg&univcode=\" + state.univ.funivcode + \n \"&fcollcode=\" + state.user.fcollcode + \n \"°from=\" + degfrom +\n \"°to=\" + degto +\n \"&examno=\" + examno + \n \"&college=\" + college \n );\n\n if (typeof response.data !== \"object\") {\n const error = { header: \"Error\", content: \"Something went wrong\" };\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 console.log(response.data);\n dispatch({\n type: \"DISPATCH_MARKSCARD_CLG\",\n payload: response.data\n });\n }\n };\n};\n\n\nexport const changeDispClg = (el, i) => {\n console.log(el,i);\n return {\n type: \"DISPATCH_MARKSCARD_CLG_CHANGE\",\n payload: { el, i }\n };\n};\n\n\n\n\n\n\nexport const updatemarkscarddispclg = (\n updatedmarksdispclg,\n examno,\n college, \n degfrom,\n degto,\n issueto \n \n ) => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(updatedmarksdispclg, college, degfrom);\n // const myObjStr = JSON.stringify(newDateMaster); \n \n dispatch({\n type: \"SET_LOADER\"\n });\n const response = await univadmin.post(\n \"/app.php?a=updatemarkscarddispclg&univcode=\" + state.univ.funivcode,\n {\n data: {\n fdeggrp: state.univ.fdeggrp,\n univcode: state.univ.funivcode,\n user: state.user.fname,\n updmcdispclg: updatedmarksdispclg,\n examno: examno,\n college: college, \n degfrom: degfrom,\n degto: degto,\n issueto: issueto \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 if (response.data.error_code === -1) {\n console.log(response.data);\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n // dispatch({\n // type: \"SET_ERROR\",\n // payload: response.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{\n const error = { header: \"Error\", content: \"Something went wrong\" };\n dispatch(showError(error));\n }\n };\n};\n\n\n\n\nexport const getDispDetails = () => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state);\n\n\n const response = await univadmin.get(\n \"app.php?a=getDispDetails&univcode=\" + state.univ.funivcode + \n \"&fcollcode=\" + state.user.fcollcode \n );\n\n if (typeof response.data !== \"object\") {\n const error = { header: \"Error\", content: \"Something went wrong\" };\n dispatch(showError(error));\n } else if (response.data.error_code === -1) {\n \n } else {\n console.log(response.data);\n dispatch({\n type: \"DISPATCH_DETAILS\",\n payload: response.data\n });\n }\n };\n};\n\nexport const selectallchkbxsent = check => {\n return {\n type: \"DISP_EXAMSECTION_SELECT_ALL_CHECKBOX\",\n payload: check\n };\n}\n\nexport const selectallchkbxsentclg = check => {\n return {\n type: \"DISP_COLL_SELECT_ALL_CHECKBOX\",\n payload: check\n };\n}\n\n\n\n\nexport const getDispDetailsclg = () => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state);\n\n\n const response = await univadmin.get(\n \"app.php?a=getDispDetailsclg&univcode=\" + state.univ.funivcode + \n \"&fcollcode=\" + state.user.fcollcode \n );\n\n if (typeof response.data !== \"object\") {\n const error = { header: \"Error\", content: \"Something went wrong\" };\n dispatch(showError(error));\n } else if (response.data.error_code === -1) {\n \n } else {\n console.log(response.data);\n dispatch({\n type: \"DISPATCH_DETAILS_CLG\",\n payload: response.data\n });\n }\n };\n};\n\n\n\nexport const getDispatchmksdatasearch = ( \n college,\n examno,\n degfrom,\n degto,\n table,\n regfrom,\n regto\n ) => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state);\n\n dispatch({\n type: \"CLEAR_DISPATCH_MARKSCARD_CLG\" \n });\n\n\n const response = await univadmin.get(\n \"app.php?a=getDispatchmksdatasearch&univcode=\" + state.univ.funivcode + \n \"&fcollcode=\" + state.user.fcollcode + \n \"°from=\" + degfrom +\n \"°to=\" + degto +\n \"®from=\" + regfrom +\n \"®to=\" + regto +\n \"&examno=\" + examno + \n \"&college=\" + college \n );\n\n if (typeof response.data !== \"object\") {\n const error = { header: \"Error\", content: \"Something went wrong\" };\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 console.log(response.data);\n dispatch({\n type: \"DISPATCH_MARKSCARD_CLG\",\n payload: response.data\n });\n }\n };\n};\n\n\n\n\n\n"],"sourceRoot":""}
|