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


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

{"version":3,"sources":["pages/masters/college/index.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","pages/masters/college/colg_report.js"],"names":["College","state","frmDeggrp","reportType","fdeggrpfrm","fdeggrpto","fdegfrm","fdegto","fcollfrm","fcollto","displayTbl","fdeggrp","fyear","fexamtype","fexamdate","changeDeggrp","e","data","console","log","value","deggrp","_this","props","filter","el","i","setState","frmSubmit","getDegrees","handleChange","type","Object","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__","name","handleSubmit","_this$state","getReport","handleReport","_this$state2","window","open","ReportAPI","univcode","handleCancel","reportFormat","renderHeader","react__WEBPACK_IMPORTED_MODULE_6___default","a","createElement","semantic_ui_react__WEBPACK_IMPORTED_MODULE_8__","Header","style","display","className","semantic_ui_react__WEBPACK_IMPORTED_MODULE_9__","basic","color","onClick","content","icon","react_router_dom__WEBPACK_IMPORTED_MODULE_7__","to","renderForm","_this$state3","wheight","wHeight","fluid","Content","semantic_ui_react__WEBPACK_IMPORTED_MODULE_10__","Description","overflowY","height","concat","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","Group","Field","width","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","placeholder","selection","search","options","text","onChange","Input","label","marginTop","_colg_report__WEBPACK_IMPORTED_MODULE_15__","reportdet","collegeReport","rtype","this","fetchDegGrp","Component","connect","univ","funivcode","user","showError","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","n","classnames__WEBPACK_IMPORTED_MODULE_1__","classnames__WEBPACK_IMPORTED_MODULE_1___default","react__WEBPACK_IMPORTED_MODULE_2__","react__WEBPACK_IMPORTED_MODULE_2___default","_lib__WEBPACK_IMPORTED_MODULE_3__","_lib__WEBPACK_IMPORTED_MODULE_4__","_lib__WEBPACK_IMPORTED_MODULE_5__","_lib__WEBPACK_IMPORTED_MODULE_6__","Divider","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","rest","ElementType","isNil","handledProps","propTypes","__webpack_exports__","ColgReportDisplay","colgdet","searchVal","searchTable","string","searchPrbatch","o","keys","some","k","toLowerCase","includes","renderTable","report","react__WEBPACK_IMPORTED_MODULE_5___default","marginBottom","backgroundColor","semantic_ui_react__WEBPACK_IMPORTED_MODULE_6__","fontSize","semantic_ui_react__WEBPACK_IMPORTED_MODULE_7__","celled","padded","selectable","size","Row","textAlign","HeaderCell","Body","map","key","overflow","Cell","fcollcode","fcollname","town","fprincipalname","fmobile","faltmobile","femail","renderTaggedTable","structured","rowSpan","colSpan","cnt_code","center_name","cnt_contact","tagged_code","tagged_colg_name","tagged_contact","prevProps"],"mappings":"iRAUMA,6MACJC,MAAQ,CACNC,UAAW,GACXC,WAAY,sBACZC,WAAY,OACZC,UAAW,OACXC,QAAS,IACTC,OAAQ,QACRC,SAAU,IACVC,QAAS,OACTC,YAAY,EACZC,QAAS,GACTC,MAAO,GACPC,UAAW,GACXC,UAAW,MAObC,aAAe,SAACC,EAAGC,GACjBC,QAAQC,IAAIF,EAAKG,OACjB,IAGIC,EAHYC,EAAKC,MAAMF,OAAOG,OAChC,SAACC,EAAIC,GAAL,OAAWD,EAAGd,UAAYM,EAAKG,QAEV,GAEvBE,EAAKK,SAAS,CACZf,MAAOS,EAAOT,MACdC,UAAWQ,EAAOR,UAClBC,UAAWO,EAAOP,UAClBH,QAASM,EAAKG,MACdQ,WAAW,OAIfC,WAAa,SAACb,EAAGC,GAEfK,EAAKK,SAAS,CAAEzB,UAAWe,EAAKG,WAGlCU,aAAe,SAACd,EAAGC,GACjB,OAAQA,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BC,KAAKrE,MAAMkE,UAA0B,KAEd,OAAzBG,KAAKrE,MAAMkE,WACS,oCAApBG,KAAKrE,MAAMoE,MAEJC,KAAK2E,oBAEL3E,KAAKgD,qBA3Jc9C,cAgKjBkC","file":"static/js/54.89460930.chunk.js","sourcesContent":["import React, { Component } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { Card, Button, Form, Dropdown, Divider } from \"semantic-ui-react\";\r\nimport { connect } from \"react-redux\";\r\nimport { fetchDegGrp, getReport } from \"../../../actions\";\r\nimport ColgReportDisplay from \"./colg_report\";\r\nimport { ReportAPI } from \"../../../apis/consts\";\r\nimport { showError } from \"../../../actions\";\r\nimport { wHeight } from \"../../parms\";\r\n\r\nclass College extends Component {\r\n  state = {\r\n    frmDeggrp: \"\",\r\n    reportType: \"Active College List\",\r\n    fdeggrpfrm: \"0000\",\r\n    fdeggrpto: \"zzzz\",\r\n    fdegfrm: \"0\",\r\n    fdegto: \"ZZZZZ\",\r\n    fcollfrm: \"0\",\r\n    fcollto: \"ZZZZ\",\r\n    displayTbl: false,\r\n    fdeggrp: \"\",\r\n    fyear: \"\",\r\n    fexamtype: \"\",\r\n    fexamdate: \"\",\r\n  };\r\n\r\n  componentDidMount() {\r\n    this.props.fetchDegGrp();\r\n  }\r\n\r\n  changeDeggrp = (e, data) => {\r\n    console.log(data.value);\r\n    let deggrpsel = this.props.deggrp.filter(\r\n      (el, i) => el.fdeggrp === data.value\r\n    );\r\n    let deggrp = deggrpsel[0];\r\n\r\n    this.setState({\r\n      fyear: deggrp.fyear,\r\n      fexamtype: deggrp.fexamtype,\r\n      fexamdate: deggrp.fexamdate,\r\n      fdeggrp: data.value,\r\n      frmSubmit: false,\r\n    });\r\n  };\r\n\r\n  getDegrees = (e, data) => {\r\n    // console.log(data.value);\r\n    this.setState({ frmDeggrp: data.value });\r\n  };\r\n\r\n  handleChange = (e, data) => {\r\n    switch (data.type) {\r\n      case \"text\":\r\n        this.setState({\r\n          [data.name]: data.value,\r\n        });\r\n      default:\r\n        this.setState({\r\n          [data.name]: data.value,\r\n        });\r\n    }\r\n    this.setState({ displayTbl: false });\r\n  };\r\n\r\n  handleSubmit = () => {\r\n    // const { fdeggrp } = this.props.user;\r\n    const {\r\n      reportType,\r\n      fdeggrpfrm,\r\n      fdeggrpto,\r\n      fcollfrm,\r\n      fcollto,\r\n      fdeggrp,\r\n      fyear,\r\n      fexamtype,\r\n      fexamdate,\r\n    } = this.state;\r\n    // if (fdeggrp === \"\") {\r\n    //   const error = { header: \"Error\", content: \"Select Degree Group\" };\r\n    //   this.props.showError(error);\r\n    //   return;\r\n    // }\r\n    this.props.getReport(\r\n      reportType,\r\n      \"tables\",\r\n      fdeggrp,\r\n      fdeggrpfrm,\r\n      fdeggrpto,\r\n      fcollfrm,\r\n      fcollto\r\n    );\r\n    this.setState({ displayTbl: true });\r\n  };\r\n\r\n  handleReport = () => {\r\n    // const { fdeggrp } = this.props.user;\r\n    const {\r\n      reportType,\r\n      fdeggrpfrm,\r\n      fdeggrpto,\r\n      fcollfrm,\r\n      fcollto,\r\n      fdegfrm,\r\n      fdegto,\r\n      fdeggrp,\r\n      fyear,\r\n      fexamtype,\r\n      fexamdate,\r\n    } = this.state;\r\n    console.log(this.state);\r\n    // if (fdeggrp === \"\") {\r\n    //   const error = { header: \"Error\", content: \"Select Degree Group\" };\r\n    //   this.props.showError(error);\r\n    //   return;\r\n    // }\r\n    window.open(\r\n      ReportAPI +\r\n        reportType +\r\n        \"&univcode=\" +\r\n        this.props.univcode +\r\n        \"&deggrp=\" +\r\n        fdeggrp +\r\n        \"&deggrpfrm=\" +\r\n        fdeggrpfrm +\r\n        \"&deggrpto=\" +\r\n        fdeggrpto +\r\n        \"&collfrm=\" +\r\n        fcollfrm +\r\n        \"&collto=\" +\r\n        fcollto +\r\n        \"&degfrm=\" +\r\n        fdegfrm +\r\n        \"&degto=\" +\r\n        fdegto +\r\n        \"&val=\" +\r\n        reportType +\r\n        \"&format=\" +\r\n        \"PDF\",\r\n      \"_blank\"\r\n    );\r\n  };\r\n\r\n  handleCancel = () => {\r\n    this.setState({\r\n      reportType: \"\",\r\n      fdeggrpfrm: \"0\",\r\n      fdeggrpto: \"zzzzz\",\r\n      fcollfrm: \"0\",\r\n      fcollto: \"zzzzz\",\r\n      reportFormat: \"\",\r\n      frmDeggrp: \"\",\r\n      fdeggrp: \"\",\r\n      fyear: \"\",\r\n      fexamtype: \"\",\r\n      fexamdate: \"\",\r\n    });\r\n  };\r\n\r\n  renderHeader = () => {\r\n    return (\r\n      <Card.Header style={{ display: \"flex\" }}>\r\n        <h3>College / Centre</h3>\r\n        <div className=\"ml-auto\">\r\n          <Button\r\n            basic\r\n            color=\"blue\"\r\n            onClick={this.handleReport}\r\n            content=\"Report\"\r\n            icon=\"file\"\r\n          />\r\n          <Button\r\n            basic\r\n            color=\"black\"\r\n            icon=\"ban\"\r\n            onClick={this.handleCancel}\r\n            content=\"Cancel\"\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    );\r\n  };\r\n\r\n  renderForm = () => {\r\n    const {\r\n      displayTbl,\r\n      reportType,\r\n      fdeggrpfrm,\r\n      fdeggrpto,\r\n      fcollfrm,\r\n      fcollto,\r\n      fdegfrm,\r\n      fdegto,\r\n      fdeggrp,\r\n      fyear,\r\n      fexamtype,\r\n      fexamdate,\r\n    } = this.state;\r\n\r\n    const reporttypeOptions = [\r\n      { value: \"All College List\", text: \"College List (All)\" },\r\n      { value: \"Active College List\", text: \"College List (Active)\" },\r\n      { value: \"degreeWiseCollegeList\", text: \"Degree Wise College List\" },\r\n      { value: \"collwisedeglist\", text: \"College Wise Degree List\" },\r\n    ];\r\n    const wheight = wHeight();\r\n    console.log(reportType, displayTbl);\r\n    return (\r\n      <div className=\"animated fadeIn\">\r\n        <Card fluid>\r\n          <Card.Content>\r\n            {this.renderHeader()}\r\n            <Divider />\r\n            <Card.Description\r\n              style={{ overflowY: \"auto\", height: `${wheight}px` }}\r\n            >\r\n              <div className=\"col-md-6\">\r\n                <Form>\r\n                  <Form.Group>\r\n                    <Form.Field width={16}>\r\n                      <label>Report Type</label>\r\n                      <Dropdown\r\n                        placeholder=\"Select Report Type\"\r\n                        name=\"reportType\"\r\n                        value={reportType}\r\n                        selection\r\n                        search\r\n                        options={reporttypeOptions}\r\n                        onChange={this.handleChange}\r\n                      />\r\n                    </Form.Field>\r\n                  </Form.Group>\r\n                  <Form.Group>\r\n                    <Form.Input\r\n                      placeholder=\"From\"\r\n                      value={fdeggrpfrm}\r\n                      width={8}\r\n                      name=\"fdeggrpfrm\"\r\n                      onChange={this.handleChange}\r\n                      label=\"Degree Group Range\"\r\n                    />\r\n                    <Form.Input\r\n                      placeholder=\"To\"\r\n                      name=\"fdeggrpto\"\r\n                      value={fdeggrpto}\r\n                      width={8}\r\n                      onChange={this.handleChange}\r\n                      style={{ marginTop: \"1.6em\" }}\r\n                    />\r\n                  </Form.Group>\r\n                  {reportType == \"degreeWiseCollegeList\" ? (\r\n                    <Form.Group>\r\n                      <Form.Input\r\n                        placeholder=\"From\"\r\n                        value={fdegfrm}\r\n                        width={8}\r\n                        name=\"fdegfrm\"\r\n                        onChange={this.handleChange}\r\n                        label=\"Degree Range\"\r\n                      />\r\n                      <Form.Input\r\n                        placeholder=\"To\"\r\n                        name=\"fdegto\"\r\n                        value={fdegto}\r\n                        width={8}\r\n                        onChange={this.handleChange}\r\n                        style={{ marginTop: \"1.6em\" }}\r\n                      />\r\n                    </Form.Group>\r\n                  ) : null}\r\n                  <Form.Group>\r\n                    <Form.Input\r\n                      placeholder=\"From\"\r\n                      value={fcollfrm}\r\n                      width={8}\r\n                      name=\"fcollfrm\"\r\n                      onChange={this.handleChange}\r\n                      label=\"College Code Range\"\r\n                    />\r\n                    <Form.Input\r\n                      placeholder=\"To\"\r\n                      name=\"fcollto\"\r\n                      value={fcollto}\r\n                      width={8}\r\n                      onChange={this.handleChange}\r\n                      style={{ marginTop: \"1.6em\" }}\r\n                    />\r\n                  </Form.Group>\r\n                  {reportType == \"Active College List\" ? (\r\n                    <Button color=\"blue\" onClick={this.handleSubmit}>\r\n                      Submit\r\n                    </Button>\r\n                  ) : null}\r\n                  <br />\r\n                </Form>\r\n              </div>\r\n              {displayTbl ? (\r\n                <ColgReportDisplay\r\n                  reportdet={this.props.collegeReport}\r\n                  rtype={reportType}\r\n                />\r\n              ) : null}\r\n            </Card.Description>\r\n          </Card.Content>\r\n        </Card>\r\n      </div>\r\n    );\r\n  };\r\n  render() {\r\n    // console.log(\"collegeReport\",this.props.collegeReport);\r\n    return this.renderForm();\r\n  }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n  return {\r\n    deggrp: state.deggrp,\r\n    collegeReport: state.collegeReport,\r\n    univcode: state.univ.funivcode,\r\n    user: state.user,\r\n  };\r\n};\r\nexport default connect(mapStateToProps, {\r\n  fetchDegGrp,\r\n  getReport,\r\n  showError,\r\n})(College);\r\n","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps, useKeyOnly } from '../../lib';\n/**\n * A divider visually segments content into groups.\n */\n\nfunction Divider(props) {\n  var children = props.children,\n      className = props.className,\n      clearing = props.clearing,\n      content = props.content,\n      fitted = props.fitted,\n      hidden = props.hidden,\n      horizontal = props.horizontal,\n      inverted = props.inverted,\n      section = props.section,\n      vertical = props.vertical;\n  var classes = cx('ui', useKeyOnly(clearing, 'clearing'), useKeyOnly(fitted, 'fitted'), useKeyOnly(hidden, 'hidden'), useKeyOnly(horizontal, 'horizontal'), useKeyOnly(inverted, 'inverted'), useKeyOnly(section, 'section'), useKeyOnly(vertical, 'vertical'), 'divider', className);\n  var rest = getUnhandledProps(Divider, props);\n  var ElementType = getElementType(Divider, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), childrenUtils.isNil(children) ? content : children);\n}\n\nDivider.handledProps = [\"as\", \"children\", \"className\", \"clearing\", \"content\", \"fitted\", \"hidden\", \"horizontal\", \"inverted\", \"section\", \"vertical\"];\nDivider.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** Divider can clear the content above it. */\n  clearing: PropTypes.bool,\n\n  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand,\n\n  /** Divider can be fitted without any space above or below it. */\n  fitted: PropTypes.bool,\n\n  /** Divider can divide content without creating a dividing line. */\n  hidden: PropTypes.bool,\n\n  /** Divider can segment content horizontally. */\n  horizontal: PropTypes.bool,\n\n  /** Divider can have its colours inverted. */\n  inverted: PropTypes.bool,\n\n  /** Divider can provide greater margins to divide sections of content. */\n  section: PropTypes.bool,\n\n  /** Divider can segment content vertically. */\n  vertical: PropTypes.bool\n} : {};\nexport default Divider;","import React, { Component } from \"react\";\r\nimport { Table, Input } from \"semantic-ui-react\";\r\nimport \"react-table/react-table.css\";\r\nimport \"../../../index.css\";\r\n\r\nclass ColgReportDisplay extends Component {\r\n  state = { colgdet: [], searchVal: \"\" };\r\n\r\n  componentDidMount() {\r\n    this.setState({ colgdet: this.props.reportdet });\r\n  }\r\n\r\n  componentDidUpdate(prevProps) {\r\n    if (this.props.reportdet !== prevProps.reportdet) {\r\n      this.setState({ colgdet: this.props.reportdet });\r\n    }\r\n  }\r\n\r\n  searchTable = (e, data) => {\r\n    const string = data.value;\r\n    const searchPrbatch = this.props.reportdet.filter(o =>\r\n      Object.keys(o).some(k =>\r\n        o[k].toLowerCase().includes(string.toLowerCase())\r\n      )\r\n    );\r\n    this.setState({ colgdet: searchPrbatch, searchVal: data.value });\r\n  };\r\n\r\n  renderTable = () => {\r\n    const report = this.state.colgdet;\r\n    return (\r\n      <div className=\"mt-3\">\r\n        <hr />\r\n        <div\r\n          style={{\r\n            marginBottom: \"1em\",\r\n            backgroundColor: \"white\"\r\n          }}\r\n          className=\"stick\"\r\n        >\r\n          <Input\r\n            icon=\"search\"\r\n            fluid\r\n            placeholder=\"Search...\"\r\n            onChange={this.searchTable}\r\n            value={this.state.searchVal}\r\n            style={{ fontSize: \"1.1em\" }}\r\n          />\r\n        </div>\r\n        <div>\r\n          <Table\r\n            celled\r\n            padded\r\n            selectable\r\n            size=\"small\"\r\n            color=\"olive\"\r\n            className=\"tbl sticky\"\r\n          >\r\n            <Table.Header>\r\n              <Table.Row textAlign=\"center\">\r\n                <Table.HeaderCell>Sl.No.</Table.HeaderCell>\r\n                <Table.HeaderCell>College Code</Table.HeaderCell>\r\n                <Table.HeaderCell>College Name</Table.HeaderCell>\r\n                <Table.HeaderCell>Town</Table.HeaderCell>\r\n                <Table.HeaderCell>Principal Name</Table.HeaderCell>\r\n                <Table.HeaderCell>Mobile</Table.HeaderCell>\r\n                <Table.HeaderCell>Alt. Contact</Table.HeaderCell>\r\n                <Table.HeaderCell>Email Id</Table.HeaderCell>\r\n              </Table.Row>\r\n            </Table.Header>\r\n            <Table.Body>\r\n              {report.map((el, i) => {\r\n                return (\r\n                  <Table.Row key={i} style={{ overflow: \"hidden\" }}>\r\n                    <Table.Cell textAlign=\"center\">{i + 1}</Table.Cell>\r\n                    <Table.Cell>{el.fcollcode}</Table.Cell>\r\n                    <Table.Cell>{el.fcollname}</Table.Cell>\r\n                    <Table.Cell>{el.town}</Table.Cell>\r\n                    <Table.Cell>{el.fprincipalname}</Table.Cell>\r\n                    <Table.Cell>{el.fmobile}</Table.Cell>\r\n                    <Table.Cell>{el.faltmobile}</Table.Cell>\r\n                    <Table.Cell>{el.femail}</Table.Cell>\r\n                  </Table.Row>\r\n                );\r\n              })}\r\n            </Table.Body>\r\n          </Table>\r\n        </div>\r\n      </div>\r\n    );\r\n  };\r\n\r\n  renderTaggedTable = () => {\r\n    const report = this.state.colgdet;\r\n\r\n    return (\r\n      <div className=\"mt-3\">\r\n        <hr />\r\n        <div\r\n          style={{\r\n            marginBottom: \"1em\",\r\n            backgroundColor: \"white\"\r\n          }}\r\n          className=\"stick\"\r\n        >\r\n          <Input\r\n            icon=\"search\"\r\n            fluid\r\n            placeholder=\"Search...\"\r\n            onChange={this.searchTable}\r\n            value={this.state.searchVal}\r\n            style={{ fontSize: \"1.1em\" }}\r\n          />\r\n        </div>\r\n        <div>\r\n          <Table celled padded selectable structured size=\"small\" color=\"olive\">\r\n            <Table.Header>\r\n              <Table.Row textAlign=\"center\">\r\n                <Table.HeaderCell rowSpan=\"2\">Sl.No.</Table.HeaderCell>\r\n                <Table.HeaderCell colSpan=\"3\">Center</Table.HeaderCell>\r\n                <Table.HeaderCell colSpan=\"3\">Tagged Colleges</Table.HeaderCell>\r\n              </Table.Row>\r\n              <Table.Row textAlign=\"center\">\r\n                <Table.HeaderCell>Code</Table.HeaderCell>\r\n                <Table.HeaderCell>Name</Table.HeaderCell>\r\n                <Table.HeaderCell>Contact</Table.HeaderCell>\r\n                <Table.HeaderCell>Code</Table.HeaderCell>\r\n                <Table.HeaderCell>Name</Table.HeaderCell>\r\n                <Table.HeaderCell>Contact</Table.HeaderCell>\r\n              </Table.Row>\r\n            </Table.Header>\r\n            <Table.Body>\r\n              {report.map((el, i) => {\r\n                return (\r\n                  <Table.Row key={i} style={{ overflow: \"hidden\" }}>\r\n                    <Table.Cell textAlign=\"center\">{i + 1}</Table.Cell>\r\n                    <Table.Cell>{el.cnt_code}</Table.Cell>\r\n                    <Table.Cell>{el.center_name}</Table.Cell>\r\n                    <Table.Cell>{el.cnt_contact}</Table.Cell>\r\n                    <Table.Cell>{el.tagged_code}</Table.Cell>\r\n                    <Table.Cell>{el.tagged_colg_name}</Table.Cell>\r\n                    <Table.Cell>{el.tagged_contact}</Table.Cell>\r\n                  </Table.Row>\r\n                );\r\n              })}\r\n            </Table.Body>\r\n          </Table>\r\n        </div>\r\n      </div>\r\n    );\r\n  };\r\n  render() {\r\n    console.log(this.props.reportdet, this.props.reportdet, this.props.rtype);\r\n    if (this.props.reportdet == null) return null;\r\n    else if (\r\n      this.props.reportdet !== null &&\r\n      this.props.rtype == \"Center List With Tagged Colleges\"\r\n    ) {\r\n      return this.renderTaggedTable();\r\n    } else {\r\n      return this.renderTable();\r\n    }\r\n  }\r\n}\r\n\r\nexport default ColgReportDisplay;\r\n"],"sourceRoot":""}