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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/176.1ed373e0.chunk.js.map

{"version":3,"sources":["pages/after-exam/UpdateRvRtCheckList/scanCodeList.js","actions/after-exam/updateScanCodeList.js"],"names":["ScanCodeList","state","showtable","frmDeggrp","pd","reportType","frmSubmit","rftype","status","barcode","detBC","displyBC","open","fdeleted","handleChange","e","data","type","_this","setState","Object","defineProperty","name","value","handleChangedate","target","handleSave","_callee","error","bcarr","regenerator_default","a","wrap","_context","prev","next","header","content","props","showError","abrupt","filter","el","i","updateCodeList","handleCancel","stop","deleteRow","objectSpread","checked","map","j","handleClick","fqpcode","substring","fbundno","fslno","regCode","join","item","fregCode","length","dupBC","concat","toConsumableArray","renderHeader","react_default","createElement","Card","Header","style","display","className","Button","basic","color","onClick","icon","Link","to","_this2","this","_this$state","dimmer","Number","user","fcurtype","wHeight","fluid","Content","Divider","Description","height","Form","Grid","columns","Column","width","Input","label","placeholder","maxLength","onChange","marginTop","size","maxHeight","overflowY","Table","celled","tableLayout","marginLeft","marginRight","Row","textAlign","HeaderCell","singleLine","Body","key","Cell","position","Component","connect","dailyRvPcReport","saveRvRtCheckList","_ref","asyncToGenerator","mark","dispatch","getState","response","_error","_error2","univadmin","post","univ","funivcode","sent","error_code","msg","_x","_x2","apply","arguments"],"mappings":"oVAqBMA,6MACJC,MAAQ,CACNC,WAAW,EACXC,UAAW,GACXC,GAAI,GACJC,WAAY,kBACZC,WAAW,EACXC,OAAQ,MACRC,OAAQ,MACRC,QAAS,GACTC,MAAO,GACPC,UAAU,EACVC,MAAM,EACNC,UAAU,KAGZC,aAAe,SAACC,EAAGC,GACjB,OAAQA,EAAKC,MACX,IAAK,OACHC,EAAKC,SAALC,OAAAC,EAAA,EAAAD,CAAA,GAAiBJ,EAAKM,KAAON,EAAK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esContent":["import React, { Component } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport {\n  Card,\n  Button,\n  Form,\n  Dropdown,\n  Divider,\n  Radio,\n  Table,\n  Checkbox,\n  Grid\n} from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport { ReportAPI } from \"../../../apis/consts\";\nimport { showError } from \"../../../actions\";\nimport InputMask from \"react-input-mask\";\nimport { wHeight } from \"../../parms\";\nimport moment from \"moment\";\nimport { saveRvRtCheckList } from \"../../../actions/index\";\nimport { updateCodeList } from \"../../../actions/after-exam/updateScanCodeList\";\nclass ScanCodeList extends Component {\n  state = {\n    showtable: false,\n    frmDeggrp: \"\",\n    pd: [],\n    reportType: \"datewWiseValDet\",\n    frmSubmit: false,\n    rftype: \"PDF\",\n    status: \"ALL\",\n    barcode: \"\",\n    detBC: [],\n    displyBC: false,\n    open: false,\n    fdeleted: false\n  };\n\n  handleChange = (e, data) => {\n    switch (data.type) {\n      case \"text\":\n        this.setState({ [data.name]: data.value });\n      default:\n        this.setState({ [data.name]: data.value });\n    }\n    this.setState({ frmSubmit: false });\n    // this.props.dailyRvPcReport = [];\n  };\n\n  handleChangedate = e => {\n    this.setState({ [e.target.name]: e.target.value });\n  };\n\n  handleSave = async () => {\n    if (!this.state.detBC) {\n      const error = { header: \"Error\", content: \"Scan Barcode\" };\n      this.props.showError(error);\n      return;\n    }\n\n    const bcarr = this.state.detBC.filter((el, i) => {\n      if (el.fdeleted !== true) {\n        return el;\n      }\n    });\n    // console.log(\"SAVE\", this.state.detBC, bcarr);\n    await this.props.updateCodeList(bcarr);\n    this.handleCancel();\n  };\n  deleteRow = (e, el, i) => {\n    let data = { ...el, [e.target.name]: e.target.checked };\n\n    const bcarr = this.state.detBC.map((el, j) => {\n      if (j === i) {\n        return data;\n      } else return el;\n    });\n\n    this.setState({ detBC: bcarr });\n  };\n\n  handleCancel = () => {\n    this.setState({\n      showtable: false,\n      frmDeggrp: \"\",\n      pd: [],\n      reportType: \"datewWiseValDet\",\n      frmSubmit: false,\n      rftype: \"PDF\",\n      status: \"ALL\",\n      barcode: \"\",\n      detBC: [],\n      displyBC: false,\n      open: false,\n      fdeleted: false\n    });\n  };\n\n  handleClick = () => {\n    if (!this.state.barcode) {\n      const error = {\n        header: \"Error\",\n        content: \"Barcode length should be minimum 17\"\n      };\n      this.props.showError(error);\n    } else {\n      const fqpcode = this.state.barcode.substring(0, 5);\n      const fbundno = this.state.barcode.substring(5, 9);\n      const fslno = this.state.barcode.substring(9, 11);\n      const fregCode = this.state.barcode.substring(14, 17);\n      // console.log(\"BUNDleNo\", this.state.barcode)\n      const regCode = [fqpcode, fbundno, fslno].join(\"-\");\n      // console.log(\"REGCODE\", regCode);\n      const item = {\n        fslno: fslno,\n        fqpcode: fqpcode,\n        fbundno: fbundno,\n        fregCode: regCode,\n        fdeleted: false\n      };\n\n      let i = this.state.barcode.length - 1;\n      const el = item;\n      var dupBC = false;\n\n      this.state.detBC.map((item, j) => {\n        if (item.fbundno === el.fbundno && i !== j && item.fslno === el.fslno)\n          dupBC = true;\n      });\n\n      if (dupBC) {\n        const error = {\n          header: \"Error\",\n          content: \"Duplicate entry is not allowed.\"\n        };\n        this.props.showError(error);\n        this.setState({ barcode: \"\" });\n        return;\n      }\n      this.setState({\n        displyBC: true,\n        detBC: [...this.state.detBC, item],\n        barcode: \"\"\n      });\n    }\n  };\n\n  renderHeader = () => {\n    return (\n      <Card.Header style={{ display: \"flex\" }}>\n        <h3>Scan RV/RT Code List</h3>\n        <div className=\"ml-auto\">\n          <Button\n            basic\n            color=\"blue\"\n            onClick={this.handleSave}\n            content=\"Save\"\n            icon=\"file\"\n          />\n          {/* <Button\n                        basic\n                        color=\"blue\"\n                        onClick={this.handleReport}\n                        content=\"Report\"\n                        icon=\"file\"\n                    /> */}\n          <Button\n            basic\n            color=\"black\"\n            icon=\"ban\"\n            onClick={this.handleCancel}\n            content=\"Cancel\"\n          />\n          <Link to=\"/dashboard\">\n            <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\n          </Link>\n        </div>\n      </Card.Header>\n    );\n  };\n\n  render() {\n    const { barcode, displyBC, detBC, dimmer, open, fdeleted } = this.state;\n    //console.log(this.props.dailyRvPcReport);\n    let userType = Number(this.props.user.fcurtype);\n    // console.log(\"usertyoe\", typeof userType, userType);\n    const wheight = wHeight();\n\n    return (\n      <div className=\"animated fadeIn\">\n        <Card fluid>\n          <Card.Content>\n            {this.renderHeader()}\n            <Divider />\n            <Card.Description style={{ height: \"72vh\" }}>\n              <Form>\n                <Grid columns={2}>\n                  <Grid.Column width={5} style={{ display: \"flex\" }}>\n                    <Form.Input\n                      width=\"16\"\n                      label=\"Barcode\"\n                      placeholder=\"Enter barcode here...\"\n                      maxLength=\"11\"\n                      name=\"barcode\"\n                      value={barcode}\n                      onChange={this.handleChange}\n                    />\n                  </Grid.Column>\n                  <Grid.Column width={6}>\n                    <Button\n                      style={{ marginTop: \"25px\" }}\n                      content=\"GO\"\n                      size=\"mini\"\n                      color=\"facebook\"\n                      onClick={this.handleClick}\n                    />\n                  </Grid.Column>\n                </Grid>\n              </Form>\n              {displyBC ? (\n                <div\n                  className=\"ui form\"\n                  style={{\n                    maxHeight: \"60vh\",\n                    overflowY: \"scroll\",\n                    marginTop: \"1rem\"\n                  }}\n                >\n                  <Table\n                    celled\n                    style={{\n                      width: \"auto\",\n                      tableLayout: \"auto\",\n                      marginLeft: \"auto\",\n                      marginRight: \"auto\"\n                    }}\n                    className=\"stick\"\n                  >\n                    <Table.Header>\n                      <Table.Row textAlign=\"center\">\n                        <Table.HeaderCell singleLine>Sl. No.</Table.HeaderCell>\n                        <Table.HeaderCell>QP Code</Table.HeaderCell>\n                        <Table.HeaderCell>Packet No.</Table.HeaderCell>\n                        <Table.HeaderCell>Bundle - Sl. No.</Table.HeaderCell>\n                        {/* <Table.HeaderCell>Ttl. Script Count</Table.HeaderCell> */}\n                        <Table.HeaderCell>Delete</Table.HeaderCell>\n                      </Table.Row>\n                    </Table.Header>\n                    <Table.Body>\n                      {detBC.map((el, i) => {\n                        return (\n                          <Table.Row key={i} textAlign=\"center\">\n                            <Table.Cell>{i + 1}</Table.Cell>\n                            <Table.Cell>{el.fqpcode}</Table.Cell>\n                            <Table.Cell>{el.fbundno}</Table.Cell>\n                            <Table.Cell>{el.fslno}</Table.Cell>\n                            {/* <Table.Cell>{el.fregCode}</Table.Cell> */}\n                            <Table.Cell>\n                              <input\n                                className=\"ui checkbox\"\n                                type=\"checkbox\"\n                                name=\"fdeleted\"\n                                value={fdeleted}\n                                onChange={e => this.deleteRow(e, el, i)}\n                                checked={\n                                  el.fdeleted == \"true\" ? \"checked\" : null\n                                }\n                                style={{ position: \"inherit\" }}\n                              />\n                            </Table.Cell>\n                          </Table.Row>\n                        );\n                      })}\n                    </Table.Body>\n                  </Table>\n                </div>\n              ) : null}\n            </Card.Description>\n          </Card.Content>\n        </Card>\n      </div>\n    );\n  }\n}\n\nconst mapStateToProps = state => {\n  // console.log(state.dailyRvPcReport);\n  return {\n    user: state.user,\n    // state.allworkDOneReport\n    dailyRvPcReport: state.dailyRvPcReport,\n\n    saveRvRtCheckList: state.saveRvRtCheckList\n  };\n};\nexport default connect(\n  mapStateToProps,\n  {\n    showError,\n    saveRvRtCheckList,\n    updateCodeList\n  }\n)(ScanCodeList);\n","import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\n\nexport const updateCodeList = data => {\n  return async (dispatch, getState) => {\n    dispatch({\n      type: \"SET_LOADER\"\n    });\n\n    const state = getState();\n\n    const response = await univadmin.post(\n      \"app.php?a=updateScanCodeList&univcode=\" + state.univ.funivcode,\n      {\n        data: data\n      }\n    );\n\n    dispatch({\n      type: \"UNSET_LOADER\"\n    });\n\n    // console.log(\"RVRTACTION\", response);\n\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\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    }\n  };\n};\n"],"sourceRoot":""}