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


Current Path : /proc/thread-self/root/var/www/college/static/js/
Upload File :
Current File : //proc/thread-self/root/var/www/college/static/js/853.4a0a9680.chunk.js.map

{"version":3,"file":"static/js/853.4a0a9680.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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,UAAWpL,UAC3CC,EAAAA,EAAAA,KAACW,EAAAA,GAAM,CAACmJ,UAAU,OAAOlJ,QAASA,IAAM2F,KAAcxG,SAAC,iBAiB9D8E,GACC7E,EAAAA,EAAAA,KAACoL,EAAAA,EAAK,CACJC,OAAQ,CAAEC,EAAG,KACbC,UAAQ,EACRpD,QAAoB,SAAXtK,EAAqBsK,GAAUK,GAExCgD,WAAuB,SAAX3N,EAAqB4K,GAAYU,GAC7CpI,KAAK,UAEL,SAEF,G","sources":["Actions/PracticalMarks/batchPrepration.js","Components/datatable.js","Pages/Practical_Marks/batchPrep.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, useEffect } from \"react\";\nimport { Card, Space, Button, Select, Col, Row, Input, Table } from \"antd\";\nimport { useDispatch, connect } from \"react-redux\";\nimport {\n  getdegreeNames,\n  getExamDetail,\n  getSubjectdet,\n  getStdRegDet,\n  getVivaSubDetail,\n  saveBatchWiseDetails,\n} from \"../../Actions/PracticalMarks/batchPrepration\";\nimport {\n  getColumnSearchProps,\n  sortWithAlphabets,\n  filterOption,\n} from \"../../Components/datatable\";\nimport { useLocation } from \"react-router-dom\";\nimport { Alert } from \"../../Components/Alert\";\n\nconst BatchPre = (props) => {\n  const dispatch = useDispatch();\n  let params = useLocation();\n\n  const [data, setData] = useState([]);\n  const [exmdata, setExmdat] = useState([]);\n\n  const [fdegree, setFdegree] = useState(\"\");\n  const [exmval, setExmVal] = useState(\"\");\n  const [subVal, setSubVal] = useState(\"\");\n  const [maxMark, setMaxMark] = useState(\"\");\n  const [vivaSubVal, setVivaSubVal] = useState(\"\");\n  const [vivaMaxMark, setVivaMaxMark] = useState(\"\");\n  const [vivaCode, setVivaCode] = useState(\"\");\n  const [stdPerBt, setStdPerBt] = useState(\"\");\n  const [startBat, setStartBat] = useState(\"01\");\n  const [totStd, setTotStd] = useState(\"\");\n  const [finTab, setFinTab] = useState([]);\n  const [table, setTable] = useState(false);\n  const [scrtype, setScrType] = useState(\"\");\n  const [batchNo, setBatchNo] = useState(\"\");\n  const [vivaTab, setVivaTab] = useState(\"\");\n  const [title, setTitle] = useState(\"\");\n\n  useEffect(() => {\n    setTable(false);\n    let scr = params.pathname;\n    let type = scr.split(\"/\");\n    setScrType(type[2]);\n    setFdegree(\"\");\n    setExmVal(\"\");\n    setSubVal(\"\");\n    setMaxMark(\"\");\n    setVivaMaxMark(\"\");\n    setVivaCode(\"\");\n    setStdPerBt(\"\");\n    setStartBat(\"01\");\n    setTotStd(\"\");\n    setFinTab([]);\n    if (type[2] == \"batch\") {\n      setTitle(\"Batch Preparation\");\n    } else if (type[2] == \"entry\") {\n      setTitle(\"Marks Entry / Printing\");\n    }\n    const getData = async () => {\n      await getdegreeNames(\n        dispatch,\n        props.user.fcollcode,\n        props.user.fusertype,\n        props.user.fuser\n      );\n    };\n    getData();\n  }, [params]);\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    setSubVal(\"\");\n    setMaxMark(\"\");\n    setVivaMaxMark(\"\");\n    setVivaCode(\"\");\n    setStdPerBt(\"\");\n    setStartBat(\"01\");\n    setTotStd(\"\");\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    setMaxMark(\"\");\n    setVivaMaxMark(\"\");\n    setVivaCode(\"\");\n    setStdPerBt(\"\");\n    setStartBat(\"01\");\n    setTotStd(\"\");\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.fuser\n    );\n  };\n\n  const getVivaSubDet = async (value) => {\n    const split = value.split(\" - \");\n    setSubVal(value);\n    setMaxMark(split[1]);\n    await getVivaSubDetail(\n      dispatch,\n      fdegree,\n      exmval,\n      props.user.fcollcode,\n      split[1]\n    );\n    setVivaSubVal(props.vivaSub.FSUBNAME);\n    setVivaCode(props.vivaSub.FVVCODE);\n    setVivaMaxMark(props.vivaSub.fsmaxmarks);\n    setStdPerBt(\"\");\n    setStartBat(\"01\");\n    setTotStd(\"\");\n    setFinTab([]);\n    setTable(false);\n  };\n\n  const subOpt = props.subDet.map((sub) => ({\n    label: sub.fcsubcode + \" - \" + sub.fsubname,\n    value: sub.fcsubcode + \" - \" + sub.fsmaxmarks,\n  }));\n\n  const getStdRegNo = async () => {\n    let splt = subVal.split(\"-\");\n    let subCode = splt[0];\n\n    if (fdegree == \"\") {\n      let error = \"Select Degree\";\n      Alert(error);\n      return;\n    }\n    if (exmval == \"\") {\n      let error = \"Select Exam\";\n      Alert(error);\n      return;\n    }\n    if (subCode == \"\") {\n      let error = \"Select Subject\";\n      Alert(error);\n      return;\n    }\n    if (scrtype == \"entry\") {\n      if (batchNo == \"\") {\n        let error = \"Enter Batch No\";\n        Alert(error);\n        return;\n      }\n    }\n\n    await getStdRegDet(\n      dispatch,\n      fdegree,\n      exmval,\n      subCode,\n      stdPerBt,\n      startBat,\n      props.user.fcollcode,\n      props.user.fusertype,\n      props.user.fuser,\n      scrtype,\n      batchNo.toString().padStart(2, \"0\"),\n      vivaSubVal\n    );\n  };\n\n  useEffect(() => {\n    let fintabs = [];\n    if (props.regNoTab != undefined) {\n      if (scrtype == \"batch\") {\n        let batchNo = props.regNoTab.batchNo;\n        setTotStd(props.regNoTab.totcut);\n        let findata = props.regNoTab.data;\n        var fid = 1;\n        let fbatch = startBat - 1;\n        let i = 0;\n        var FBATCH = \"\";\n        if (props.regNoTab != undefined) {\n          let tableArr =\n            findata.length > 0\n              ? findata.map((item) => {\n                  let FBBATCH = item.FBATCH;\n                  let FMARKS = item.FMARKS;\n\n                  let object = {};\n\n                  object.fregNo = item.FREGNO;\n                  object.fname = item.FNAME;\n                  object.fbatch = FBATCH;\n                  if (FMARKS != \"-1\") object.disadb = true;\n                  else object.disadb = false;\n                  if (item.FBATCH != \"\") object.fbatch = item.FBATCH;\n                  else if (item.FBATCH == \"\") {\n                    if (FBBATCH == \"00\" || FBBATCH == \"\") {\n                      if (batchNo == \"0\" && stdPerBt != \"\") {\n                        if (i % stdPerBt == 0) {\n                          FBATCH = String(++fbatch).padStart(2, \"0\");\n\n                          i = 0;\n                        } else {\n                          FBATCH = FBATCH;\n                        }\n                      }\n                    }\n                    object.fbatch = FBATCH;\n                  }\n                  fid++;\n                  i++;\n                  fintabs.push(object);\n                })\n              : [];\n        }\n        setTable(true);\n      } else if (scrtype == \"entry\") {\n        let batchDet = props.regNoTab.batchNo;\n        let vivaSub = props.regNoTab.vivaRecd;\n\n        setVivaTab(vivaSub);\n        let tableArr =\n          batchDet.length > 0\n            ? batchDet.map((item) => {\n                let object = {};\n                object.fregNo = item.FREGNO;\n                object.fname = item.FNAME;\n                object.fbatch = item.FBATCH;\n                object.fmarks = item.FMARKS;\n                vivaSub.map((el) => {\n                  if (item.FREGNO == el.FREGNO) object.fvivamarks = el.FMARKS;\n                });\n                fintabs.push(object);\n              })\n            : [];\n        setTable(true);\n      }\n      setFinTab([...fintabs]);\n    }\n  }, [props.regNoTab]);\n\n  const columns = [\n    {\n      title: \"Sl. No\",\n      dataIndex: \"slno\",\n      align: \"center\",\n      width: \"10%\",\n    },\n    {\n      title: \"Reg No.\",\n      dataIndex: \"fregno\",\n      ...getColumnSearchProps(\"fregno\"),\n      sorter: (a, b) => sortWithAlphabets(a, b, \"fregno\"),\n      sortDirections: [\"descend\", \"ascend\"],\n      align: \"center\",\n      width: \"30%\",\n    },\n    {\n      title: <div style={{ textAlign: \"center\" }}>Student Name</div>,\n      dataIndex: \"fstdname\",\n      ...getColumnSearchProps(\"fstdname\"),\n      sorter: (a, b) => sortWithAlphabets(a, b, \"fstdname\"),\n      sortDirections: [\"descend\", \"ascend\"],\n      width: \"50%\",\n    },\n    {\n      title: \"Batch\",\n      dataIndex: \"select\",\n      align: \"center\",\n      width: \"10%\",\n    },\n  ];\n\n  const maincolumn = [\n    {\n      title: \"Sl. No\",\n      dataIndex: \"slno\",\n      align: \"center\",\n      width: \"10%\",\n    },\n    {\n      title: \"Reg No.\",\n      dataIndex: \"fregno\",\n      ...getColumnSearchProps(\"fregno\"),\n      sorter: (a, b) => sortWithAlphabets(a, b, \"fregno\"),\n      sortDirections: [\"descend\", \"ascend\"],\n      align: \"center\",\n      width: \"30%\",\n    },\n    {\n      title: <div style={{ textAlign: \"center\" }}>Student Name</div>,\n      dataIndex: \"fstdname\",\n      ...getColumnSearchProps(\"fstdname\"),\n      sorter: (a, b) => sortWithAlphabets(a, b, \"fstdname\"),\n      sortDirections: [\"descend\", \"ascend\"],\n      width: \"40%\",\n    },\n    {\n      title: (\n        <div style={{ textAlign: \"center\" }}>\n          Practical\n          <br />\n          {subVal}\n        </div>\n      ),\n      dataIndex: \"entry\",\n      align: \"center\",\n      width: \"10%\",\n    },\n  ];\n\n  const addColumn =\n    // vivaTab.length != 0\n    //   ?\n    [\n      {\n        title: (\n          <div style={{ textAlign: \"center\" }}>\n            Viva\n            <br />\n            {vivaMaxMark}\n          </div>\n        ),\n        dataIndex: \"vivaEntry\",\n        ...getColumnSearchProps(\"fvivamarks\"),\n        sorter: (a, b) => sortWithAlphabets(a, b, \"fvivamarks\"),\n        sortDirections: [\"descend\", \"ascend\"],\n        align: \"center\",\n        width: \"10%\",\n      },\n    ];\n  // : [];\n\n  const column = [...maincolumn, ...addColumn];\n  const tabledata = finTab.map((el, i) => ({\n    key: i,\n    slno: i + 1,\n    fregno: el.fregNo,\n    fstdname: el.fname,\n    select: (\n      <Input\n        type=\"text\"\n        value={el.fbatch}\n        disabled={el.disadb}\n        maxLength={3}\n        onChange={(e) => {\n          setFbatchNo(e, el.fregNo);\n        }}\n      />\n    ),\n  }));\n\n  const setFbatchNo = async (e, fregno) => {\n    const editbatch = finTab.map((item, i) => {\n      if (fregno == item.fregNo) {\n        item.fbatch = e.target.value;\n      }\n      return item;\n    });\n    setFinTab(editbatch);\n  };\n\n  const prmarkData = finTab.map((el, i) => ({\n    key: i,\n    slno: i + 1,\n    fregno: el.fregNo,\n    fstdname: el.fname,\n    entry: (\n      <Input\n        type=\"text\"\n        value={el.fmarks}\n        maxLength={3}\n        onChange={(e) => {\n          entryMarks(e, el.fregNo);\n        }}\n      />\n    ),\n  }));\n\n  const vivamarkData = finTab.map((el, i) => ({\n    key: i,\n    slno: i + 1,\n    fregno: el.fregNo,\n    fstdname: el.fname,\n    vivaEntry: (\n      <Input\n        type=\"text\"\n        // value={el.fvivamarks}\n        maxLength={3}\n        onChange={(e) => {\n          vivaentryMarks(e, el.fregNo);\n        }}\n      />\n    ),\n  }));\n\n  const markData = [...prmarkData, ...vivamarkData];\n\n  const entryMarks = async (e, fregno) => {\n    const editbatch = finTab.map((item, i) => {\n      if (fregno == item.fregNo) {\n        item.fmarks = e.target.value;\n      }\n      return item;\n    });\n    setFinTab(editbatch);\n  };\n\n  const vivaentryMarks = (e, fregno) => {\n    console.log(e, fregno);\n  };\n\n  const split = subVal.split(\"-\");\n  let fsubcode = split[0];\n  const saveData = async () => {\n    const formData = new FormData();\n    formData.append(\"predata\", JSON.stringify(finTab));\n    formData.append(\"fdegree\", fdegree);\n    formData.append(\"fexamno\", exmval);\n    formData.append(\"fcollcode\", props.user.fcollcode);\n    formData.append(\"fsubcode\", fsubcode);\n    formData.append(\"viveSub\", vivaCode);\n    formData.append(\"fbatch_no\", stdPerBt.toString().padStart(2, \"0\"));\n    await saveBatchWiseDetails(dispatch, formData, scrtype);\n  };\n\n  const cleadData = async () => {\n    setFdegree(\"\");\n    setExmVal(\"\");\n    setSubVal(\"\");\n    setMaxMark(\"\");\n    setVivaMaxMark(\"\");\n    setVivaCode(\"\");\n    setStdPerBt(\"\");\n    setStartBat(\"01\");\n    setTotStd(\"\");\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            <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={10}>\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={6}>\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          </Row>\n          <Row gutter={16}>\n            <Col span={8}>\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                  getVivaSubDet(value);\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={6}>\n              <label>Viva Subject</label>\n              <Input style={{ width: \"100%\" }} value={vivaSubVal} disabled />\n            </Col>\n            <Col span={2}>\n              <label>Max Marks</label>\n              <Input style={{ width: \"100%\" }} value={vivaMaxMark} disabled />\n            </Col>\n          </Row>\n          {scrtype == \"batch\" ? (\n            <Row gutter={16}>\n              <Col span={3}>\n                <label>Student per Batch</label>\n                <Input\n                  style={{ width: \"100%\" }}\n                  value={stdPerBt}\n                  onChange={(e, data) => setStdPerBt(e.target.value)}\n                  minLength={2}\n                  maxLength={2}\n                />\n              </Col>\n              <Col span={3}>\n                <label>Starting Batch</label>\n                <Input\n                  style={{ width: \"100%\" }}\n                  value={startBat}\n                  onChange={(e) => setStartBat(e.target.value)}\n                />\n              </Col>\n              <Col span={2}>\n                <label>Total Student</label>\n                <Input style={{ width: \"100%\" }} value={totStd} disabled />\n              </Col>\n              <Col span={3} style={{ marginTop: \"1.3rem\" }}>\n                <Button className=\"view\" onClick={() => getStdRegNo()}>\n                  View\n                </Button>\n              </Col>\n            </Row>\n          ) : (\n            <Row gutter={16}>\n              <Col span={3}>\n                <label>Batch No</label>\n                <Input\n                  style={{ width: \"100%\" }}\n                  value={batchNo}\n                  onChange={(e) => setBatchNo(e.target.value)}\n                />\n              </Col>\n              <Col span={3} style={{ marginTop: \"1.3rem\" }}>\n                <Button className=\"view\" onClick={() => getStdRegNo()}>\n                  View\n                </Button>\n              </Col>\n            </Row>\n          )}\n          {/* <Card\n            title={<span style={{ color: \"red\", height: \"1rem\" }}>Note</span>}\n            style={{ color: \"red\" }}\n          >\n            <p>1. Do not leave the marks blank.</p>\n            <p>2. For Absent, please mark as \"AB\" in marks entry column.</p>\n            <p>\n              3. For Malpractice, please marks as \"MP\" in marks entry column.\n            </p>scrtype == \"batch\" ? columns : \n          </Card> */}\n        </div>\n        {table ? (\n          <Table\n            scroll={{ y: 400 }}\n            bordered\n            columns={scrtype == \"batch\" ? columns : column}\n            // loading={props.loading}\n            dataSource={scrtype == \"batch\" ? tabledata : markData}\n            size=\"small\"\n          />\n        ) : null}\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    subDet: state.subjCode.subjCode,\n    regNoTab: state.batchRegno.batchWiseReg,\n    vivaSub: state.vivSub.vivaSub,\n  };\n};\n\nexport default connect(mapStateToProps)(BatchPre);\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","connect","state","user","AuthReducer","userData","degreeReducer","degreeData","pradegree","examDet","examDetl","examDetails","subDet","subjCode","regNoTab","batchRegno","batchWiseReg","vivaSub","vivSub","props","useDispatch","params","useLocation","setData","useState","exmdata","setExmdat","setFdegree","setExmVal","setSubVal","maxMark","setMaxMark","setVivaSubVal","vivaMaxMark","setVivaMaxMark","vivaCode","setVivaCode","setStdPerBt","setStartBat","totStd","setTotStd","finTab","setFinTab","table","setTable","setScrType","setBatchNo","vivaTab","setVivaTab","title","setTitle","useEffect","pathname","split","getData","degreeOptions","map","degree","FDEGREE","FDESCPN","exmOpt","exm","fexamno","fexamname","subOpt","sub","fcsubcode","fsubname","fsmaxmarks","getStdRegNo","subCode","padStart","error","fintabs","undefined","totcut","findata","fbatch","i","FBATCH","length","item","FBBATCH","FMARKS","object","fregNo","FREGNO","fname","FNAME","disadb","String","push","batchDet","vivaRecd","fmarks","el","fvivamarks","columns","align","sorter","sortDirections","textAlign","column","tabledata","key","slno","fregno","fstdname","select","disabled","maxLength","setFbatchNo","editbatch","markData","entry","entryMarks","vivaEntry","vivaentryMarks","console","log","Card","hoverable","extra","direction","className","formData","FormData","append","JSON","stringify","saveData","cleadData","Row","gutter","Col","span","Select","showSearch","options","getExamData","getSubCode","FSUBNAME","FVVCODE","getVivaSubDet","minLength","marginTop","Table","scroll","y","bordered","dataSource"],"sourceRoot":""}