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.224.44.233
{"version":3,"file":"static/js/718.821f7594.chunk.js","mappings":"8PAIO,MAAMA,EAAiBC,MAAOC,EAAUC,EAAWC,EAAWC,KACnEH,EAASI,GAAQ,IACjB,UACQC,EAAAA,EAAAA,GAAM,CACVC,OAAQ,MACRC,IACEC,EAAAA,EAAAA,2BAGAP,EACA,cACAC,EACA,YACAC,IACDM,MAAMC,IACP,GAA2B,GAAvBA,EAAIC,KAAKC,WAWX,OALAZ,EAAS,CACPa,KAAM,yBACNC,QAAS,UAEXC,EAAAA,EAAAA,GAAML,EAAIC,KAAKA,KAAKK,KATpBhB,EAAS,CACPa,KAAM,mBACNC,QAASJ,EAAIC,KAAKA,MAStB,GAEJ,CAAE,MAAOM,GACPjB,EAASI,GAAQ,KACjBW,EAAAA,EAAAA,GAAME,EACR,GAGIb,EAAWc,IACR,CACLL,KAAM,UACNM,KAAMD,IAIGE,EAAgBrB,MAAOC,EAAUqB,KAC5CrB,EAASI,GAAQ,IACjB,UACQC,EAAAA,EAAAA,GAAM,CACVC,OAAQ,MACRC,IAAKC,EAAAA,EAAAA,qBAAuCa,IAC3CZ,MAAMC,IACP,GAA2B,GAAvBA,EAAIC,KAAKC,WAWX,OALAZ,EAAS,CACPa,KAAM,mBACNC,QAAS,UAEXC,EAAAA,EAAAA,GAAML,EAAIC,KAAKA,KAAKK,KATpBhB,EAAS,CACPa,KAAM,aACNC,QAASJ,EAAIC,KAAKA,MAStB,GAEJ,CAAE,MAAOM,GACPjB,EAASI,GAAQ,KACjBW,EAAAA,EAAAA,GAAME,EACR,GAGWK,EAAgBvB,MAC3BC,EACAqB,EACAE,EACAtB,EACAC,EACAsB,KAEAxB,EAASI,GAAQ,IACjB,UACQC,EAAAA,EAAAA,GAAM,CACVC,OAAQ,MACRC,IACEC,EAAAA,EAAAA,0BAGAa,EACA,WACAE,EACA,cACAt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nB,WAClBkE,EAAW/C,GACXiD,EAAU,UAEJ/C,EAAAA,EAAAA,IAAcpB,EAAUkB,EAAM,EA4DtByF,CAAYzF,EAAM,QAIxBuE,EAAAA,EAAAA,MAACW,EAAAA,EAAG,CAACC,KAAM,EAAEnB,SAAA,EACXD,EAAAA,EAAAA,KAAA,SAAAC,SAAO,UACPD,EAAAA,EAAAA,KAACqB,EAAAA,EAAM,CACLC,YAAU,EACVC,YAAY,SACZlB,MAAO,CAAEC,MAAO,QAChBkB,QAAS5B,EACT3D,MAAOU,EACP8E,SAAWxF,IACTiD,EAAUjD,EAAM,QAItBuE,EAAAA,EAAAA,MAACW,EAAAA,EAAG,CAACC,KAAM,EAAEnB,SAAA,EACXD,EAAAA,EAAAA,KAAA,SAAAC,SAAO,sBACPD,EAAAA,EAAAA,KAAA,UACAA,EAAAA,EAAAA,KAAC2B,EAAAA,EAAK,CACJ/F,KAAK,OACLK,MAAOgC,EACPwD,SAAWG,GAAMzC,EAAYyC,EAAEC,OAAO5F,aAG1CuE,EAAAA,EAAAA,MAACW,EAAAA,EAAG,CAACC,KAAM,EAAEnB,SAAA,EACXD,EAAAA,EAAAA,KAAA,SAAAC,SAAO,QACPD,EAAAA,EAAAA,KAAA,UACAA,EAAAA,EAAAA,KAAC2B,EAAAA,EAAK,CACJ/F,KAAK,OACLK,MAAOiC,EACPuD,SAAWG,GAAMxC,EAAWwC,EAAEC,OAAO5F,oBAM3C,G","sources":["Actions/PracticalMarks/batchPrepration.js","Pages/Practical_Marks/PracticalDailyReport.js"],"sourcesContent":["import axios from \"axios\";\nimport { base_url } from \"../../Components/consts/api\";\nimport { Alert } from \"../../Components/Alert\";\n\nexport const getdegreeNames = async (dispatch, fcollcode, fusertype, fuser) => {\n dispatch(loading(true));\n try {\n await axios({\n method: \"GET\",\n url:\n base_url +\n \"getdegreeNames\" +\n \"&collcode=\" +\n fcollcode +\n \"&fusertype=\" +\n fusertype +\n \"&fuserid=\" +\n fuser,\n }).then((res) => {\n if (res.data.error_code == 0) {\n dispatch({\n type: \"BATCH_PREPRATION\",\n payload: res.data.data,\n });\n } else {\n dispatch({\n type: \"CLEAR_BATCH_PREPRATION\",\n payload: [],\n });\n Alert(res.data.data.msg);\n return;\n }\n });\n } catch (Error) {\n dispatch(loading(false));\n Alert(Error);\n }\n};\n\nconst loading = (value) => {\n return {\n type: \"LOADING\",\n load: value,\n };\n};\n\nexport const getExamDetail = async (dispatch, fdegree) => {\n dispatch(loading(true));\n try {\n await axios({\n method: \"GET\",\n url: base_url + \"getExamNo\" + \"&fdegree=\" + fdegree,\n }).then((res) => {\n if (res.data.error_code == 0) {\n dispatch({\n type: \"BATCH_EXAM\",\n payload: res.data.data,\n });\n } else {\n dispatch({\n type: \"CLEAR_BATCH_EXAM\",\n payload: [],\n });\n Alert(res.data.data.msg);\n return;\n }\n });\n } catch (Error) {\n dispatch(loading(false));\n Alert(Error);\n }\n};\n\nexport const getSubjectdet = async (\n dispatch,\n fdegree,\n fexmNo,\n fcollcode,\n fusertype,\n ftechcode\n) => {\n dispatch(loading(true));\n try {\n await axios({\n method: \"GET\",\n url:\n base_url +\n \"getSubjCodeDet\" +\n \"&fdegree=\" +\n fdegree +\n \"&fexmNo=\" +\n fexmNo +\n \"&fcollcode=\" +\n fcollcode +\n \"&fusertype=\" +\n fusertype +\n \"&userID=\" +\n ftechcode,\n }).then((res) => {\n if (res.data.error_code == 0) {\n dispatch({\n type: \"SUBJ_CODE\",\n payload: res.data.data,\n });\n } else {\n dispatch({\n type: \"CLEAR_SUBJ_CODE\",\n payload: [],\n });\n Alert(res.data.data.msg);\n return;\n }\n });\n } catch (Error) {\n dispatch(loading(false));\n Alert(Error);\n }\n};\n\nexport const getVivaSubDetail = async (\n dispatch,\n fdegree,\n fexmNo,\n fcollcode,\n fsubcode\n) => {\n dispatch(loading(true));\n try {\n await axios({\n method: \"GET\",\n url:\n base_url +\n \"getVivaSubDetail\" +\n \"&fdegree=\" +\n fdegree +\n \"&fexmNo=\" +\n fexmNo +\n \"&fcollcode=\" +\n fcollcode +\n \"&fsubcode=\" +\n fsubcode,\n }).then((res) => {\n if (res.data.error_code == 0) {\n dispatch({\n type: \"VIVA_SUB\",\n payload: res.data.data,\n });\n return;\n } else {\n dispatch({\n type: \"CLEAR_VIVA_SUB\",\n payload: [],\n });\n // Alert(res.data.data.msg);\n return;\n }\n });\n } catch (Error) {\n dispatch(loading(false));\n Alert(Error);\n }\n};\n\nexport const getStdRegDet = async (\n dispatch,\n fdegree,\n exmval,\n subVal,\n stdPerBt,\n startBat,\n fcollcode,\n fusertype,\n fteachcode,\n scrtype,\n batchNo,\n vivaSubVal\n) => {\n let api = \"\";\n if (scrtype == \"batch\") {\n api = \"GetBatchWiseRegNos\";\n } else if (scrtype == \"entry\") {\n api = \"GetPracticalMarksRegNos\";\n }\n dispatch(loading(true));\n try {\n await axios({\n method: \"GET\",\n url:\n base_url +\n api +\n \"&fdegree=\" +\n fdegree +\n \"&fexmNo=\" +\n exmval +\n \"&subVal=\" +\n subVal +\n \"&stdPerBt=\" +\n stdPerBt +\n \"&startBat=\" +\n startBat +\n \"&fcollcode=\" +\n fcollcode +\n \"&fusertype=\" +\n fusertype +\n \"&fteachcode=\" +\n fteachcode +\n \"&batchNo=\" +\n batchNo +\n \"&vivaSubVal=\" +\n vivaSubVal,\n }).then((res) => {\n if (res.data.error_code == 0) {\n dispatch({\n type: \"BATCH_REGNO\",\n payload: res.data.data,\n });\n } else {\n dispatch({\n type: \"CLEAR_BATCH_REGNO\",\n payload: [],\n });\n Alert(res.data.data.msg);\n return;\n }\n });\n } catch (Error) {\n dispatch(loading(false));\n Alert(Error);\n }\n};\n\nexport const saveBatchWiseDetails = async (dispatch, formdata, scrtype) => {\n let api = \"\";\n if (scrtype == \"batch\") api = \"saveBatchWiseData\";\n else if (scrtype == \"entry\") api = \"savePractMarks\";\n dispatch(loading(true));\n try {\n await axios.post(base_url + api, formdata).then((res) => {\n if (res.data.error_code === 0) {\n Alert(res.data.data.msg);\n dispatch(loading(false));\n } else {\n Alert(res.data.data.msg);\n dispatch(loading(false));\n return;\n }\n });\n } catch (err) {\n dispatch(loading(false));\n Alert(err);\n }\n};\n\nexport const getPractEnterFeeze = async (\n dispatch,\n fdegree,\n exmval,\n subVal,\n fcollcode,\n fusertype\n) => {\n dispatch(loading(true));\n try {\n await axios({\n method: \"GET\",\n url:\n base_url +\n \"getPrctEntrFrzeDet\" +\n \"&fdegree=\" +\n fdegree +\n \"&fexmNo=\" +\n exmval +\n \"&subVal=\" +\n subVal +\n \"&fcollcode=\" +\n fcollcode +\n \"&fusertype=\" +\n fusertype,\n }).then((res) => {\n if (res.data.error_code == 0) {\n dispatch({\n type: \"PRCT_FRZE_DET\",\n payload: res.data.data,\n });\n } else {\n dispatch({\n type: \"CLEAR_PRCT_FRZE_DET\",\n payload: [],\n });\n Alert(res.data.data.msg);\n return;\n }\n });\n } catch (Error) {\n dispatch(loading(false));\n Alert(Error);\n }\n};\n\nexport const saveFreezePracticalMaks = async (dispatch, formdata) => {\n dispatch(loading(true));\n try {\n await axios.post(base_url + \"FreezePracticalMaks\", formdata).then((res) => {\n if (res.data.error_code === 0) {\n Alert(res.data.data.msg);\n dispatch(loading(false));\n } else {\n Alert(res.data.data.msg);\n dispatch(loading(false));\n return;\n }\n });\n } catch (err) {\n dispatch(loading(false));\n Alert(err);\n }\n};\n\nexport const generateBatchReport = async (\n frmBatch,\n toBatch,\n fdegree,\n exmval,\n subVal,\n reportTyp,\n fcollcode\n) => {\n let url = \"\";\n if (reportTyp == \"BatchReport\") url = \"GenerateBatchSetupDetails\";\n else if (reportTyp == \"WorkSheet\") url = \"GenerateBatchWorkSheets\";\n else if (reportTyp == \"InvigilatorDairy\") url = \"GenerateAttendanceSheets\";\n\n window.open(\n base_url +\n url +\n \"&collcode=\" +\n fcollcode +\n \"&frmBatch=\" +\n frmBatch +\n \"&toBatch=\" +\n toBatch +\n \"&fdegree=\" +\n fdegree +\n \"&exmval=\" +\n exmval +\n \"&subVal=\" +\n subVal\n );\n};\n\nexport const generateDailyRep = async (\n fdegree,\n exmval,\n batchFrm,\n batchTo,\n fcollcode\n) => {\n window.open(\n base_url +\n \"Generatetopsheet\" +\n \"&fcollcode=\" +\n fcollcode +\n \"&batchTo=\" +\n batchTo +\n \"&batchFrm=\" +\n batchFrm +\n \"&fdegree=\" +\n fdegree +\n \"&exmval=\" +\n exmval\n );\n};\n","import React, { useState, useEffect } from \"react\";\nimport { Card, Space, Button, Select, Col, Row, Input } from \"antd\";\nimport { useDispatch, connect } from \"react-redux\";\nimport {\n getdegreeNames,\n getExamDetail,\n generateDailyRep,\n} from \"../../Actions/PracticalMarks/batchPrepration\";\nimport { Alert } from \"../../Components/Alert\";\n\nconst PracticalDailyRep = (props) => {\n const dispatch = useDispatch();\n\n const [fdegree, setFdegree] = useState(\"\");\n const [exmval, setExmVal] = useState(\"\");\n const [batchFrm, setBatchFrm] = useState(\"0\");\n const [batchTo, setBatchTo] = useState(\"z\");\n\n useEffect(() => {\n getdegreeNames(\n dispatch,\n props.user.fcollcode,\n props.user.fusertype,\n props.user.fuser\n );\n }, []);\n\n const degreeOptions = props.degreeData.map((degree) => ({\n label: degree.FDEGREE + \" - \" + degree.FDESCPN,\n value: degree.FDEGREE,\n }));\n\n const getExamData = async (value) => {\n setFdegree(value);\n setExmVal(\"\");\n\n await getExamDetail(dispatch, value);\n };\n\n const exmOpt = props.examDet.map((exm) => ({\n label: exm.fexamno + \" - \" + exm.fexamname,\n value: exm.fexamno,\n }));\n\n const generateReport = async () => {\n if (fdegree == \"\") {\n Alert(\"Select Degree\");\n return;\n }\n if (exmval == \"\") {\n Alert(\"Select Exam\");\n return;\n }\n generateDailyRep(fdegree, exmval, batchFrm, batchTo, props.user.fcollcode);\n };\n\n const cleadData = async () => {\n setFdegree(\"\");\n setExmVal(\"\");\n setBatchFrm(\"0\");\n setBatchTo(\"z\");\n };\n\n return (\n <div>\n <Card\n hoverable\n title=\"Practical Daily Report\"\n style={{ width: \"100%\" }}\n extra={\n <Space direction=\"horizontal\">\n <Button\n className=\"report\"\n onClick={() => {\n generateReport();\n }}\n >\n Report\n </Button>\n <Button className=\"clear\" onClick={() => cleadData()}>\n Clear\n </Button>\n </Space>\n }\n >\n <div style={{ marginBottom: \"20px\" }}>\n <Row gutter={16}>\n <Col span={8}>\n <label>Degree</label>\n <Select\n showSearch\n placeholder=\"Select\"\n style={{ width: \"100%\" }}\n options={degreeOptions}\n value={fdegree}\n onChange={(value) => {\n getExamData(value);\n }}\n />\n </Col>\n <Col span={4}>\n <label>Exam</label>\n <Select\n showSearch\n placeholder=\"Select\"\n style={{ width: \"100%\" }}\n options={exmOpt}\n value={exmval}\n onChange={(value) => {\n setExmVal(value);\n }}\n />\n </Col>\n <Col span={4}>\n <label>Batch Range From</label>\n <br />\n <Input\n type=\"text\"\n value={batchFrm}\n onChange={(e) => setBatchFrm(e.target.value)}\n />\n </Col>\n <Col span={4}>\n <label>To</label>\n <br />\n <Input\n type=\"text\"\n value={batchTo}\n onChange={(e) => setBatchTo(e.target.value)}\n />\n </Col>\n </Row>\n </div>\n </Card>\n </div>\n );\n};\n\nconst mapStateToProps = (state) => {\n return {\n user: state.AuthReducer.userData,\n loading: state.degreeReducer.loading,\n degreeData: state.pradegree.degreeData,\n examDet: state.examDetl.examDetails,\n };\n};\n\nexport default connect(mapStateToProps)(PracticalDailyRep);\n"],"names":["getdegreeNames","async","dispatch","fcollcode","fusertype","fuser","loading","axios","method","url","base_url","then","res","data","error_code","type","payload","Alert","msg","Error","value","load","getExamDetail","fdegree","getSubjectdet","fexmNo","ftechcode","getVivaSubDetail","fsubcode","getStdRegDet","exmval","subVal","stdPerBt","startBat","fteachcode","scrtype","batchNo","vivaSubVal","api","saveBatchWiseDetails","formdata","post","err","getPractEnterFeeze","saveFreezePracticalMaks","generateBatchReport","frmBatch","toBatch","reportTyp","window","open","generateDailyRep","batchFrm","batchTo","connect","state","user","AuthReducer","userData","degreeReducer","degreeData","pradegree","examDet","examDetl","examDetails","props","useDispatch","setFdegree","useState","setExmVal","setBatchFrm","setBatchTo","useEffect","degreeOptions","map","degree","label","FDEGREE","FDESCPN","exmOpt","exm","fexamno","fexamname","_jsx","children","Card","hoverable","title","style","width","extra","_jsxs","Space","direction","Button","className","onClick","generateReport","cleadData","marginBottom","Row","gutter","Col","span","Select","showSearch","placeholder","options","onChange","getExamData","Input","e","target"],"sourceRoot":""}
|