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.145.152.168
{"version":3,"sources":["pages/masters/college/index.js"],"names":["_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","this","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","delegateYield","College","_Component","_getPrototypeOf2","_this","_classCallCheck","_len","arguments","args","Array","_key","_possibleConstructorReturn","_getPrototypeOf","apply","concat","state","frmDeggrp","reportType","deggrp","degree","college","displayTbl","fdeggrp","fyear","fexamtype","fexamdate","frmsubmit","title","componentDidMount","_asyncToGenerator","_callee","_context","props","loaddegreegroupclgrpt","univcode","setState","handleChangeDeggrp","_ref2","_callee2","data","_context2","getCollegeReport","_x","_x2","handleChangeCollege","_ref3","_callee3","_context3","getDegreeReport","_x3","_x4","handleChangeDegree","typeChange","searchTable","string","searchPrbatch","submitdata","filter","some","k","toLowerCase","includes","searchVal","handleChange","_defineProperty","handleSubmit","_callee4","_this$state","_context4","fcurtype","fcollcode","getClgtab","handleReport","_callee5","_this$state2","_context5","window","open","ReportAPI","JSON","stringify","handleCancel","renderHeader","React","createElement","Card","Header","style","display","className","Button","basic","color","onClick","content","icon","Link","to","renderForm","_this$state3","all","text","degreeGrpOption","degcentre","map","item","key","fdescpn","degreeGrpOptions","_toConsumableArray","collegeOption","fcollege","fcollname","collegeOptions","degreeOption","fdegree","degreeOptions","wheight","wHeight","fluid","Content","Divider","Description","overflowY","height","Form","Group","Field","width","Dropdown","search","multiple","selection","onChange","placeholder","options","marginBottom","backgroundColor","Table","celled","padded","selectable","size","Row","textAlign","HeaderCell","Body","el","overflow","Cell","town","fprincipalname","fmobile","faltmobile","femail","_inherits","_createClass","Component","connect","collegeReport","univ","funivcode","user","getcollegereport","getdegreereport","submitcollegereport","fetchDegGrp","getReport","showError"],"mappings":"wVACAA,EAAA,kBAAAC,GAAA,IAAAC,EAAAD,EAAA,GAAAE,EAAAC,OAAAC,UAAAC,EAAAH,EAAAI,eAAAC,EAAAJ,OAAAK,gBAAA,SAAAP,EAAAD,EAAAE,GAAAD,EAAAD,GAAAE,EAAAO,OAAAC,EAAA,mBAAAC,cAAA,GAAAC,EAAAF,EAAAG,UAAA,aAAAC,EAAAJ,EAAAK,eAAA,kBAAAC,EAAAN,EAAAO,aAAA,yBAAAC,EAAAjB,EAAAD,EAAAE,GAAA,OAAAC,OAAAK,eAAAP,EAAAD,EAAA,CAAAS,MAAAP,EAAAiB,YAAA,EAAAC,cAAA,EAAAC,UAAA,IAAApB,EAAAD,GAAA,IAAAkB,EAAA,aAAAjB,GAAAiB,EAAA,SAAAjB,EAAAD,EAAAE,GAAA,OAAAD,EAAAD,GAAAE,GAAA,SAAAoB,EAAArB,EAAAD,EAAAE,EAAAG,GAAA,IAAAK,EAAAV,KAAAI,qBAAAmB,EAAAvB,EAAAuB,EAAAX,EAAAT,OAAAqB,OAAAd,EAAAN,WAAAU,EAAA,IAAAW,EAAApB,GAAA,WAAAE,EAAAK,EAAA,WAAAH,MAAAiB,EAAAzB,EAAAC,EAAAY,KAAAF,EAAA,SAAAe,EAAA1B,EAAAD,EAAAE,GAAA,WAAA0B,KAAA,SAAAC,IAAA5B,EAAA6B,KAAA9B,EAAAE,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GA,OAnaUuJ,YAAA1J,EAAAC,GAgaV0J,YAAA3J,EAAA,EAAAyG,IAAA,SAAAvM,MAAA,WAEC,OAAO8B,KAAKiK,iBACbjG,EAnaU,CAAS4J,aAmbPC,sBAbS,SAAC/I,GACvB,MAAO,CACLwF,UAAWxF,EAAMkB,sBACjB8H,cAAehJ,EAAMgJ,cACrB7H,SAAUnB,EAAMiJ,KAAKC,UACrBC,KAAMnJ,EAAMmJ,KACZ9I,QAASL,EAAMoJ,iBACfhJ,OAAQJ,EAAMqJ,gBACd5G,WAAYzC,EAAMsJ,oBAClBhG,SAAUtD,EAAMmJ,KAAK7F,SACrBC,UAAWvD,EAAMmJ,KAAK5F,YAGc,CACtCgG,gBACAC,cACAC,cACA/H,qBACAO,oBACAuB,cACAtC,2BAPa6H,CAQZ7J","file":"static/js/299.0442bb24.chunk.js","sourcesContent":["import React, { Component } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport {\r\n Card,\r\n Button,\r\n Form,\r\n Dropdown,\r\n Divider,\r\n Table,\r\n Input,\r\n} 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\nimport {\r\n getCollegeReport,\r\n getDegreeReport,\r\n getClgtab,\r\n loaddegreegroupclgrpt,\r\n} from \"../../../actions/collegereport\";\r\n\r\nimport { loaddegreegroup } from \"../../../actions/admapprove\";\r\nimport deggrp from \"../deggrp\";\r\nimport college from \"../../../reducers/masters/college\";\r\n\r\nclass College extends Component {\r\n state = {\r\n frmDeggrp: \"\",\r\n reportType: \"Active College List\",\r\n deggrp: [],\r\n degree: [],\r\n college: [],\r\n displayTbl: false,\r\n fdeggrp: \"\",\r\n fyear: \"\",\r\n fexamtype: \"\",\r\n fexamdate: \"\",\r\n type: \"\",\r\n frmsubmit: false,\r\n title: \"\",\r\n };\r\n\r\n componentDidMount = async () => {\r\n await this.props.loaddegreegroupclgrpt();\r\n if (this.props.univcode == \"021\" || this.props.univcode == \"052\") {\r\n this.setState({\r\n deggrp: [\"All\"],\r\n college: [\"All\"],\r\n type: \"pdf\",\r\n title: \"College and Contact Details\",\r\n });\r\n } else {\r\n this.setState({ title: \"College / Centre\" });\r\n }\r\n };\r\n\r\n handleChangeDeggrp = async (e, data) => {\r\n await this.setState({\r\n deggrp: data.value,\r\n });\r\n this.props.getCollegeReport(this.state.deggrp);\r\n };\r\n\r\n handleChangeCollege = async (e, data) => {\r\n await this.setState({\r\n college: data.value,\r\n });\r\n\r\n await this.props.getDegreeReport(this.state);\r\n };\r\n\r\n handleChangeDegree = (e, data) => {\r\n this.setState({ degree: data.value });\r\n };\r\n\r\n typeChange = (e, data) => {\r\n this.setState({\r\n type: data.value,\r\n });\r\n };\r\n\r\n searchTable = (e, data) => {\r\n const string = data.value;\r\n const searchPrbatch = this.props.submitdata.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({ submitdata: searchPrbatch, searchVal: 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 = async () => {\r\n if (\r\n this.props.fcurtype == \"500\" ||\r\n this.props.fcurtype == \"600\" ||\r\n this.props.fcurtype == \"501\"\r\n ) {\r\n await this.setState({ college: [this.props.fcollcode] });\r\n }\r\n const { reportType, degree, deggrp, type } = this.state;\r\n\r\n await this.props.getClgtab(\r\n reportType,\r\n this.state.college,\r\n degree,\r\n deggrp,\r\n type\r\n );\r\n this.setState({ frmsubmit: true });\r\n };\r\n\r\n handleReport = async () => {\r\n if (\r\n this.props.fcurtype == \"500\" ||\r\n this.props.fcurtype == \"600\" ||\r\n this.props.fcurtype == \"501\"\r\n ) {\r\n await this.setState({ college: [this.props.fcollcode] });\r\n }\r\n const { reportType, college, degree, deggrp, type } = this.state;\r\n\r\n if (type == \"pdf\") {\r\n window.open(\r\n ReportAPI +\r\n reportType +\r\n \"&univcode=\" +\r\n this.props.univcode +\r\n \"°grp=\" +\r\n JSON.stringify(deggrp) +\r\n \"&college=\" +\r\n JSON.stringify(college) +\r\n \"°ree=\" +\r\n JSON.stringify(degree) +\r\n \"&val=\" +\r\n reportType +\r\n \"&format=\" +\r\n \"PDF\",\r\n \"_blank\"\r\n );\r\n } else if (type == \"xl\") {\r\n window.open(\r\n ReportAPI +\r\n \"college_reports_xl\" +\r\n \"&univcode=\" +\r\n this.props.univcode +\r\n \"°grp=\" +\r\n JSON.stringify(deggrp) +\r\n \"&college=\" +\r\n JSON.stringify(college) +\r\n \"°ree=\" +\r\n JSON.stringify(degree) +\r\n \"&val=\" +\r\n reportType\r\n );\r\n }\r\n };\r\n\r\n handleCancel = () => {\r\n this.setState({\r\n reportType: \"Active College List\",\r\n deggrp: [],\r\n degree: [],\r\n college: [],\r\n type: \"\",\r\n });\r\n };\r\n\r\n renderHeader = () => {\r\n return (\r\n <Card.Header style={{ display: \"flex\" }}>\r\n <h3>{this.state.title}</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 { displayTbl, reportType, college, degree, deggrp } = 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\r\n const type = [\r\n {\r\n value: \"xl\",\r\n text: \"Excel\",\r\n },\r\n {\r\n value: \"pdf\",\r\n text: \"PDF\",\r\n },\r\n ];\r\n\r\n const all = [\r\n {\r\n value: \"All\",\r\n text: \"All\",\r\n },\r\n ];\r\n\r\n const degreeGrpOption = this.props.degcentre.map((item) => {\r\n return {\r\n key: item.fdeggrp,\r\n value: item.fdeggrp,\r\n text: item.fdeggrp + \" - \" + item.fdescpn,\r\n };\r\n });\r\n\r\n const degreeGrpOptions = [...all, ...degreeGrpOption];\r\n\r\n const collegeOption = this.props.college.map((item) => {\r\n return {\r\n key: item.fcollege,\r\n value: item.fcollege,\r\n text: item.fcollege + \" - \" + item.fcollname,\r\n };\r\n });\r\n\r\n const collegeOptions = [...all, ...collegeOption];\r\n\r\n const degreeOption = this.props.degree.map((item) => {\r\n return {\r\n key: item.fdegree,\r\n value: item.fdegree,\r\n text: item.fdegree + \" - \" + item.fdescpn,\r\n };\r\n });\r\n\r\n const degreeOptions = [...all, ...degreeOption];\r\n\r\n const wheight = wHeight();\r\n\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 {this.props.fcurtype !== \"500\" &&\r\n this.props.fcurtype !== \"501\" && (\r\n <Form.Group>\r\n <Form.Field width={16}>\r\n <label>Degree Group</label>\r\n <Dropdown\r\n fluid\r\n search\r\n multiple\r\n selection\r\n onChange={this.handleChangeDeggrp}\r\n value={deggrp}\r\n name=\"deggrp\"\r\n placeholder=\"Degree Group\"\r\n options={degreeGrpOptions}\r\n />\r\n </Form.Field>\r\n </Form.Group>\r\n )}\r\n {this.props.fcurtype !== \"500\" &&\r\n this.props.fcurtype !== \"501\" && (\r\n <Form.Group>\r\n <Form.Field width={16}>\r\n <label>College</label>\r\n <Dropdown\r\n placeholder=\"Select College\"\r\n name=\"college\"\r\n value={college}\r\n selection\r\n search\r\n options={collegeOptions}\r\n multiple\r\n onChange={this.handleChangeCollege}\r\n />\r\n </Form.Field>\r\n </Form.Group>\r\n )}\r\n {this.props.fcurtype !== \"500\" &&\r\n this.props.fcurtype !== \"501\" && (\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 )}\r\n {reportType == \"degreeWiseCollegeList\" ||\r\n reportType == \"collwisedeglist\" ? (\r\n <Form.Group>\r\n <Form.Field width={16}>\r\n <label>Degree</label>\r\n <Dropdown\r\n placeholder=\"Select Degree\"\r\n name=\"degree\"\r\n value={degree}\r\n selection\r\n search\r\n options={degreeOptions}\r\n multiple\r\n onChange={this.handleChangeDegree}\r\n />\r\n </Form.Field>\r\n </Form.Group>\r\n ) : null}\r\n\r\n <Form.Group>\r\n <Form.Field width={16}>\r\n <label>Type</label>\r\n <Dropdown\r\n placeholder=\"Select Report Type\"\r\n name=\"type\"\r\n value={this.state.type}\r\n selection\r\n search\r\n options={type}\r\n onChange={this.typeChange}\r\n />\r\n </Form.Field>\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 {this.state.frmsubmit ? (\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 {this.props.submitdata.map((el, i) => {\r\n return (\r\n <Table.Row key={i} style={{ overflow: \"hidden\" }}>\r\n <Table.Cell textAlign=\"center\">\r\n {i + 1}\r\n </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 ) : null}\r\n </Card.Description>\r\n </Card.Content>\r\n </Card>\r\n </div>\r\n );\r\n };\r\n render() {\r\n return this.renderForm();\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n degcentre: state.loaddegreegroupclgrpt,\r\n collegeReport: state.collegeReport,\r\n univcode: state.univ.funivcode,\r\n user: state.user,\r\n college: state.getcollegereport,\r\n degree: state.getdegreereport,\r\n submitdata: state.submitcollegereport,\r\n fcurtype: state.user.fcurtype,\r\n fcollcode: state.user.fcollcode,\r\n };\r\n};\r\nexport default connect(mapStateToProps, {\r\n fetchDegGrp,\r\n getReport,\r\n showError,\r\n getCollegeReport,\r\n getDegreeReport,\r\n getClgtab,\r\n loaddegreegroupclgrpt,\r\n})(College);\r\n"],"sourceRoot":""}
|