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.149.242.223
Current Path : /var/www/college/static/js/ |
| Current File : /var/www/college/static/js/629.7d583be5.chunk.js.map |
{"version":3,"file":"static/js/629.7d583be5.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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K9H,UACZ,EAudiD+P,GAAmB9L,SAAC,eAKhEC,EAAAA,EAAAA,KAACkD,EAAAA,EAAG,CAACC,OAAQ,MACb1D,EAAAA,EAAAA,MAACqL,EAAAA,EAAI,CAACjI,MAAM,eAAc9C,SAAA,EACxBC,EAAAA,EAAAA,KAAA,KAAAD,SAAG,+FAIHC,EAAAA,EAAAA,KAAA,KAAAD,SAAG,mHAIHC,EAAAA,EAAAA,KAAA,KAAAD,SAAG,sEAGHC,EAAAA,EAAAA,KAAA,KAAAD,SAAG,4HAIHC,EAAAA,EAAAA,KAAA,KAAAD,SAAG,4GAMG,GAAT4F,GACC3F,EAAAA,EAAAA,KAAC8L,EAAAA,EAAK,CACJC,OAAQ,CAAEC,EAAG,IAAKC,EAAG,KACrBC,UAAQ,EACRtC,QAASA,EACTuC,WAAY5G,EACZxE,KAAK,UAEL,SAENf,EAAAA,EAAAA,KAACoM,EAAW,CACVxN,KAAMmH,EACN5D,SAAUA,CAAC3D,EAAUC,EAASC,IACb,IAAXzB,IACFN,EAAAA,EAAAA,GAAM,6BACNqJ,GAAa,IAGD,IAAVxI,IACFb,EAAAA,EAAAA,GAAM,2BACNqJ,GAAa,IAGD,IAAVvI,IACFd,EAAAA,EAAAA,GAAM,8BACNqJ,GAAa,SAGE,IAAbtH,EArLW/C,OAAO6C,EAAUC,EAASC,WACzCH,EAAAA,EAAAA,IACJC,EACAC,EACAxB,EACAO,EACA2H,EACAzG,EACAkG,EAAMhB,KAAK/H,UACZ,EAgLKwQ,CAAe7N,EAAUC,EAASC,IAHhC/B,EAAAA,EAAAA,GAAM,8BAKVyF,OAAQA,IAAM4D,GAAa,OAEzB,G","sources":["Actions/PracticalMarks/batchPrepration.js","Components/datatable.js","Components/BatchReport.js","Pages/Practical_Marks/batchWsTimeTab.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 { Input, Button, Space } from \"antd\";\nimport { SearchOutlined } from \"@ant-design/icons\";\n\nexport const getColumnSearchProps = (dataIndex) => ({\n filterDropdown: ({\n setSelectedKeys,\n selectedKeys,\n confirm,\n clearFilters,\n close,\n }) => (\n <div\n style={{\n padding: 8,\n }}\n onKeyDown={(e) => e.stopPropagation()}\n >\n <Input\n autoFocus\n placeholder={`Search ${dataIndex}`}\n value={selectedKeys}\n onChange={(e) =>\n setSelectedKeys(e.target.value ? [e.target.value] : [])\n }\n onPressEnter={() => {\n confirm();\n }}\n style={{\n marginBottom: 8,\n display: \"block\",\n }}\n />\n <Space>\n <Button\n type=\"primary\"\n onClick={() => confirm()}\n icon={<SearchOutlined />}\n size=\"small\"\n style={{\n width: 90,\n }}\n >\n Search\n </Button>\n <Button\n onClick={() => {\n clearFilters();\n confirm();\n }}\n size=\"small\"\n style={{\n width: 90,\n }}\n >\n Reset\n </Button>\n </Space>\n </div>\n ),\n filterIcon: (filtered) => (\n <SearchOutlined\n style={{\n color: filtered ? \"#CFFF8D\" : \"#fff\",\n }}\n />\n ),\n onFilter: (value, record) =>\n record[dataIndex].toString().toLowerCase().includes(value.toLowerCase()),\n});\n\nexport const filterOption = (input, option) =>\n option.value.toString().toLowerCase().indexOf(input.toLowerCase()) >= 0 ||\n option.label.toString().toLowerCase().indexOf(input.toLowerCase()) >= 0;\n\nexport const sortWithAlphabets = (a, b, index) =>\n a[index].localeCompare(b[index]);\n","import React, { useState } from \"react\";\nimport { Button, Modal, Input, Row, Col, Select } from \"antd\";\n\nconst BatchReport = ({ open, Generate, cancel }) => {\n const [modal2Open, setModal2Open] = useState(false);\n const [frmBatch, setFrmBatch] = useState(\"0\");\n const [toBatch, setToBatch] = useState(\"z\");\n const [reportTyp, setReportTyp] = useState(\"\");\n\n const reportOpt = [\n { key: \"Batch Report\", value: \"BatchReport\", text: \"Batch Report\" },\n { key: \"Work Sheet\", value: \"WorkSheet\", text: \"Work Sheet\" },\n {\n key: \"Invigilator Dairy\",\n value: \"InvigilatorDairy\",\n text: \"Invigilator Dairy\",\n },\n ];\n\n return (\n <>\n <Modal\n title=\"Report Type\"\n centered\n open={open}\n onOk={() => Generate(frmBatch, toBatch, reportTyp)}\n onCancel={cancel}\n okText=\"Generate\"\n >\n <Row gutter={16}>\n <Col span={8}>\n <Select\n options={reportOpt}\n style={{ width: \"100%\" }}\n value={reportTyp}\n onChange={(e) => setReportTyp(e)}\n ></Select>\n </Col>\n </Row>\n <Row gutter={20}>\n <Col span={8}>\n <label>From Batch</label>\n <Input\n type=\"text\"\n value={frmBatch}\n onChange={(e) => setFrmBatch(e.target.value)}\n />\n </Col>\n <Col span={8}>\n <label>To Batch</label>\n <Input\n type=\"text\"\n value={toBatch}\n onChange={(e) => setToBatch(e.target.value)}\n />\n </Col>\n </Row>\n </Modal>\n </>\n );\n};\n\nexport default BatchReport;\n","import React, { useState, useEffect } from \"react\";\nimport {\n Card,\n Space,\n Button,\n Select,\n Col,\n Row,\n Input,\n Table,\n DatePicker,\n Checkbox,\n} from \"antd\";\nimport { useDispatch, connect } from \"react-redux\";\nimport {\n getdegreeNames,\n getExamDetail,\n getSubjectdet,\n getPractEnterFeeze,\n saveFreezePracticalMaks,\n generateBatchReport,\n} from \"../../Actions/PracticalMarks/batchPrepration\";\nimport {\n getColumnSearchProps,\n sortWithAlphabets,\n} from \"../../Components/datatable\";\nimport BatchReport from \"../../Components/BatchReport\";\nimport { useLocation } from \"react-router-dom\";\nimport { Alert } from \"../../Components/Alert\";\nimport { base_url } from \"../../Components/consts/api\";\n\nconst BatchWsTimeTab = (props) => {\n const dispatch = useDispatch();\n let params = useLocation();\n const [fdegree, setFdegree] = useState(\"\");\n const [exmval, setExmVal] = useState(\"\");\n const [subVal, setSubVal] = useState(\"\");\n const [subCode, setSubCode] = useState(\"\");\n const [maxMark, setMaxMark] = useState(\"\");\n const [finTab, setFinTab] = useState([]);\n const [teachOtp, setTeachOtp] = useState([]);\n const [table, setTable] = useState(false);\n const [degData, setDegData] = useState([]);\n const [openModal, setOpenModal] = useState(false);\n const [scrtype, setScrType] = useState(\"\");\n const [title, setTitle] = useState(\"\");\n const [subName, setSubName] = useState(\"\");\n\n useEffect(() => {\n setTable(false);\n let scr = params.pathname;\n let type = scr.split(\"/\");\n setScrType(type[2]);\n if (type[2] == \"timeTab\") {\n setTitle(\"Batch Wise Time Table\");\n } else if (type[2] == \"prFreez\") {\n setTitle(\"Practical Entry Freezing\");\n }\n getdegreeNames(\n dispatch,\n props.user.fcollcode,\n props.user.fusertype,\n props.user.fuser\n );\n }, [params]);\n\n useEffect(() => {\n if (props.fzetimtb !== undefined) {\n let fzetimtb = props.fzetimtb;\n let fintabs = [];\n let tableArr =\n fzetimtb.length > 0\n ? fzetimtb.map((item) => {\n let object = {};\n object.FDEGREE = item.FDEGREE;\n object.FEXAMNO = item.FEXAMNO;\n object.FSUBCODE = item.FSUBCODE;\n object.FBATCH = item.FBATCH;\n object.bcnt = item.bcnt;\n object.FEXAMDATE = item.FEXAMDATE;\n object.FEXAMTIME = item.FEXAMTIME;\n object.FFREEZED = item.FFREEZED;\n object.PRINTFREEZED = item.PRINTFREEZED;\n object.froomname = item.froomname;\n object.fexaminer1 = item.fexaminer1;\n object.fexaminer2 = item.fexaminer2;\n object.fexaminer3 = item.fexaminer3;\n object.fexaminer4 = item.fexaminer4;\n object.fexaminer5 = item.fexaminer5;\n object.fexaminer6 = item.fexaminer6;\n object.marks_entered = item.marks_entered;\n object.printFrzDisabl = true;\n if (item.FFREEZED == \"T\") object.disadb = true;\n else object.disadb = false;\n if (item.marks_entered == 0) {\n object.entyDisable = true;\n object.checked = false;\n object.value = \"T\";\n } else if (item.FFREEZED == \"T\") {\n if (props.user.fusertype == \"S\") object.entyDisable = false;\n else object.entyDisable = true;\n object.checked = true;\n if (item.PRINTFREEZED == \"T\") {\n object.printFrzCheck = true;\n if (props.user.fusertype == \"S\") {\n object.printFrzDisabl = false;\n }\n } else object.printFrzDisabl = false;\n } else {\n object.checked = false;\n }\n console.log(object);\n fintabs.push(object);\n })\n : [];\n var teachOtps = props.teachcode.map((teach) => ({\n label: teach.fteachcode + \" - \" + teach.fteachname,\n value: teach.fteachcode,\n }));\n setTable(true);\n setTeachOtp(teachOtps);\n setFinTab(fintabs);\n }\n }, [props.fzetimtb]);\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 setSubVal(\"\");\n setFinTab([]);\n setTable(false);\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 getSubCode = async (value) => {\n setExmVal(value);\n setSubVal(\"\");\n setFinTab([]);\n setTable(false);\n await getSubjectdet(\n dispatch,\n fdegree,\n value,\n props.user.fcollcode,\n props.user.fusertype,\n props.user.fteachcode\n );\n };\n\n const subOpt = props.subDet.map((sub) => ({\n label: sub.fcsubcode + \" - \" + sub.fsubname,\n value: sub.fcsubcode + \" - \" + sub.fsmaxmarks + \" - \" + sub.fsubname,\n }));\n\n const getPractEnterFee = async () => {\n let splt = subVal.split(\"-\");\n let subCode = splt[0];\n await getPractEnterFeeze(\n dispatch,\n fdegree,\n exmval,\n subCode,\n props.user.fcollcode,\n props.user.fusertype\n );\n };\n\n const setExamDate = async (e, data) => {\n const exmDate = finTab.map((item) => {\n if (\n item.FSUBCODE == data.FSUBCODE &&\n item.FDEGREE == data.FDEGREE &&\n item.FEXAMNO == data.FEXAMNO &&\n item.FBATCH == data.FBATCH\n ) {\n item.FEXAMDATE = e.target.value;\n return item;\n }\n return item;\n });\n setFinTab(exmDate);\n };\n\n const setExamTime = async (e, data) => {\n const exmTme = finTab.map((item) => {\n if (\n item.FSUBCODE == data.FSUBCODE &&\n item.FDEGREE == data.FDEGREE &&\n item.FEXAMNO == data.FEXAMNO &&\n item.FBATCH == data.FBATCH\n ) {\n item.FEXAMTIME = e.target.value;\n return item;\n }\n return item;\n });\n setFinTab(exmTme);\n };\n\n const setRoomName = async (e, data) => {\n const roomName = finTab.map((item) => {\n if (\n item.FSUBCODE == data.FSUBCODE &&\n item.FDEGREE == data.FDEGREE &&\n item.FEXAMNO == data.FEXAMNO &&\n item.FBATCH == data.FBATCH\n ) {\n item.froomname = e.target.value;\n return item;\n }\n return item;\n });\n setFinTab(roomName);\n };\n\n const setExaminer = async (e, data, examinerNo) => {\n const updatedExaminer = finTab.map((item) => {\n if (\n item.FSUBCODE === data.FSUBCODE &&\n item.FDEGREE === data.FDEGREE &&\n item.FEXAMNO === data.FEXAMNO &&\n item.FBATCH === data.FBATCH\n ) {\n switch (examinerNo) {\n case 1:\n item.fexaminer1 = e;\n break;\n case 2:\n item.fexaminer2 = e;\n break;\n case 3:\n item.fexaminer3 = e;\n break;\n case 4:\n item.fexaminer4 = e;\n break;\n case 5:\n item.fexaminer5 = e;\n break;\n case 5:\n item.fexaminer6 = e;\n break;\n default:\n break;\n }\n }\n return item;\n });\n setFinTab(updatedExaminer);\n };\n\n const freezedData = async (e, data, type) => {\n let ffreezed = \"\";\n if (e.target.checked == true) {\n ffreezed = \"T\";\n } else if (e.target.checked == false) {\n ffreezed = \"F\";\n }\n const freezData = finTab.map((item) => {\n if (item.FBATCH === data.FBATCH) {\n if (type == \"entry\") {\n item.FFREEZED = ffreezed;\n item.checked = e.target.checked;\n } else if (type == \"print\") {\n item.PRINTFREEZED = ffreezed;\n item.printFrzCheck = e.target.checked;\n }\n return item;\n }\n return item;\n });\n setFinTab(freezData);\n };\n\n const maincolumns = [\n {\n title: \"Sl. No\",\n render: (_, __, index) => index + 1,\n align: \"center\",\n width: \"5%\",\n },\n {\n title: \"Batch\",\n dataIndex: \"FBATCH\",\n ...getColumnSearchProps(\"FBATCH\"),\n sorter: (a, b) => sortWithAlphabets(a, b, \"FBATCH\"),\n sortDirections: [\"descend\", \"ascend\"],\n align: \"center\",\n width: \"5%\",\n },\n {\n title: \"Stud. Cnt\",\n dataIndex: \"bcnt\",\n ...getColumnSearchProps(\"bcnt\"),\n sorter: (a, b) => sortWithAlphabets(a, b, \"bcnt\"),\n sortDirections: [\"descend\", \"ascend\"],\n width: \"5%\",\n align: \"center\",\n },\n {\n title: \"Exam Date\",\n render: (text, record) => (\n <Input\n type=\"date\"\n value={record.FEXAMDATE}\n disabled={scrtype == \"prFreez\" ? true : record.disadb}\n style={{ width: \"100%\" }}\n onChange={(e) => {\n setExamDate(e, record);\n }}\n />\n ),\n align: \"center\",\n width: \"10%\",\n },\n {\n title: \"Exam Time\",\n render: (text, record) => (\n <Input\n type=\"text\"\n value={record.FEXAMTIME}\n disabled={scrtype == \"prFreez\" ? true : record.disadb}\n style={{ width: \"100%\" }}\n onChange={(e) => {\n setExamTime(e, record);\n }}\n />\n ),\n align: \"center\",\n width: \"10%\",\n },\n {\n title: \"Room Name\",\n render: (text, record) => (\n <Input\n type=\"text\"\n value={record.froomname}\n style={{ width: \"100%\" }}\n onChange={(e) => {\n setRoomName(e, record);\n }}\n disabled={scrtype == \"prFreez\" ? true : false}\n />\n ),\n align: \"center\",\n width: \"10%\",\n },\n ];\n\n const addDisp =\n scrtype == \"timeTab\"\n ? [\n {\n title: \"Examiner 1\",\n render: (text, record) => (\n <Select\n showSearch\n options={teachOtp}\n value={record.fexaminer1}\n style={{ width: \"100%\" }}\n onChange={(e) => {\n setExaminer(e, record, 1);\n }}\n />\n ),\n align: \"center\",\n width: \"10%\",\n },\n {\n title: \"Examiner 2\",\n render: (text, record) => (\n <Select\n showSearch\n options={teachOtp}\n value={record.fexaminer2}\n style={{ width: \"100%\" }}\n onChange={(e) => {\n setExaminer(e, record, 2);\n }}\n />\n ),\n align: \"center\",\n width: \"10%\",\n },\n {\n title: \"Examiner 3\",\n render: (text, record) => (\n <Select\n showSearch\n options={teachOtp}\n value={record.fexaminer3}\n style={{ width: \"100%\" }}\n onChange={(e) => {\n setExaminer(e, record, 3);\n }}\n />\n ),\n align: \"center\",\n width: \"10%\",\n },\n {\n title: \"Examiner 4\",\n render: (text, record) => (\n <Select\n showSearch\n options={teachOtp}\n value={record.fexaminer4}\n style={{ width: \"100%\" }}\n onChange={(e) => {\n setExaminer(e, record, 4);\n }}\n />\n ),\n align: \"center\",\n width: \"10%\",\n },\n {\n title: \"Examiner 5\",\n render: (text, record) => (\n <Select\n showSearch\n options={teachOtp}\n value={record.fexaminer5}\n style={{ width: \"100%\" }}\n onChange={(e) => {\n setExaminer(e, record, 5);\n }}\n />\n ),\n align: \"center\",\n width: \"10%\",\n },\n {\n title: \"Examiner 6\",\n render: (text, record) => (\n <Select\n showSearch\n options={teachOtp}\n value={record.fexaminer6}\n style={{ width: \"100%\" }}\n onChange={(e) => {\n setExaminer(e, record, 5);\n }}\n />\n ),\n align: \"center\",\n width: \"10%\",\n },\n ]\n : [\n {\n title: \"Freeze Entry\",\n render: (text, record) => (\n <div>\n <Checkbox\n disabled={record.entyDisable}\n checked={record.checked}\n onChange={(e) => freezedData(e, record, \"entry\")}\n />\n {\" \"}\n {record.value == \"T\" ? (\n <span style={{ color: \"red\" }}>Pending</span>\n ) : null}\n </div>\n ),\n align: \"center\",\n width: \"10%\",\n },\n {\n title: \"Freeze Print\",\n render: (text, record) => (\n <Checkbox\n disabled={record.printFrzDisabl}\n checked={record.printFrzCheck}\n onChange={(e) => freezedData(e, record, \"print\")}\n />\n ),\n align: \"center\",\n width: \"10%\",\n },\n {\n title: \"Print\",\n render: (text, record) => (\n <span\n style={{\n textAlign: \"center\",\n color: \"blue\",\n }}\n onClick={(e) => GeneratePractMrksReports(record)}\n >\n Report\n </span>\n ),\n align: \"center\",\n width: \"10%\",\n },\n ];\n\n const columns = [...maincolumns, ...addDisp];\n\n const saveData = async () => {\n const formData = new FormData();\n formData.append(\"bathWsTTdata\", JSON.stringify(finTab));\n formData.append(\"fdegree\", fdegree);\n formData.append(\"fexamno\", exmval);\n formData.append(\"fcollcode\", props.user.fcollcode);\n formData.append(\"fsubcode\", subVal);\n saveFreezePracticalMaks(dispatch, formData);\n };\n\n const generateReport = async (frmBatch, toBatch, reportTyp) => {\n await generateBatchReport(\n frmBatch,\n toBatch,\n fdegree,\n exmval,\n subCode,\n reportTyp,\n props.user.fcollcode\n );\n };\n\n const GeneratePractMrksReports = (data) => {\n window.open(\n base_url +\n \"GeneratePracticalMarksReports\" +\n \"°ree=\" +\n fdegree +\n \"&batch_no=\" +\n data.FBATCH +\n \"&time=\" +\n data.FEXAMTIME +\n \"&date_value=\" +\n data.FEXAMDATE +\n \"&sub_name=\" +\n subName +\n \"&exam=\" +\n exmval +\n \"&sub=\" +\n subCode +\n \"&from_qp_code=\" +\n subCode +\n \"&to_qp_code=\" +\n subCode +\n \"&fcollcode=\" +\n props.user.fcollcode\n );\n };\n\n const cleadData = async () => {\n setFdegree(\"\");\n setExmVal(\"\");\n setSubVal(\"\");\n setMaxMark(\"\");\n setFinTab([]);\n setTable(false);\n };\n\n return (\n <div>\n <Card\n hoverable\n title={title}\n style={{ width: \"100%\" }}\n extra={\n <Space direction=\"horizontal\">\n <Button className=\"save\" onClick={() => saveData()}>\n Save\n </Button>\n {scrtype != \"prFreez\" ? (\n <Button\n className=\"report\"\n onClick={() => {\n setOpenModal(true);\n }}\n >\n Report\n </Button>\n ) : null}\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 getSubCode(value);\n }}\n />\n </Col>\n <Col span={6}>\n <label>Subject</label>\n <Select\n showSearch\n placeholder=\"Select\"\n style={{ width: \"100%\" }}\n options={subOpt}\n value={subVal}\n onChange={(value) => {\n const split = value.split(\" - \");\n setSubVal(value);\n setMaxMark(split[1]);\n setSubCode(split[0]);\n setSubName(split[2]);\n }}\n />\n </Col>\n <Col span={2}>\n <label>Max Marks</label>\n <Input style={{ width: \"100%\" }} value={maxMark} disabled />\n </Col>\n <Col span={3} style={{ marginTop: \"1.3rem\" }}>\n <Button className=\"view\" onClick={() => getPractEnterFee()}>\n View\n </Button>\n </Col>\n </Row>\n <Row gutter={16}></Row>\n <Card title=\"Instructions\">\n <p>\n 1. Practical marks entry and freezing should be done on the day of\n practical examination.\n </p>\n <p>\n 2. Marks entry / corrections are not allowed once the marks are\n freezed (Ensure marks entry before freezing).\n </p>\n <p>\n 3. Take print out of practical marks list before \"FREEZE PRINT\".\n </p>\n <p>\n 4. Marks list printing not allowed after print freezing (Ensure\n printing of practical marks list before print freeze).\n </p>\n <p>\n 5. It is mandatory to freeze marks entry and printing after the\n examination process is completed.\n </p>\n </Card>\n </div>\n {table == true ? (\n <Table\n scroll={{ y: 400, x: 800 }}\n bordered\n columns={columns}\n dataSource={finTab}\n size=\"small\"\n />\n ) : null}\n </Card>\n <BatchReport\n open={openModal}\n Generate={(frmBatch, toBatch, reportTyp) => {\n if (fdegree == \"\") {\n Alert(\"Please select Degree\");\n setOpenModal(false);\n return;\n }\n if (exmval == \"\") {\n Alert(\"Please select Exam\");\n setOpenModal(false);\n return;\n }\n if (subVal == \"\") {\n Alert(\"Please select Subject\");\n setOpenModal(false);\n return;\n }\n if (reportTyp == \"\") {\n Alert(\"Please select Report type\");\n return;\n }\n generateReport(frmBatch, toBatch, reportTyp);\n }}\n cancel={() => setOpenModal(false)}\n />\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 subDet: state.subjCode.subjCode,\n fzetimtb: state.frztmetab.batchwisetmetb.batchwsetme,\n teachcode: state.frztmetab.batchwisetmetb.teachcode,\n };\n};\n\nexport default connect(mapStateToProps)(BatchWsTimeTab);\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","getColumnSearchProps","dataIndex","filterDropdown","_ref","setSelectedKeys","selectedKeys","confirm","clearFilters","close","_jsxs","style","padding","onKeyDown","e","stopPropagation","children","_jsx","Input","autoFocus","placeholder","concat","onChange","target","onPressEnter","marginBottom","display","Space","Button","onClick","icon","SearchOutlined","size","width","filterIcon","filtered","color","onFilter","record","toString","toLowerCase","includes","filterOption","input","option","indexOf","label","sortWithAlphabets","a","b","index","localeCompare","Generate","cancel","modal2Open","setModal2Open","useState","setFrmBatch","setToBatch","setReportTyp","_Fragment","Modal","title","centered","onOk","onCancel","okText","Row","gutter","Col","span","Select","options","key","text","connect","state","user","AuthReducer","userData","degreeReducer","degreeData","pradegree","examDet","examDetl","examDetails","subDet","subjCode","fzetimtb","frztmetab","batchwisetmetb","batchwsetme","teachcode","props","useDispatch","params","useLocation","setFdegree","setExmVal","setSubVal","subCode","setSubCode","maxMark","setMaxMark","finTab","setFinTab","teachOtp","setTeachOtp","table","setTable","degData","setDegData","openModal","setOpenModal","setScrType","setTitle","subName","setSubName","useEffect","pathname","split","undefined","fintabs","length","map","item","object","FDEGREE","FEXAMNO","FSUBCODE","FBATCH","bcnt","FEXAMDATE","FEXAMTIME","FFREEZED","PRINTFREEZED","froomname","fexaminer1","fexaminer2","fexaminer3","fexaminer4","fexaminer5","fexaminer6","marks_entered","printFrzDisabl","disadb","entyDisable","checked","printFrzCheck","console","log","push","teachOtps","teach","fteachname","degreeOptions","degree","FDESCPN","exmOpt","exm","fexamno","fexamname","subOpt","sub","fcsubcode","fsubname","fsmaxmarks","setExaminer","examinerNo","updatedExaminer","freezedData","ffreezed","freezData","columns","render","_","__","align","sorter","sortDirections","disabled","exmDate","setExamDate","exmTme","setExamTime","roomName","setRoomName","showSearch","Checkbox","textAlign","GeneratePractMrksReports","Card","hoverable","extra","direction","className","formData","FormData","append","JSON","stringify","saveData","cleadData","getExamData","getSubCode","marginTop","getPractEnterFee","Table","scroll","y","x","bordered","dataSource","BatchReport","generateReport"],"sourceRoot":""}
|