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.138.113.44


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

{"version":3,"sources":["pages/create-boe/addboe.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","actions/after-exam/valuation.js","actions/create-boe/boeform.js"],"names":["connect","state","console","log","board","boeChairmanBoard","res","boedtt","user","boeteachlist","screen","changedeggrploadboard","getchairmandet","boesubmit","changeteachlist","createboe","changegrpname","changeboard","props","_useState","useState","_useState2","Object","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__","fboard","_useState3","_useState4","fgrpname","_useState5","_useState6","table","settable","useEffect","_initfn","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default","a","mark","_callee","funcparam","wrap","_context","prev","next","match","params","chaircode","fuserid","stop","apply","this","arguments","initfn","wheight","wHeight","DropdownBordOption","grpnameoptions","vlu","push","value","text","fboardname","map","item","fboardcode","spl","split","el","react__WEBPACK_IMPORTED_MODULE_4___default","createElement","Fragment","className","semantic_ui_react__WEBPACK_IMPORTED_MODULE_7__","fluid","Content","Header","style","display","react_router_dom__WEBPACK_IMPORTED_MODULE_5__","to","pathname","semantic_ui_react__WEBPACK_IMPORTED_MODULE_8__","basic","color","content","icon","onClick","semantic_ui_react__WEBPACK_IMPORTED_MODULE_9__","Description","height","concat","overflowY","semantic_ui_react__WEBPACK_IMPORTED_MODULE_10__","Field","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","placeholder","name","selection","search","options","onChange","e","data","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","celled","padded","selectable","structured","size","marginTop","fontSize","Row","HeaderCell","width","singleLine","textAlign","Body","i","key","Cell","fcollcode","fteachcode","fteachname","fscale","fmobile","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__","Checkbox","checked","fdeleted","fdel","changeCell","_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__","fetchQpBoard","fdeggrp","_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","dispatch","getState","response","error","_error","univadmin","get","deggrp","univcode","fcuruniv","sent","header","showError","error_code","msg","type","payload","_x","_x2","fetchQpStatistics","stt","_ref2","_callee2","_error2","_context2","fexamno","Examno","status","valstats","_x3","_x4","_ref3","_callee3","_error3","_context3","_x5","_x6","fetchQpStatisticsSum","_ref4","_callee4","_error4","_context4","valsum","_x7","_x8","fetchTeachBoard","_ref5","_callee5","_error5","_context5","_x9","_x10","getcreateBOEtable","prms","chairmancode","post","body","crtboe","history"],"mappings":"gRAoUeA,sBAZS,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MI,iBAAiBmB,OAC/BG,SAAU1B,EAAMI,iBAAiBsB,SACjCkM,OAAQ5N,EAAMQ,aACdD,KAAKP,EAAMO,QAZV,OAgBwB,kBAXvB8J,EALDuC,EAAA/B,MAgBexE,MACZiE,EAAQ,CACZQ,OAAQ,QACR3F,QAAS,wBAEXgF,EAASY,YAAUT,MACoB,IAA9BD,EAAShE,KAAK2E,YACjBV,EAAQ,CAAEQ,OAAQ,QAAS3F,QAASkF,EAAShE,KAAKA,KAAK4E,KAC7Dd,EAASY,YAAUT,MAEbA,EAAQ,CAAEQ,OAAQ,UAAW3F,QAASkF,EAAShE,KAAKA,KAAK4E,KAC/Dd,EAASY,YAAUT,IACnBuD,IAAQpK,KACN,eA7BC,wBAAAmJ,EAAA7J,SAAA2J,MAAP,gBAAAI,EAAAC,GAAA,OAAAN,EAAAzJ,MAAAC,KAAAC,YAAA,IAoCWnC,EAAgB,SAACsF,GAC5B,MAAM,CACJ6E,KAAK,qBACLC,QAAS,CAAC9E,UAGDrF,EAAc,SAACqF,GAC1B,MAAM,CACJ6E,KAAK,mBACLC,QAAS,CAAC9E","file":"static/js/60.d79045b9.chunk.js","sourcesContent":["import React, { useState, useEffect, useRef } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { connect } from \"react-redux\";\nimport { Card, Divider, Button, Form,Dropdown, Table  } from \"semantic-ui-react\";\nimport { ReportAPI } from \"../../apis/consts\";\nimport { wHeight } from \"../parms\";\nimport { \n  getchairmandet, \n  boesubmit,\n  changeteachlist, \n  createboe, \n  changegrpname, \n  changeboard\n} from './../../actions/create-boe/boeform';\nimport { changedeggrploadboard } from './../../actions/after-exam/valuation';\n\n\n\nfunction AddCreateBOE (props){\n\n    const [fboard,setboard] = useState('');\n    const [fgrpname,setgrpname] = useState('');\n    const [table,settable] = useState(false);\n  \n    useEffect(() => {\n        async function initfn() {\n          console.log(props.match.params.screen);\n          console.log(props.match.params.fgrpname); \n          console.log(props.match.params.fboard);            \n            let funcparam = '';\n            if(props.match.params.screen == 'create'){\n              funcparam = funcparam = {\n                chaircode : props.user.fuserid,\n                screen: 'create',\n                fboard: '',\n                fgrpname:'',\n              };\n            }else if(props.match.params.screen == 'edit'){\n              funcparam = {\n                chaircode : props.user.fuserid,\n                screen: 'edit',\n                fboard: props.match.params.fboard,\n                fgrpname:props.match.params.fgrpname,\n              };\n            }\n            await props.getchairmandet(funcparam);          \n              \n\n        }\n        initfn();\n    }, []);\n\n    const handleSubmit = () =>{\n\n        props.boesubmit(fboard,fgrpname,props.match.params.screen);\n        settable(true);\n\n    }\n\n    const changeCell = (e,data,i) =>{\n      console.log(e.checked);\n      let fdel = e.checked ? \"F\" : \"T\";\n      props.changeteachlist(e,fdel,i);\n      \n    }\n\n    const handleCreate = () =>{\n      console.log('hii');\n      props.createboe(fboard,fgrpname);\n    };\n\n    // const changegrpname = (e, data) =>{\n    //   props.chan\n    // }\n\n    const wheight = wHeight();\n    let DropdownBordOption = [];  \n    let grpnameoptions = [];\n    if(props.screen == 'edit'){\n      let vlu = props.board[0];\n      DropdownBordOption.push({\n        value: vlu.fboard,\n        text: vlu.fboardname\n      });\n\n      grpnameoptions.push({\n        value: vlu.fgrpname,\n        text: vlu.fgrpname\n    });\n\n\n    }else{\n    \n    props.board.map(item => {\n      DropdownBordOption.push({\n        value: item.fboardcode,\n        text: item.fboardname\n      });\n    });\n        \n    props.board.map(item =>{\n        var spl = item.fgrpname.split('*');\n        console.log(spl);\n        spl.map(el =>{\n            grpnameoptions.push({\n                value: el,\n                text: el\n            });\n        });        \n    });\n    }\n    return(\n        <>\n         <div className=\"animated fadeIn\">\n        <Card fluid>\n           <Card.Content>\n             <Card.Header style={{ display: \"flex\" }}>\n               <h4>Create BOE</h4>\n               <div className=\"ml-auto\">\n               <Link\n                   to={{\n                     pathname: `/createboe`,                    \n                   }}\n                 >\n                   <Button\n                     basic\n                     color=\"blue\"\n                     content=\"Back\"\n                    //   onClick={this.handleSave}\n                     icon=\"angle double left\"\n                   />\n                 </Link>\n                 <Button \n                  basic \n                  color=\"green\" \n                  content=\"Save\" \n                  icon=\"file\" \n                  onClick={handleCreate}\n                 />\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                 <div className=\"col-md-6\">\n                    <Form>\n                        <Form.Field>\n                        <label> Select Board</label>\n                        <Dropdown\n                        placeholder=\"Select Board\"\n                        name=\"fboard\"\n                        value={props.boedtt.fboard}\n                        selection\n                        search\n                        options={DropdownBordOption}\n                        onChange={(e, data) =>{ props.changeboard(data.value)}}\n                        />\n                    </Form.Field>\n                    <Form.Field>\n                      {console.log(grpnameoptions)}\n                        <label> Group Name</label>\n                        <Dropdown\n                        placeholder=\"Select Group Name\"\n                        name=\"fgrpname\"\n                        value={props.boedtt.fgrpname}\n                        selection\n                        search\n                        options={grpnameoptions}\n                        onChange={(e, data) =>{ props.changegrpname(data.value)}}\n                        />\n                    </Form.Field>\n\n                    <Button color=\"blue\" onClick={handleSubmit}>\n                    Submit\n                  </Button>\n\n                    </Form>\n                    </div>\n                    {table == true || props.screen == 'edit' ?(\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: \"5%\" }}\n                          singleLine\n                          textAlign=\"center\"\n                        >\n                          <label>Sl. No.</label>\n                        </Table.HeaderCell>\n                        <Table.HeaderCell\n                          style={{ width: \"7%\" }}\n                          textAlign=\"center\"\n                        >\n                          <label>College code</label>\n                        </Table.HeaderCell>                      \n                        <Table.HeaderCell \n                          style={{ width: \"7%\"}}\n                          textAlign=\"center\">\n                          <label>Teacher code</label>\n                        </Table.HeaderCell>\n                        <Table.HeaderCell\n                          style={{ width: \"20%\" }}\n                          textAlign=\"center\"\n                        >\n                          <label>Teacher Name</label>\n                        </Table.HeaderCell>\n                        <Table.HeaderCell\n                          style={{ width: \"7%\" }}\n                          textAlign=\"center\"\n                        >\n                          <label>Scale</label>\n                        </Table.HeaderCell>\n                        <Table.HeaderCell\n                          style={{ width: \"7%\" }}\n                          textAlign=\"center\"\n                        >\n                          <label>Mobile No.</label>\n                        </Table.HeaderCell>  \n                        <Table.HeaderCell\n                          style={{ width: \"7%\" }}\n                          textAlign=\"center\"\n                        >\n                          <label>Select</label>\n                        </Table.HeaderCell>                                           \n                      </Table.Row>\n                    </Table.Header>\n                    <Table.Body>\n                    {props.boeteachlist.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.fcollcode}\n                        </Table.Cell>\n                        <Table.Cell \n                          textAlign=\"center\"\n                          style={{ fontSize:\"1.2em\" }}\n                        >\n                          {el.fteachcode}\n                        </Table.Cell>\n                        <Table.Cell \n                          textAlign=\"left\"\n                          style={{ fontSize:\"1.2em\" }}\n                        >\n                          {el.fteachname}\n                        </Table.Cell> \n                        <Table.Cell \n                          textAlign=\"center\"\n                          style={{ fontSize:\"1.2em\" }}\n                        >\n                          {el.fscale}\n                        </Table.Cell> \n                        <Table.Cell \n                          textAlign=\"center\"\n                          style={{ fontSize:\"1.2em\" }}\n                        >\n                          {el.fmobile}\n                        </Table.Cell>                        \n                        <Table.Cell \n                            textAlign=\"center\"\n                            style={{ fontSize:\"0.5em\" }}\n                            textAlign=\"center\"\n                          >\n                            <Form.Checkbox\n                                    value={el.fteachcode}\n                                    name=\"fdeleted\"\n                                    checked={el.fdeleted == 'F'}\n                                    onChange={(e, data) =>\n                                      changeCell(data, el, i)\n                                    }\n                                  />\n\n                                                        \n                          </Table.Cell> \n                        </Table.Row>\n                      );\n                    })}\n                    \n                    </Table.Body>\n                  </Table>\n                </div>\n                ): null }\n\n\n               \n\n                </Card.Description>\n           </Card.Content>\n         </Card>\n       </div>\n\n        </>\n\n    );\n\n\n}\n\nconst mapStateToProps = (state) =>{\n  console.log(state);\n    return{\n        board: state.boeChairmanBoard.res,\n        boedtt: state.boeChairmanBoard,\n        user: state.user,\n        boeteachlist: state.boeteachlist,\n        screen: state.boeChairmanBoard.screen,\n\n    };\n};\n\nexport default connect(mapStateToProps, {\n    changedeggrploadboard,\n    getchairmandet,\n    boesubmit,\n    changeteachlist,\n    createboe,\n    changegrpname,\n    changeboard\n\n\n})(AddCreateBOE)\n\n\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 { 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 univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\nimport { history } from \"../registration/loginRegn\";\n\nexport const getcreateBOEtable = deggrp => {\n    return async function(dispatch, getState) {\n      const state = getState();    \n      dispatch({\n        type: \"CLEAR_CREATE_BOE\"\n      });\n      // console.log(stt);\n      const response = await univadmin.get(\"/app.php\", {\n        params: {\n          a: \"loadcreatedoetable\",        \n          univcode: state.user.fcuruniv,\n          deggrp: deggrp    \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: \"GET_BOE_TABLE\",\n          payload: response.data\n        });\n      }\n    };\n  };\n\n  \n  export const getchairmandet = prms => {\n    return async function(dispatch, getState) {\n      const state = getState(); \n      // console.log(prms);\n      dispatch({\n        type: \"SET_LOADER\",\n      });\n      dispatch({\n        type: \"CLEAR_CREATE_BOE\"\n      });\n      const response = await univadmin.get(\"/app.php\", {\n        params: {\n          a: \"loadchairmandetBOE\",        \n          univcode: state.user.fcuruniv,\n          chairmancode: prms.chaircode,\n          screen: prms.screen,\n          fboard:prms.fboard,\n          fgrpname:prms.fgrpname,    \n        }\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        console.log(response.data);\n        if(response.data.data.screen == 'edit'){\n          dispatch({\n            type: \"BOE_TEACHERS\",\n            payload: response.data\n          });\n        }\n        dispatch({\n          type: \"CHAIRMAN_BOARD\",\n          payload: response.data\n        });\n        \n      }\n    };\n  };\n\n  \n  export const boesubmit = (fboard,fgrpname,screen) => {\n    return async function(dispatch, getState) {\n      const state = getState();    \n      dispatch({\n        type: \"CLEAR_CREATE_BOE\"\n      });\n      const response = await univadmin.get(\"/app.php\", {\n        params: {\n          a: \"loadsubmitBOE\",        \n          univcode: state.user.fcuruniv,\n          fboard: state.boeChairmanBoard.fboard ,\n          fgrpname: state.boeChairmanBoard.fgrpname,\n          screen:screen, \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: \"BOE_TEACHERS\",\n          payload: response.data\n        });\n      }\n    };\n  };\n\n  export const changeteachlist = (e,data,i) =>{\n    return{\n      type:\"CHANGE_TEACHLIST_BOE\",\n      payload:{ e, data, i}\n    };\n  };\n\n\n  \n  export const createboe = (fboard,fgrpname) => {\n    return async function(dispatch, getState) {\n      const state = getState();    \n      dispatch({\n        type: \"CLEAR_CREATE_BOE\"\n      });\n      const response = await univadmin.post(\n        \"/app.php?a=createBOENEW&univcode=\"+ state.user.fcuruniv, \n      {\n        body: {        \n          fboard: state.boeChairmanBoard.fboard ,\n          fgrpname: state.boeChairmanBoard.fgrpname,\n          crtboe: state.boeteachlist,\n          user:state.user,          \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        const error = { header: \"Success\", content: response.data.data.msg };\n        dispatch(showError(error));\n        history.push(\n          \"/createboe\" \n        );\n      }\n    };\n  };\n\n\n  export const changegrpname = (data) =>{\n    return{\n      type:\"CHANGE_BOE_GRPNAME\",\n      payload: {data}\n    };\n  };\n  export const changeboard = (data) =>{\n    return{\n      type:\"CHANGE_BOE_BOARD\",\n      payload: {data}\n    };\n  };\n  "],"sourceRoot":""}