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 : 3.17.78.184


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

{"version":3,"sources":["pages/after-exam/TeachersList/TeachersList.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","actions/practicals/practicals.js","actions/after-exam/valuation.js","pages/common/SelectSubBoard.js"],"names":["TeachersList","state","fboard","fdeggrp","fdeggrpfrm","_this","props","user","fdeggrpto","fboardfrm","fboardto","frmsubmit","tcodefrom","tcodeto","clgfrom","clgto","onBoardChange","e","data","setState","value","changeDeggrpfrom","changeDeggrpto","changeBoardfrom","changeBoardto","handleChange","type","Object","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__","name","handleReport","console","log","_this$props$user","fcuruniv","_this$state","teachersList","window","open","ReportAPI","JSON","stringify","showError","header","content","handleSubmit","_callee","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default","a","wrap","_context","prev","next","fetchQpStatistics","stop","this","changedeggrploadboard","prevProps","fetchQpBoard","wheight","wHeight","_this$state2","deggrp","frmSubmit","reportType","board_options","text","board","map","item","push","fboardcode","concat","fboardname","react__WEBPACK_IMPORTED_MODULE_8___default","createElement","className","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","fluid","Content","Header","style","display","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","basic","color","onClick","icon","react_router_dom__WEBPACK_IMPORTED_MODULE_9__","to","semantic_ui_react__WEBPACK_IMPORTED_MODULE_13__","Description","height","overflowY","semantic_ui_react__WEBPACK_IMPORTED_MODULE_14__","Group","Field","width","Input","search","selection","onChange","allowAdditions","placeholder","disabled","openOnFocus","selectOnBlur","searchInput","autoFocus","marginTop","semantic_ui_react__WEBPACK_IMPORTED_MODULE_15__","options","maxLength","label","hidden","Component","connect","boards","fetchTeachBoard","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","n","classnames__WEBPACK_IMPORTED_MODULE_1__","classnames__WEBPACK_IMPORTED_MODULE_1___default","react__WEBPACK_IMPORTED_MODULE_2__","react__WEBPACK_IMPORTED_MODULE_2___default","_lib__WEBPACK_IMPORTED_MODULE_3__","_lib__WEBPACK_IMPORTED_MODULE_4__","_lib__WEBPACK_IMPORTED_MODULE_5__","_lib__WEBPACK_IMPORTED_MODULE_6__","Divider","children","clearing","fitted","horizontal","inverted","section","vertical","classes","rest","ElementType","isNil","handledProps","propTypes","__webpack_exports__","fetchPrDegrees","modtype","_ref","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__","mark","dispatch","getState","response","univadmin","get","params","univcode","univ","funivcode","sent","payload","error_code","msg","status","types","_x","_x2","apply","arguments","fetchPrSubs","fdegree","_ref2","_callee2","_context2","_x3","_x4","fetchSubPrBoard","_ref3","_callee3","_context3","_x5","_x6","fetchPrBatchDet","fsubcode","_ref4","_callee4","_context4","_x7","_x8","error","_error","stt","_error2","fexamno","Examno","valstats","_error3","fetchQpStatisticsSum","_error4","valsum","_ref5","_callee5","_error5","_context5","_x9","_x10","SelectSubBoard","el","i","key","react__WEBPACK_IMPORTED_MODULE_5___default","semantic_ui_react__WEBPACK_IMPORTED_MODULE_7__","semantic_ui_react__WEBPACK_IMPORTED_MODULE_8__"],"mappings":"0SAgBMA,qNACJC,MAAQ,CAAEC,OAAQ,GAClBC,QAAU,GACVC,WAAYC,EAAKC,MAAMC,KAAKJ,QAC5BK,UAAWH,EAAKC,MAAMC,KAAKJ,QAC3BM,UAAW,IACXC,SAAU,QACVC,WAAW,EACXC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D,EAAAxJ,KAAA,EAEkBsG,IAAUC,IAAI,WAAY,CAC/CC,OAAQ,CACN5G,EAAG,iBACHc,OAAQ3D,EACR0J,SAAU5J,EAAMM,KAAK2B,YANpB,OAUwB,kBARvBuH,EAFDmD,EAAA5C,MAUe9I,MACZ4K,EAAQ,CACZnJ,OAAQ,QACRC,QAAS,wBAEX2G,EAAS7G,YAAUoJ,MACoB,IAA9BrC,EAASvI,KAAKgJ,YACjB4B,EAAQ,CAAEnJ,OAAQ,QAASC,QAAS6G,EAASvI,KAAKA,KAAKiJ,KAC7DZ,EAAS7G,YAAUoJ,KAEnBvC,EAAS,CACP7H,KAAM,eACNuI,QAASR,EAASvI,OAtBjB,wBAAA0L,EAAAtJ,SAAAoJ,MAAP,gBAAAG,EAAAC,GAAA,OAAAL,EAAAjC,MAAAjH,KAAAkH,YAAA,4IChJIsC,mLAEF,IAEM9I,EAFQV,KAAKjD,MAAM6D,MAEGC,IAAI,SAAC4I,EAAIC,GACnC,MAAO,CACLC,IAAKD,EACL7L,MAAO4L,EAAGzI,WACVL,KAAI,GAAAM,OAAKwI,EAAGzI,WAAR,OAAAC,OAAwBwI,EAAGvI,eAInC,OACE0I,EAAAnK,EAAA2B,cAACyI,EAAA,EAAKpH,MAAN,KACEmH,EAAAnK,EAAA2B,cAAA,sBACAwI,EAAAnK,EAAA2B,cAAC0I,EAAA,EAAD,CACEvI,OAAK,EACLqB,QAAM,EACNC,WAAS,EACThF,MAAOmC,KAAKjD,MAAMJ,OAClBmG,SAAU9C,KAAKjD,MAAMU,cACrBuF,YAAY,eACZQ,QAAS9C,YAtBUkD,aAiCdC,gBAJS,SAAAnH,GACtB,MAAO,CAAEkE,MAAOlE,EAAMoH,OAAQ9G,KAAMN,EAAMM,OAK1C,CAAE0K,qBAFW7D,CAGb2F","file":"static/js/38.26557191.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { connect } from \"react-redux\";\nimport { Card, Divider, Button, Form,Dropdown } from \"semantic-ui-react\";\nimport { showError } from \"../../../actions\";\nimport {\n  fetchQpBoard,\n  fetchQpStatistics,\n  fetchTeachBoard\n} from \"../../../actions/after-exam/valuation\";\nimport { ReportAPI } from \"../../../apis/consts\";\nimport { wHeight } from \"../../parms\";\nimport SelectSubBoard from \"../../common/SelectSubBoard\";\nimport { changedeggrploadboard } from \"../../../actions/after-exam/valuation\";\n// import StatTable from \"./StatTable\";\n\nclass TeachersList extends Component {\n  state = { fboard: \"\", \n  fdeggrp : \"\",\n  fdeggrpfrm: this.props.user.fdeggrp,\n  fdeggrpto: this.props.user.fdeggrp,\n  fboardfrm: '0',\n  fboardto: 'zzzzz',\n  frmsubmit: false ,\n  tcodefrom: '0',\n  tcodeto: 'zzzzz',\n  clgfrom:'0',\n  clgto: 'zzzzz',\n\n};\n\n async componentDidMount() {\n    // this.props.fetchTeachBoard(this.props.user.fdeggrp); \n    await this.props.changedeggrploadboard(this.props.user.fdeggrp);    \n  }\n\n  componentDidUpdate(prevProps) {\n    if (this.props.user.fdeggrp !== prevProps.user.fdeggrp) {\n      this.props.fetchQpBoard(this.props.user.fdeggrp);\n    }\n  }\n\n  onBoardChange = (e, data) => {\n    this.setState({ fboardfrm: data.value });\n  };\n\n  changeDeggrpfrom = (e, data) => {\n    this.setState({ fdeggrpfrm: data.value });\n  };\n\n  changeDeggrpto = (e, data) => {\n    this.setState({ fdeggrpto: data.value });\n  };\n\n\n  changeBoardfrom = (e, data) => {\n    this.setState({ fboardfrm: data.value });\n  };\n\n  changeBoardto = (e, data) => {\n    this.setState({ fboardto: data.value });\n  };\n\n  handleChange = (e, data) => {\n    switch (data.type) {\n      case \"text\":\n        this.setState({ [data.name]: data.value });\n      default:\n        this.setState({ [data.name]: data.value });\n    }\n  };\n\n\n  \n\n  \n\n  handleReport = () => {\n    console.log(this.props);\n    console.log(this.state);\n    const { fdeggrp, fcuruniv } = this.props.user;\n    const {\n      teachersList,      \n      fboard ,\n      fdeggrpfrm,\n      fdeggrpto,\n      fboardfrm,\n      fboardto,\n      tcodefrom,\n      tcodeto,\n      clgfrom,\n      clgto\n    } = this.state;\n    if (fdeggrp === \"\") {\n      const error = { header: \"Error\", content: \"Select Degree Group\" };\n      this.props.showError(error);\n      return;\n    }\n    // https://universitysolutions.in/univadmin/app.php?a=teachersList&univcode=041&deggrp=UG&boardfrom=0000&boardto=zzzz\n    window.open(\n      ReportAPI +\n      'teachersList' +\n       \"&univcode=\" +\n        fcuruniv +\n        \"&fboard=\" +\n        fboard +  \n        \"&fdeggrpfrm=\" +\n        fdeggrpfrm +  \n        \"&fdeggrpto=\" +\n        fdeggrpto +\n        \"&fboardfrm=\" +\n        fboardfrm +  \n        \"&fboardto=\" +\n        fboardto +      \n        \"&tcodefrom=\" +\n        tcodefrom +  \n        \"&tcodeto=\" +\n        tcodeto +      \n        \"&clgfrom=\" +\n        clgfrom +  \n        \"&clgto=\" +\n        clgto +         \n       \n        \"&user=\" +\n        JSON.stringify(this.props.user),\n      \"_blank\"\n    );\n  };\n\n  handleSubmit = async () => {\n    this.setState({ frmsubmit: false });\n    await this.props.fetchQpStatistics(this.state.fboard);\n    this.setState({ frmsubmit: true });\n  };\n\n  render() {\n    console.log(this.state);\n    console.log(this.props);\n    const wheight = wHeight();\n    // console.log(this.props.deggrp[0].fdeggrp);\n    // if(this.props.deggrp[0].fdeggrp != undefined){\n    // const deggrp = this.props.deggrp[0].fdeggrp;\n    // }\n\n    const { deggrp,frmSubmit, fdeggrpfrm, fdeggrpto, fboardfrm, fboardto, reportType,\n      tcodefrom, tcodeto, clgfrom, clgto\n     } = this.state;\n\n    let board_options = [{\n      value:'All',\n      text:'All'\n    }];\n\n    this.props.board.map(item => {\n      board_options.push({\n        value: item.fboardcode,\n        text: `${item.fboardcode} - ${item.fboardname}`\n      });\n    });\n\n    return (\n      <div className=\"animated fadeIn\">\n        <Card fluid>\n          <Card.Content>\n            <Card.Header style={{ display: \"flex\" }}>\n              <h4>Teachers List</h4>\n              <div className=\"ml-auto\">\n                {/* <Button\n                  basic\n                  color=\"blue\"\n                  content=\"Upload\"\n                  icon=\"cloud upload\"\n                  onClick={this.upload}\n                /> */}                \n                  <Button basic \n                  color=\"blue\" \n                  content=\"Report\" \n                  onClick={this.handleReport}\n                  icon=\"arrow down\" />\n                \n                <Link to=\"/dashboard\">\n                  <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\n                </Link>                \n              </div>\n            </Card.Header>\n            <Divider />\n            <Card.Description\n              style={{ height: `${wheight}px`, overflowY: \"auto\" }}\n            >\n              <Form>\n\n                <Form.Group>\n                <Form.Field width={4}>\n                <label>Degree Group Range</label>\n                    <Form.Input                                           \n                      fluid\n                      search\n                      selection                      \n                      value={fdeggrpfrm}\n                      onChange={this.changeDeggrpfrom}\n                      allowAdditions                      \n                      placeholder=\"Deg. Grp. From\"\n                      disabled={this.props.disabled}\n                      openOnFocus={false}                      \n                      selectOnBlur={false}\n                      searchInput={{ autoFocus: true }}                      \n                    />\n                    </Form.Field>\n                    <Form.Field width={4}>\n                    <Form.Input                                           \n                      fluid\n                      search\n                      selection                      \n                      value={fdeggrpto}\n                      onChange={this.changeDeggrpto}\n                      allowAdditions       \n                      placeholder=\"Deg. Grp. To\"\n                      disabled={this.props.disabled}\n                      openOnFocus={false}                      \n                      selectOnBlur={false}\n                      searchInput={{ autoFocus: true }}  \n                      style={{ marginTop: \"1.6em\" }}                    \n                    />\n                    </Form.Field>\n                  </Form.Group>\n\n                  <Form.Group>\n                  <Form.Field width={8}>\n                      <label>Board</label>\n                      <Dropdown\n                        fluid\n                        search\n                        selection\n                        value={this.props.fboard}\n                        onChange={this.onBoardChange}\n                        placeholder=\"Select Board\"\n                        options={board_options}\n                      />\n                    </Form.Field>\n                    </Form.Group>\n                    <Form.Group>\n                    <Form.Input\n                      placeholder=\"From\"\n                      value={tcodefrom}\n                      width={4}\n                      name=\"tcodefrom\"\n                      onChange={this.handleChange}\n                      maxLength=\"5\"\n                      label=\"Teacher code Range\"\n                    />\n                    <Form.Input\n                      placeholder=\"To\"\n                      name=\"tcodeto\"\n                      value={tcodeto}\n                      width={4}\n                      onChange={this.handleChange}\n                      maxLength=\"5\"\n                      style={{ marginTop: \"1.6em\" }}\n                    />\n                    </Form.Group>\n                    <Form.Group>\n                        <Form.Field width={4}>\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.handleChange}\n                        />                                                \n                        </Form.Field>                        \n                        <Form.Field width={4}>                     \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.handleChange}\n                        />\n                        </Form.Field>\n                      </Form.Group>\n                {/* <Form.Field width={8}>\n                  <label>Degree Group</label>\n                  <Dropdown\n                    fluid\n                    search\n                    selection\n                    value={this.props.fboard}\n                    onChange={this.props.onBoardChange}\n                    placeholder=\"Select Degree\"\n                    // options={deggrp_options}\n                    \n                  />\n                </Form.Field> */}\n                                                \n                <Button\n                  color=\"blue\"\n                  onClick={this.handleSubmit}\n                  content=\"Submit\"\n                  hidden\n                />\n              </Form>\n              {/* {this.state.frmsubmit ? <StatTable /> : null} */}\n            </Card.Description>\n          </Card.Content>\n        </Card>\n      </div>\n    );\n  }\n}\n\nconst mapStateToProps = state => {  \n  console.log(state);\n  return {user: state.user,\n          board: state.boards,\n          deggrp: state.deggrp};\n  \n};\n\nexport default connect(\n  mapStateToProps,\n  { showError, fetchTeachBoard, fetchQpStatistics, changedeggrploadboard }\n)(TeachersList);\n","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps, useKeyOnly } from '../../lib';\n/**\n * A divider visually segments content into groups.\n */\n\nfunction Divider(props) {\n  var children = props.children,\n      className = props.className,\n      clearing = props.clearing,\n      content = props.content,\n      fitted = props.fitted,\n      hidden = props.hidden,\n      horizontal = props.horizontal,\n      inverted = props.inverted,\n      section = props.section,\n      vertical = props.vertical;\n  var classes = cx('ui', useKeyOnly(clearing, 'clearing'), useKeyOnly(fitted, 'fitted'), useKeyOnly(hidden, 'hidden'), useKeyOnly(horizontal, 'horizontal'), useKeyOnly(inverted, 'inverted'), useKeyOnly(section, 'section'), useKeyOnly(vertical, 'vertical'), 'divider', className);\n  var rest = getUnhandledProps(Divider, props);\n  var ElementType = getElementType(Divider, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), childrenUtils.isNil(children) ? content : children);\n}\n\nDivider.handledProps = [\"as\", \"children\", \"className\", \"clearing\", \"content\", \"fitted\", \"hidden\", \"horizontal\", \"inverted\", \"section\", \"vertical\"];\nDivider.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** Divider can clear the content above it. */\n  clearing: PropTypes.bool,\n\n  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand,\n\n  /** Divider can be fitted without any space above or below it. */\n  fitted: PropTypes.bool,\n\n  /** Divider can divide content without creating a dividing line. */\n  hidden: PropTypes.bool,\n\n  /** Divider can segment content horizontally. */\n  horizontal: PropTypes.bool,\n\n  /** Divider can have its colours inverted. */\n  inverted: PropTypes.bool,\n\n  /** Divider can provide greater margins to divide sections of content. */\n  section: PropTypes.bool,\n\n  /** Divider can segment content vertically. */\n  vertical: PropTypes.bool\n} : {};\nexport default Divider;","import univadmin from \"../../apis/univadmin\";\nimport * as types from \"../../types\";\n\nexport const fetchPrDegrees = (deggrp, fboard, modtype) => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getDegrees\",\n        modtype: modtype,\n        fboard: fboard,\n        deggrp: state.user.fdeggrp,\n        univcode: state.univ.funivcode\n      }\n    });\n\n    if (typeof response.data !== \"object\") {\n      const data = {\n        error_code: -1,\n        data: { msg: \"Something went wrong wile fetching Practical Degrees\" },\n        status: \"failure\"\n      };\n\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: data\n      });\n    } else if (response.data.error_code === -1) {\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: response.data\n      });\n    } else {\n      dispatch({\n        type: types.FETCH_DEGREES,\n        payload: response.data\n      });\n    }\n  };\n};\n\nexport const fetchPrSubs = (fdegree, fboard) => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getPracticalSubjects\",\n        fdegree: fdegree,\n        fboard: fboard,\n        univcode: state.univ.funivcode\n      }\n    });\n\n    if (typeof response.data !== \"object\") {\n      const data = {\n        error_code: -1,\n        data: { msg: \"Something went wrong wile fetching Practical Subjects\" },\n        status: \"failure\"\n      };\n\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: data\n      });\n    } else if (response.data.error_code === -1) {\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: response.data\n      });\n    } else {\n      dispatch({\n        type: \"FETCH_PRSUB\",\n        payload: response.data\n      });\n    }\n  };\n};\n\nexport const fetchSubPrBoard = fdeggrp => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    // console.log(fdeggrp);\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getPracticalBoards\",\n        fdeggrp: fdeggrp,\n        univcode: state.user.fcuruniv\n      }\n    });\n\n    if (typeof response.data !== \"object\") {\n      const data = {\n        error_code: -1,\n        data: { msg: \"Something went wrong wile fetching Practical Boards\" },\n        status: \"failure\"\n      };\n\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: data\n      });\n    } else if (response.data.error_code === -1) {\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: response.data\n      });\n    } else {\n      dispatch({\n        type: \"FETCH_BOARDS\",\n        payload: response.data\n      });\n    }\n  };\n};\n\nexport const fetchPrBatchDet = (fdeggrp, fboard, fdegree, fsubcode) => {\n  return async function(dispatch, getState) {\n    const state = getState();\n\n    dispatch({\n      type: \"SET_LOADER\"\n    });\n\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getPracticalBatchDet\",\n        fdeggrp: fdeggrp,\n        fdegree: fdegree,\n        fboard: fboard,\n        fsubcode: fsubcode,\n        univcode: state.univ.funivcode\n      }\n    });\n\n    dispatch({\n      type: \"UNSET_LOADER\"\n    });\n\n    if (typeof response.data !== \"object\") {\n      const data = {\n        error_code: -1,\n        data: {\n          msg: \"Something went wrong wile fetching Practical Batch Details\"\n        },\n        status: \"failure\"\n      };\n\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: data\n      });\n    } else if (response.data.error_code === -1) {\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: response.data\n      });\n    } else {\n      dispatch({\n        type: \"FETCH_PRBATCHDET\",\n        payload: response.data\n      });\n    }\n  };\n};\n","import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\n\nexport const fetchQpBoard = fdeggrp => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getfboard\",\n        deggrp: fdeggrp,\n        univcode: state.user.fcuruniv\n      }\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\"\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"FETCH_BOARDS\",\n        payload: response.data\n      });\n    }\n  };\n};\n\nexport const fetchQpStatistics = stt => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\"\n    });\n    dispatch({\n      type: \"DELETE_QPSTATS\"\n    });\n    // console.log(stt);\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getscript\",\n        deggrp: stt.fdeggrp,\n        univcode: state.user.fcuruniv,        \n        fboard: stt.fboard,\n        fexamno: stt.Examno,\n        status: stt.valstats\n      }\n    });\n    dispatch({\n      type: \"UNSET_LOADER\"\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\"\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"FETCH_QPSTATS\",\n        payload: response.data\n      });\n    }\n  };\n};\n\nexport const changedeggrploadboard = deggrp => {\n  return async function(dispatch, getState) {\n    const state = getState();    \n    dispatch({\n      type: \"DELETE_QPSTATS\"\n    });\n    // console.log(stt);\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"loadboardvaluationstats\",\n        deggrp: deggrp,\n        univcode: state.user.fcuruniv    \n      }\n    });    \n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\"\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"FETCH_BOARDS\",\n        payload: response.data\n      });\n    }\n  };\n};\n\nexport const fetchQpStatisticsSum = (stt) => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\"\n    });\n    dispatch({\n      type: \"DELETE_QPSTATS_SUM\"\n    });\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getscriptSummary\",\n        deggrp: stt.fdeggrp,\n        univcode: state.user.fcuruniv,\n        fexamno: stt.Examno,\n        fboard: stt.fboard,\n        status:stt.valsum\n      }\n    });\n    dispatch({\n      type: \"UNSET_LOADER\"\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\"\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"FETCH_QPSTATS_SUM\",\n        payload: response.data\n      });\n    }\n  };\n};\n\nexport const fetchTeachBoard = fdeggrp => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getTeachfboard\",\n        deggrp: fdeggrp,\n        univcode: state.user.fcuruniv\n      }\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\"\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"FETCH_BOARDS\",\n        payload: response.data\n      });\n    }\n  };\n};\n","import React, { Component } from \"react\";\nimport { connect } from \"react-redux\";\nimport { Form, Dropdown } from \"semantic-ui-react\";\nimport { fetchSubPrBoard } from \"../../actions/practicals/practicals\";\n\nclass SelectSubBoard extends Component {\n  render() {\n    const board = this.props.board;\n\n    const board_options = board.map((el, i) => {\n      return {\n        key: i,\n        value: el.fboardcode,\n        text: `${el.fboardcode} - ${el.fboardname}`\n      };\n    });\n\n    return (\n      <Form.Field>\n        <label>Board</label>\n        <Dropdown\n          fluid\n          search\n          selection\n          value={this.props.fboard}\n          onChange={this.props.onBoardChange}\n          placeholder=\"Select Board\"\n          options={board_options}\n        />\n      </Form.Field>\n    );\n  }\n}\n\nconst mapStateToProps = state => {\n  return { board: state.boards, user: state.user };\n};\n\nexport default connect(\n  mapStateToProps,\n  { fetchSubPrBoard }\n)(SelectSubBoard);\n"],"sourceRoot":""}