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.219.199.13
(window.webpackJsonp=window.webpackJsonp||[]).push([[266,307],{1185:function(e,t,a){"use strict";a.r(t);var n=a(0),r=a(100),c=a(101),l=a(103),o=a(102),i=a(104),s=a(2),p=a.n(s),u=a(941),d=a(1377),m=a(1343),h=a(272),b=a(1335),f=a(1337),g=a(105),v=a(267),E=a(274),j=a(273),O=function(e){function t(){var e,a;Object(r.a)(this,t);for(var c=arguments.length,i=new Array(c),s=0;s<c;s++)i[s]=arguments[s];return(a=Object(l.a)(this,(e=Object(o.a)(t)).call.apply(e,[this].concat(i)))).state={frmDeggrp:"",reportType:"pgetAppliedList",frmSubmit:!1},a.getDegrees=function(e,t){a.setState({frmDeggrp:t.value})},a.handleChange=function(e,t){switch(t.type){case"text":a.setState(Object(n.a)({},t.name,t.value));default:a.setState(Object(n.a)({},t.name,t.value))}a.setState({frmSubmit:!1})},a.handleSubmit=function(){},a.handleReport=function(){var e=a.props.user.fdeggrp,t=a.state.reportType;if(""!==e)window.open(E.c+t+"&univcode="+a.props.univcode+"°grp="+e+"&val="+t+"&format=PDF","_blank");else{a.props.showError({header:"Error",content:"Select Degree Group"})}},a.handleCancel=function(){a.setState({reportType:"",reportFormat:"",frmDeggrp:""})},a.renderHeader=function(){return p.a.createElement(d.a.Header,{style:{display:"flex"}},p.a.createElement("h3",null,"PG Entrance Test Reports"),p.a.createElement("div",{className:"ml-auto"},p.a.createElement(m.a,{basic:!0,color:"blue",onClick:a.handleReport,content:"Report",icon:"file"}),p.a.createElement(m.a,{basic:!0,color:"black",icon:"ban",onClick:a.handleCancel,content:"Cancel"}),p.a.createElement(u.a,{to:"/dashboard"},p.a.createElement(m.a,{basic:!0,color:"red",content:"Exit",icon:"home"}))))},a}return Object(i.a)(t,e),Object(c.a)(t,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var e=this.state,t=(e.frmSubmit,e.reportType),a=Object(j.i)();return p.a.createElement("div",{className:"animated fadeIn"},p.a.createElement(d.a,{fluid:!0},p.a.createElement(d.a.Content,null,this.renderHeader(),p.a.createElement(h.a,null),p.a.createElement(d.a.Description,{style:{overflowY:"auto",height:"".concat(a,"px")}},p.a.createElement("div",{className:"col-md-6"},p.a.createElement(b.a,null,p.a.createElement(b.a.Field,null,p.a.createElement("label",null,"Report Type"),p.a.createElement(f.a,{placeholder:"Select Report Type",name:"reportType",value:t,selection:!0,search:!0,options:[{value:"pgetAppliedList",text:"Degree Wise Applied Student List"},{value:"pgetFeedetlList",text:"Fee Paid Student List"},{value:"pgetAppStatus",text:"Application Status"}],onChange:this.handleChange})),p.a.createElement(m.a,{color:"blue",onClick:this.handleSubmit},"Submit"),p.a.createElement("br",null)))))))}}]),t}(s.Component);t.default=Object(g.b)(function(e){return{deggrp:e.deggrp,collegeReport:e.collegeReport,univcode:e.univ.funivcode,user:e.user,menu:e.menu}},{fetchDegGrp:v.j,getReport:v.t,showError:v.A})(O)},272:function(e,t,a){"use strict";var n=a(270),r=a.n(n),c=a(268),l=a.n(c),o=a(2),i=a.n(o),s=a(349),p=a(613),u=a(611),d=a(269);function m(e){var t=e.children,a=e.className,n=e.clearing,c=e.content,o=e.fitted,h=e.hidden,b=e.horizontal,f=e.inverted,g=e.section,v=e.vertical,E=l()("ui",Object(s.a)(n,"clearing"),Object(s.a)(o,"fitted"),Object(s.a)(h,"hidden"),Object(s.a)(b,"horizontal"),Object(s.a)(f,"inverted"),Object(s.a)(g,"section"),Object(s.a)(v,"vertical"),"divider",a),j=Object(p.a)(m,e),O=Object(u.a)(m,e);return i.a.createElement(O,r()({},j,{className:E}),d.a.isNil(t)?c:t)}m.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],m.propTypes={},t.a=m}}]);
//# sourceMappingURL=266.9518ba51.chunk.js.map
|