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.12.76.168
{"version":3,"sources":["pages/create-boe/addboe.js"],"names":["_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","this","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","delegateYield","connect","state","board","boeChairmanBoard","res","boedtt","user","boeteachlist","screen","changedeggrploadboard","getchairmandet","boesubmit","changeteachlist","createboe","changegrpname","changeboard","props","_useState","useState","_useState2","_slicedToArray","fboard","_useState3","_useState4","fgrpname","_useState5","_useState6","table","settable","useEffect","_initfn","_asyncToGenerator","_callee","funcparam","_context","match","params","chaircode","fuserid","apply","arguments","initfn","wheight","wHeight","DropdownBordOption","grpnameoptions","vlu","text","fboardname","map","item","fboardcode","split","el","React","createElement","Fragment","className","Card","fluid","Content","Header","style","display","Link","to","pathname","Button","basic","color","content","icon","onClick","Divider","Description","height","concat","overflowY","Form","Field","Dropdown","placeholder","selection","search","options","onChange","data","Table","celled","padded","selectable","structured","size","marginTop","fontSize","Row","HeaderCell","width","singleLine","textAlign","Body","key","Cell","fcollcode","fteachcode","fteachname","fscale","fmobile","_defineProperty","Checkbox","checked","fdeleted","fdel","changeCell"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U,SACVrC,MAAO,CAAEgC,SAAU,UAElB3L,EAAI,GAEPmJ,IAAAC,cAACgC,IAAMe,KAAI,CACTH,UAAU,SACVrC,MAAO,CAAEgC,SAAU,UAElBzC,EAAGkD,WAENjD,IAAAC,cAACgC,IAAMe,KAAI,CACTH,UAAU,SACVrC,MAAO,CAAEgC,SAAU,UAElBzC,EAAGmD,YAENlD,IAAAC,cAACgC,IAAMe,KAAI,CACTH,UAAU,OACVrC,MAAO,CAAEgC,SAAU,UAElBzC,EAAGoD,YAENnD,IAAAC,cAACgC,IAAMe,KAAI,CACTH,UAAU,SACVrC,MAAO,CAAEgC,SAAU,UAElBzC,EAAGqD,QAENpD,IAAAC,cAACgC,IAAMe,KAAI,CACTH,UAAU,SACVrC,MAAO,CAAEgC,SAAU,UAElBzC,EAAGsD,SAENrD,IAAAC,cAACgC,IAAMe,KAAIM,YAAA,CACTT,UAAU,SACVrC,MAAO,CAAEgC,SAAU,UAAU,YACnB,UAEVxC,IAAAC,cAACuB,IAAK+B,SAAQ,CACZ3M,MAAOmJ,EAAGmD,WACV5H,KAAK,WACLkI,QAAwB,KAAfzD,EAAG0D,SACZ1B,SAAU,SAAC5L,EAAG6L,GAAI,OAlO7B,SAAC7L,EAAG6L,EAAMnL,GAC3B,IAAI6M,EAAOvN,EAAEqN,QAAU,IAAM,IAC7B9F,EAAMJ,gBAAgBnH,EAAGuN,EAAM7M,GAgOoB8M,CAAW3B,EAAMjC,EAAIlJ,aAS1D","file":"static/js/294.8c286474.chunk.js","sourcesContent":["import React, { useState, useEffect, useRef } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { connect } from \"react-redux\";\r\nimport {\r\n Card,\r\n Divider,\r\n Button,\r\n Form,\r\n Dropdown,\r\n Table,\r\n} from \"semantic-ui-react\";\r\nimport { ReportAPI } from \"../../apis/consts\";\r\nimport { wHeight } from \"../parms\";\r\nimport {\r\n getchairmandet,\r\n boesubmit,\r\n changeteachlist,\r\n createboe,\r\n changegrpname,\r\n changeboard,\r\n} from \"./../../actions/create-boe/boeform\";\r\nimport { changedeggrploadboard } from \"./../../actions/after-exam/valuation\";\r\n\r\nfunction AddCreateBOE(props) {\r\n const [fboard, setboard] = useState(\"\");\r\n const [fgrpname, setgrpname] = useState(\"\");\r\n const [table, settable] = useState(false);\r\n\r\n useEffect(() => {\r\n async function initfn() {\r\n let funcparam = \"\";\r\n if (props.match.params.screen == \"create\") {\r\n funcparam = funcparam = {\r\n chaircode: props.user.fuserid,\r\n screen: \"create\",\r\n fboard: \"\",\r\n fgrpname: \"\",\r\n };\r\n } else if (props.match.params.screen == \"edit\") {\r\n funcparam = {\r\n chaircode: props.user.fuserid,\r\n screen: \"edit\",\r\n fboard: props.match.params.fboard,\r\n fgrpname: props.match.params.fgrpname,\r\n };\r\n }\r\n await props.getchairmandet(funcparam);\r\n }\r\n initfn();\r\n }, []);\r\n\r\n const handleSubmit = () => {\r\n props.boesubmit(fboard, fgrpname, props.match.params.screen);\r\n settable(true);\r\n };\r\n\r\n const changeCell = (e, data, i) => {\r\n let fdel = e.checked ? \"F\" : \"T\";\r\n props.changeteachlist(e, fdel, i);\r\n };\r\n\r\n const handleCreate = () => {\r\n props.createboe(fboard, fgrpname);\r\n };\r\n\r\n // const changegrpname = (e, data) =>{\r\n // props.chan\r\n // }\r\n\r\n const wheight = wHeight();\r\n let DropdownBordOption = [];\r\n let grpnameoptions = [];\r\n if (props.screen == \"edit\") {\r\n let vlu = props.board[0];\r\n DropdownBordOption.push({\r\n value: vlu.fboard,\r\n text: vlu.fboardname,\r\n });\r\n\r\n grpnameoptions.push({\r\n value: vlu.fgrpname,\r\n text: vlu.fgrpname,\r\n });\r\n } else {\r\n props.board.map((item) => {\r\n DropdownBordOption.push({\r\n value: item.fboardcode,\r\n text: item.fboardname,\r\n });\r\n });\r\n\r\n props.board.map((item) => {\r\n var spl = item.fgrpname.split(\"*\");\r\n spl.map((el) => {\r\n grpnameoptions.push({\r\n value: el,\r\n text: el,\r\n });\r\n });\r\n });\r\n }\r\n return (\r\n <>\r\n <div className=\"animated fadeIn\">\r\n <Card fluid>\r\n <Card.Content>\r\n <Card.Header style={{ display: \"flex\" }}>\r\n <h4>Create BOE</h4>\r\n <div className=\"ml-auto\">\r\n <Link\r\n to={{\r\n pathname: `/createboe`,\r\n }}\r\n >\r\n <Button\r\n basic\r\n color=\"blue\"\r\n content=\"Back\"\r\n // onClick={this.handleSave}\r\n icon=\"angle double left\"\r\n />\r\n </Link>\r\n <Button\r\n basic\r\n color=\"green\"\r\n content=\"Save\"\r\n icon=\"file\"\r\n onClick={handleCreate}\r\n />\r\n\r\n <Link to=\"/dashboard\">\r\n <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\r\n </Link>\r\n </div>\r\n </Card.Header>\r\n <Divider />\r\n <Card.Description\r\n style={{ height: `${wheight}px`, overflowY: \"auto\" }}\r\n >\r\n <div className=\"col-md-6\">\r\n <Form>\r\n <Form.Field>\r\n <label> Select Board</label>\r\n <Dropdown\r\n placeholder=\"Select Board\"\r\n name=\"fboard\"\r\n value={props.boedtt.fboard}\r\n selection\r\n search\r\n options={DropdownBordOption}\r\n onChange={(e, data) => {\r\n props.changeboard(data.value);\r\n }}\r\n />\r\n </Form.Field>\r\n <Form.Field>\r\n <label> Group Name</label>\r\n <Dropdown\r\n placeholder=\"Select Group Name\"\r\n name=\"fgrpname\"\r\n value={props.boedtt.fgrpname}\r\n selection\r\n search\r\n options={grpnameoptions}\r\n onChange={(e, data) => {\r\n props.changegrpname(data.value);\r\n }}\r\n />\r\n </Form.Field>\r\n\r\n <Button color=\"blue\" onClick={handleSubmit}>\r\n Submit\r\n </Button>\r\n </Form>\r\n </div>\r\n {table == true || props.screen == \"edit\" ? (\r\n <div className=\"ui mini form\">\r\n <Table\r\n celled\r\n padded\r\n selectable\r\n structured\r\n size=\"small\"\r\n color=\"olive\"\r\n style={{ marginTop: \"25px\" }}\r\n >\r\n <Table.Header style={{ fontSize: \"1.2em\" }}>\r\n <Table.Row>\r\n <Table.HeaderCell\r\n style={{ width: \"5%\" }}\r\n singleLine\r\n textAlign=\"center\"\r\n >\r\n <label>Sl. No.</label>\r\n </Table.HeaderCell>\r\n <Table.HeaderCell\r\n style={{ width: \"7%\" }}\r\n textAlign=\"center\"\r\n >\r\n <label>College code</label>\r\n </Table.HeaderCell>\r\n <Table.HeaderCell\r\n style={{ width: \"7%\" }}\r\n textAlign=\"center\"\r\n >\r\n <label>Teacher code</label>\r\n </Table.HeaderCell>\r\n <Table.HeaderCell\r\n style={{ width: \"20%\" }}\r\n textAlign=\"center\"\r\n >\r\n <label>Teacher Name</label>\r\n </Table.HeaderCell>\r\n <Table.HeaderCell\r\n style={{ width: \"7%\" }}\r\n textAlign=\"center\"\r\n >\r\n <label>Scale</label>\r\n </Table.HeaderCell>\r\n <Table.HeaderCell\r\n style={{ width: \"7%\" }}\r\n textAlign=\"center\"\r\n >\r\n <label>Mobile No.</label>\r\n </Table.HeaderCell>\r\n <Table.HeaderCell\r\n style={{ width: \"7%\" }}\r\n textAlign=\"center\"\r\n >\r\n <label>Select</label>\r\n </Table.HeaderCell>\r\n </Table.Row>\r\n </Table.Header>\r\n <Table.Body>\r\n {props.boeteachlist.map((el, i) => {\r\n return (\r\n <Table.Row key={i}>\r\n <Table.Cell\r\n textAlign=\"center\"\r\n style={{ fontSize: \"1.2em\" }}\r\n >\r\n {i + 1}\r\n </Table.Cell>\r\n <Table.Cell\r\n textAlign=\"center\"\r\n style={{ fontSize: \"1.2em\" }}\r\n >\r\n {el.fcollcode}\r\n </Table.Cell>\r\n <Table.Cell\r\n textAlign=\"center\"\r\n style={{ fontSize: \"1.2em\" }}\r\n >\r\n {el.fteachcode}\r\n </Table.Cell>\r\n <Table.Cell\r\n textAlign=\"left\"\r\n style={{ fontSize: \"1.2em\" }}\r\n >\r\n {el.fteachname}\r\n </Table.Cell>\r\n <Table.Cell\r\n textAlign=\"center\"\r\n style={{ fontSize: \"1.2em\" }}\r\n >\r\n {el.fscale}\r\n </Table.Cell>\r\n <Table.Cell\r\n textAlign=\"center\"\r\n style={{ fontSize: \"1.2em\" }}\r\n >\r\n {el.fmobile}\r\n </Table.Cell>\r\n <Table.Cell\r\n textAlign=\"center\"\r\n style={{ fontSize: \"0.5em\" }}\r\n textAlign=\"center\"\r\n >\r\n <Form.Checkbox\r\n value={el.fteachcode}\r\n name=\"fdeleted\"\r\n checked={el.fdeleted == \"F\"}\r\n onChange={(e, data) => changeCell(data, el, i)}\r\n />\r\n </Table.Cell>\r\n </Table.Row>\r\n );\r\n })}\r\n </Table.Body>\r\n </Table>\r\n </div>\r\n ) : null}\r\n </Card.Description>\r\n </Card.Content>\r\n </Card>\r\n </div>\r\n </>\r\n );\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n board: state.boeChairmanBoard.res,\r\n boedtt: state.boeChairmanBoard,\r\n user: state.user,\r\n boeteachlist: state.boeteachlist,\r\n screen: state.boeChairmanBoard.screen,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, {\r\n changedeggrploadboard,\r\n getchairmandet,\r\n boesubmit,\r\n changeteachlist,\r\n createboe,\r\n changegrpname,\r\n changeboard,\r\n})(AddCreateBOE);\r\n"],"sourceRoot":""}
|