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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/120.b286f32e.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[120],{294:function(e,l,a){},588:function(e,l,a){"use strict";a.r(l);var t=a(99),n=a(100),r=a(102),c=a(101),o=a(103),m=a(1),d=a.n(m),s=a(1e3),u=a(1101),i=(a(294),a(167),function(e){function l(){var e,a;Object(t.a)(this,l);for(var n=arguments.length,o=new Array(n),m=0;m<n;m++)o[m]=arguments[m];return(a=Object(r.a)(this,(e=Object(c.a)(l)).call.apply(e,[this].concat(o)))).state={colgdet:[],searchVal:""},a.searchTable=function(e,l){var t=l.value,n=a.props.reportdet.filter(function(e){return Object.keys(e).some(function(l){return e[l].toLowerCase().includes(t.toLowerCase())})});a.setState({colgdet:n,searchVal:l.value})},a.renderTable=function(){var e=a.state.colgdet;return d.a.createElement("div",{className:"mt-3"},d.a.createElement("hr",null),d.a.createElement("div",{style:{marginBottom:"1em",backgroundColor:"white"},className:"stick"},d.a.createElement(s.a,{icon:"search",fluid:!0,placeholder:"Search...",onChange:a.searchTable,value:a.state.searchVal,style:{fontSize:"1.1em"}})),d.a.createElement("div",null,d.a.createElement(u.a,{celled:!0,padded:!0,selectable:!0,size:"small",color:"olive",className:"tbl sticky"},d.a.createElement(u.a.Header,null,d.a.createElement(u.a.Row,{textAlign:"center"},d.a.createElement(u.a.HeaderCell,null,"Sl.No."),d.a.createElement(u.a.HeaderCell,null,"College Code"),d.a.createElement(u.a.HeaderCell,null,"College Name"),d.a.createElement(u.a.HeaderCell,null,"Town"),d.a.createElement(u.a.HeaderCell,null,"Principal Name"),d.a.createElement(u.a.HeaderCell,null,"Mobile"),d.a.createElement(u.a.HeaderCell,null,"Alt. Contact"),d.a.createElement(u.a.HeaderCell,null,"Email Id"))),d.a.createElement(u.a.Body,null,e.map(function(e,l){return d.a.createElement(u.a.Row,{key:l,style:{overflow:"hidden"}},d.a.createElement(u.a.Cell,{textAlign:"center"},l+1),d.a.createElement(u.a.Cell,null,e.fcollcode),d.a.createElement(u.a.Cell,null,e.fcollname),d.a.createElement(u.a.Cell,null,e.town),d.a.createElement(u.a.Cell,null,e.fprincipalname),d.a.createElement(u.a.Cell,null,e.fmobile),d.a.createElement(u.a.Cell,null,e.faltmobile),d.a.createElement(u.a.Cell,null,e.femail))})))))},a.renderTaggedTable=function(){var e=a.state.colgdet;return d.a.createElement("div",{className:"mt-3"},d.a.createElement("hr",null),d.a.createElement("div",{style:{marginBottom:"1em",backgroundColor:"white"},className:"stick"},d.a.createElement(s.a,{icon:"search",fluid:!0,placeholder:"Search...",onChange:a.searchTable,value:a.state.searchVal,style:{fontSize:"1.1em"}})),d.a.createElement("div",null,d.a.createElement(u.a,{celled:!0,padded:!0,selectable:!0,structured:!0,size:"small",color:"olive"},d.a.createElement(u.a.Header,null,d.a.createElement(u.a.Row,{textAlign:"center"},d.a.createElement(u.a.HeaderCell,{rowSpan:"2"},"Sl.No."),d.a.createElement(u.a.HeaderCell,{colSpan:"3"},"Center"),d.a.createElement(u.a.HeaderCell,{colSpan:"3"},"Tagged Colleges")),d.a.createElement(u.a.Row,{textAlign:"center"},d.a.createElement(u.a.HeaderCell,null,"Code"),d.a.createElement(u.a.HeaderCell,null,"Name"),d.a.createElement(u.a.HeaderCell,null,"Contact"),d.a.createElement(u.a.HeaderCell,null,"Code"),d.a.createElement(u.a.HeaderCell,null,"Name"),d.a.createElement(u.a.HeaderCell,null,"Contact"))),d.a.createElement(u.a.Body,null,e.map(function(e,l){return d.a.createElement(u.a.Row,{key:l,style:{overflow:"hidden"}},d.a.createElement(u.a.Cell,{textAlign:"center"},l+1),d.a.createElement(u.a.Cell,null,e.cnt_code),d.a.createElement(u.a.Cell,null,e.center_name),d.a.createElement(u.a.Cell,null,e.cnt_contact),d.a.createElement(u.a.Cell,null,e.tagged_code),d.a.createElement(u.a.Cell,null,e.tagged_colg_name),d.a.createElement(u.a.Cell,null,e.tagged_contact))})))))},a}return Object(o.a)(l,e),Object(n.a)(l,[{key:"componentDidMount",value:function(){this.setState({colgdet:this.props.reportdet})}},{key:"componentDidUpdate",value:function(e){this.props.reportdet!==e.reportdet&&this.setState({colgdet:this.props.reportdet})}},{key:"render",value:function(){return console.log(this.props.reportdet,this.props.reportdet,this.props.rtype),null==this.props.reportdet?null:null!==this.props.reportdet&&"Center List With Tagged Colleges"==this.props.rtype?this.renderTaggedTable():this.renderTable()}}]),l}(m.Component));l.default=i}}]);
//# sourceMappingURL=120.b286f32e.chunk.js.map