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.17.183.187
{"version":3,"sources":["pages/dispatchmarkscard/index.js","actions/dispatchmarkscard/dispatchmarkscardform.js"],"names":["DispatchMarkscd","state","examno","clgfrom","clgto","degfrom","degto","degree","table","activeIndex","issueto","componentDidMount","_callee","_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","_this","props","getDispDetails","stop","changeTabIndex","e","_ref2","setState","handleCancel","_callee2","data","_context2","handleChange","_callee3","_context3","Object","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__","name","value","handleChangeclgfrom","_callee4","_context4","handleChangeclgto","_callee5","_context5","handleChangedegfrom","_callee6","_context6","toUpperCase","handleChangedegto","_callee7","_context7","handleChangeexamno","_callee8","_context8","handleChangeissueto","_callee9","_context9","handleSubmit","_callee10","_this$state","_context10","getDispatchmksdata","changeCell","el","i","newdata","type","checked","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__","changeDet","selectallsent","console","log","target","selectallchkbxsent","handleReport","dispno","fdispno","_this$props$user","user","fdeggrp","fcuruniv","_this$state2","window","open","ReportAPI","handleReportDetailed","_this$props$user2","_this$state3","handleSave","_callee11","error","_error","updatedmarksdisp","_context11","header","content","showError","abrupt","dispatchMarkscardTable","updatemarkscarddisp","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","_this2","this","_this$state4","reporttype","Examno","wheight","wHeight","panes","menuItem","render","semantic_ui_react__WEBPACK_IMPORTED_MODULE_13__","Pane","semantic_ui_react__WEBPACK_IMPORTED_MODULE_14__","Group","Field","width","Input","maxLength","placeholder","onChange","marginTop","float","fontSize","semantic_ui_react__WEBPACK_IMPORTED_MODULE_15__","celled","padded","selectable","structured","size","Row","HeaderCell","singleLine","textAlign","disabled","Body","map","key","Cell","fdegree","fexamno","fcollcode","fcollname","first","end","count","padding","length","Checkbox","fexamsent","onKeyDown","preventDefault","keyCode","add","dispatchdetails","fdispdate","fdispuser","fissueto","fmccount","degreeList","item","text","concat","fdescpn","fluid","Content","semantic_ui_react__WEBPACK_IMPORTED_MODULE_16__","Description","overflowY","overflowX","height","menu","attached","tabular","onTabChange","Component","connect","degreelist","resultStatsDegList","collegelist","resultStatsClgList","studyDegree","practicalTable","practicalCenter","dispatchMarkscard","dispatchDetails","_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","univ","funivcode","sent","error_code","msg","payload","_x","_x2","apply","arguments","_error2","_error3","post","univcode","fname","updmcdisp","status","_x3","_x4","getDispCollegelist","_ref3","_error4","_x5","_x6","getDispatchmksdataclg","college","_ref4","_error5","_x7","_x8","changeDispClg","updatemarkscarddispclg","updatedmarksdispclg","_ref5","_error6","_error7","updmcdispclg","_x9","_x10","_ref6","_x11","_x12","check","selectallchkbxsentclg","getDispDetailsclg","_ref7","_x13","_x14","getDispatchmksdatasearch","regfrom","regto","_ref8","_error8","_x15","_x16"],"mappings":"4TAkBMA,6MACFC,MAAQ,CACJC,OAAQ,GACRC,QAAS,IACTC,MAAO,OACPC,QAAS,IACTC,MAAO,QACPC,OAAO,GACPC,OAAO,EACPC,YAAa,EACbC,QAAQ,MAEZC,uCA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AAS5G,YAAUN,MAEnBpB,QAAQC,IAAIuI,EAASlL,MACrBgL,EAAS,CACP3I,KAAM,yBACNqJ,QAASR,EAASlL,QA9BjB,wBAAAwB,EAAA/B,SAAA8B,MAAP,gBAAAmN,EAAAC,GAAA,OAAAH,EAAA3C,MAAArG,KAAAsG,YAAA","file":"static/js/145.f52756f3.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 getDispatchmksdata,\n changeDet,\n updatemarkscarddisp,\n getDispDetails,\n selectallchkbxsent\n} \nfrom \"../../actions/dispatchmarkscard/dispatchmarkscardform\";\n\nclass DispatchMarkscd extends Component{ \n state = {\n examno: \"\", \n clgfrom: \"0\",\n clgto: \"ZZZZ\",\n degfrom: \"0\",\n degto: \"ZZZZZ\", \n degree:\"\",\n table :false,\n activeIndex: 0,\n issueto:''\n }; \n componentDidMount = async () => {\n await this.props.getDispDetails();\n }; \n\n changeTabIndex = (e, { activeIndex }) => {\n this.setState({ activeIndex: activeIndex });\n };\n \n handleCancel = async (e,data) => { \n this.setState({ \n examno: \"\", \n clgfrom: \"0\",\n clgto: \"ZZZZ\",\n degfrom: \"0\",\n degto: \"ZZZZ\", \n degree:\"\",\n table :false,\n issueto:''\n });\n }\n\n handleChange = async (e,data) => { \n this.setState({ [data.name]: data.value });\n }\n\n handleChangeclgfrom = async (e,data) => { \n this.setState({ \n clgfrom:data.value, \n })\n };\n\n handleChangeclgto = async (e,data) => { \n this.setState({ \n clgto:data.value, \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 handleChangeexamno = async(e,data) =>{\n this.setState({ \n examno:data.value.toUpperCase(), \n })\n };\n \n handleChangeissueto = async(e,data) =>{\n this.setState({ \n issueto:data.value, \n })\n };\n \n \n handleSubmit = async () => {\n const {\n examno, \n degfrom,\n degto, \n degree,\n clgfrom,\n clgto,\n table,\n issueto\n } = this.state;\n \n\n await this.props.getDispatchmksdata(\n examno,\n clgfrom,\n clgto,\n degfrom,\n degto,\n degree \n );\n this.setState({ table: true });\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.changeDet(newdata, i);\n } \n };\n \n selectallsent = (e) => {\n console.log(e.target.checked); \n this.props.selectallchkbxsent(e.target.checked);\n }\n\n handleReport = (e) => {\n // console.log(e);\n // return;\n const dispno = e.fdispno;\n const { fdeggrp,fcuruniv } = this.props.user;\n const {\n examno, \n degfrom,\n degto, \n clgfrom,\n clgto,\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 \"DispMarksReport\" +\n \"&clgfrom=\" + \n clgfrom +\n \"&clgto=\" + \n clgto +\n \"&univcode=\" +\n fcuruniv +\n \"°grp=\" +\n fdeggrp +\n \"&examno=\" +\n examno +\n \"°from=\" +\n degfrom +\n \"°to=\" +\n degto +\n \"&dispno=\" +\n dispno + \n \"&format=\" +\n \"PDF\",\n \"_blank\"\n );\n };\n \n handleReportDetailed = (e) => {\n // console.log(e);\n // return;\n const dispno = e.fdispno;\n const { fdeggrp,fcuruniv } = this.props.user;\n const {\n examno, \n degfrom,\n degto, \n clgfrom,\n clgto,\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 \"DispMarksReportDetailed\" +\n \"&clgfrom=\" + \n clgfrom +\n \"&clgto=\" + \n clgto +\n \"&univcode=\" +\n fcuruniv +\n \"°grp=\" +\n fdeggrp +\n \"&examno=\" +\n examno +\n \"°from=\" +\n degfrom +\n \"°to=\" +\n degto +\n \"&dispno=\" +\n dispno + \n \"&format=\" +\n \"PDF\",\n \"_blank\"\n );\n };\n\n \n \n \n handleSave = async () => {\n\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.issueto == '' ){\n const error = { header: \"Error\", content: \"Enter Issue to \" };\n this.props.showError(error);\n return;\n }\n \n const updatedmarksdisp = this.props.dispatchMarkscardTable;\n\n await this.props.updatemarkscarddisp( \n updatedmarksdisp,\n this.state.examno, \n this.state.clgfrom, \n this.state.clgto,\n this.state.degfrom,\n this.state.degto,\n this.state.degree,\n this.state.issueto\n );\n this.handleCancel();\n this.props.getDispDetails();\n this.setState({ activeIndex: 1 });\n \n }\n\n renderHeader = () => {\n return(\n <Card.Header style={{ display: \"flex\"}}>\n <h3>Dispatch Marks Card To Exam section</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=\"blue\"\n icon=\"save\"\n content=\"Report\"\n onClick={this.handleReport}\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 examno, \n degfrom,\n degto,\n reporttype,\n Examno,\n degree,\n clgfrom,\n clgto,\n table,\n issueto\n } = this.state;\n const wheight = wHeight(); \n const panes = [\n {\n menuItem: \"Dispatch Marks card\",\n render: () => (\n <Tab.Pane>\n <div className=\"col-md-4\">\n <Form> \n \n <div> \n\n <Form.Group>\n <Form.Field width={8}>\n <label>Degree</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={8}> \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={8}>\n <label>College range</label>\n <Form.Input\n //formatChars={formatChars}\n type=\"text\"\n value={clgfrom}\n //mask=\"\"\n maxLength={8}\n placeholder=\"College From\"\n name=\"clgfrom\"\n onChange={this.handleChangeclgfrom}\n /> \n </Form.Field> \n <Form.Field width={8}> \n <Form.Input \n type=\"text\"\n value={clgto} \n maxLength={8}\n placeholder=\"College To\"\n name=\"clgto\"\n style={{ marginTop:\"1.6em\" }}\n onChange={this.handleChangeclgto}\n />\n </Form.Field>\n </Form.Group>\n <Form.Group>\n <Form.Field width={8}>\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 </div> \n <Button color=\"blue\" onClick={this.handleSubmit}>\n Submit\n </Button> \n \n\n <br />\n </Form>\n </div> \n {table == true ? ( \n <div className=\"animated fadeIn\" > \n\n <div className=\"ui mini form\" >\n <Form.Field width={4} style={{ float: \"right\", fontSize:\"1.2em\" }} >\n <label>Issue to:-</label>\n <Form.Input\n //formatChars={formatChars}\n type=\"text\"\n value={issueto}\n //mask=\"\"\n maxLength={40}\n placeholder=\"Issue To\"\n name=\"issueto\"\n onChange={this.handleChangeissueto}\n /> \n </Form.Field> \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: \"5%\" }}\n textAlign=\"center\"\n >\n <label>College Code</label>\n </Table.HeaderCell> \n \n <Table.HeaderCell\n style={{ width: \"15%\" }}\n textAlign=\"center\"\n >\n <label>College Name</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>Select</label>\n <div className=\"checkbox\">\n <input\n type=\"checkbox\"\n name=\"allfreeze\"\n onChange={e => this.selectallsent(e)} \n disabled={false}\n />\n <label> </label>\n </div>\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.fcollcode}\n </Table.Cell>\n <Table.Cell \n textAlign=\"left\"\n style={{ fontSize:\"1.2em\" }}\n >\n {el.fcollname}\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 {this.props.dispatchMarkscardTable.length == i + 1 ? (\n <Form.Checkbox\n value={el.fexamsent}\n name=\"fexamsent\"\n checked={el.fexamsent == \"T\"}\n onChange={(e, data) =>\n this.changeCell(data, el, i)\n }\n onKeyDown={e => {\n e.preventDefault();\n if (e.keyCode === 9) this.add();\n }}\n />\n ) : (\n <Form.Checkbox\n value={el.fexamsent}\n name=\"fexamsent\"\n checked={el.fexamsent == \"T\"}\n onChange={(e, data) =>\n this.changeCell(data, el, i)\n }\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 </Tab.Pane>\n )\n },\n {\n menuItem: \"Dispatch Details\",\n render: () => (\n <Tab.Pane>\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>Dispatch Number</label>\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"5%\" }}\n textAlign=\"center\"\n >\n <label>Dispatch Date</label>\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"25%\" }}\n textAlign=\"center\"\n >\n <label>Dispatch user</label>\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"10%\" }}\n textAlign=\"center\"\n >\n <label>Issuse To</label>\n </Table.HeaderCell> \n \n <Table.HeaderCell\n style={{ width: \"5%\" }}\n textAlign=\"center\"\n >\n <label>Dispatch Count</label>\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"5%\" }}\n textAlign=\"center\"\n >\n <label>Download</label>\n </Table.HeaderCell> \n </Table.Row>\n </Table.Header>\n <Table.Body>\n {this.props.dispatchdetails.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.fdispno}\n </Table.Cell>\n <Table.Cell \n textAlign=\"center\"\n style={{ fontSize:\"1.2em\" }}\n >\n {el.fdispdate}\n </Table.Cell>\n <Table.Cell \n textAlign=\"left\"\n style={{ fontSize:\"1.2em\" }}\n >\n {el.fdispuser}\n </Table.Cell>\n <Table.Cell \n textAlign=\"left\"\n style={{ fontSize:\"1.2em\" }}\n >\n {el.fissueto}\n </Table.Cell> \n <Table.Cell \n textAlign=\"center\"\n style={{ fontSize:\"1.2em\" }}\n >\n {el.fmccount}\n </Table.Cell> \n <Table.Cell \n textAlign=\"center\"\n style={{ fontSize:\"0.5em\", display: \"flex\" }}\n >\n <Button\n content=\"Summary\"\n basic\n style={{ display: \"flex\" }}\n size=\"small\"\n color=\"green\"\n icon=\"print\"\n onClick={() => this.handleReport(el)}\n />\n <Button\n content=\"Detailed\"\n basic\n style={{ display: \"flex\" }}\n size=\"small\"\n color=\"blue\"\n icon=\"print\"\n onClick={() => this.handleReportDetailed(el)}\n />\n </Table.Cell> \n \n </Table.Row>\n );\n })}\n </Table.Body>\n </Table>\n \n </Tab.Pane>\n )\n }\n ]; \n\n const degreeOptions = this.props.degreeList.map(item => {\n return {\n value: item.fdegree,\n text: `${item.fdegree}- ${item.fdescpn}`\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 <Tab\n menu={{\n attached: true,\n tabular: true,\n color: \"blue\",\n className: \"wrapped\"\n }}\n activeIndex={this.state.activeIndex}\n panes={panes}\n onTabChange={this.changeTabIndex}\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 degreelist:state.resultStatsDegList,\n collegelist:state.resultStatsClgList,\n user: state.user,\n degreeList: state.studyDegree,\n practicalTable: state.practicalCenter,\n dispatchMarkscardTable: state.dispatchMarkscard,\n dispatchdetails:state.dispatchDetails\n \n };\n};\n\nexport default connect(\n mapStateToProps,\n { \n showError, \n getDispatchmksdata,\n changeDet,\n updatemarkscarddisp,\n getDispDetails,\n selectallchkbxsent\n }\n)(DispatchMarkscd);","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":""}
|