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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/154.427fc9d7.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[154],{1034:function(e,t,a){"use strict";a.r(t);var n=a(3),r=a(99),c=a(100),l=a(102),o=a(101),i=a(103),s=a(1),u=a.n(s),d=a(858),p=a(1139),m=a(1106),h=a(272),b=a(1098),f=a(1100),g=a(999),v=a(104),E=a(266),j=a(271),y=a(270),S=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:"degreeWiseStudentCount",frmSubmit:!1,rftype:"PDF"},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(){var e=a.props.user.fdeggrp,t=a.state.reportType;if(""!==e)a.props.getReport(t,"tables",e),a.setState({frmSubmit:!0});else{a.props.showError({header:"Error",content:"Select Degree Group"})}},a.handleReport=function(){var e=a.props.user.fdeggrp,t=a.state,n=t.reportType,r=t.rftype;if(""!==e)window.open(j.c+n+"&univcode="+a.props.univcode+"&deggrp="+e+"&format="+r,"_blank");else{a.props.showError({header:"Error",content:"Select Degree Group"})}},a.handleCancel=function(){a.setState({reportType:"",reportFormat:"",frmDeggrp:""})},a.renderHeader=function(){return u.a.createElement(p.a.Header,{style:{display:"flex"}},u.a.createElement("h3",null,"Canddate List"),u.a.createElement("div",{className:"ml-auto"},u.a.createElement(m.a,{basic:!0,color:"blue",onClick:a.handleReport,content:"Report",icon:"file"}),u.a.createElement(m.a,{basic:!0,color:"black",icon:"ban",onClick:a.handleCancel,content:"Cancel"}),u.a.createElement(d.a,{to:"/dashboard"},u.a.createElement(m.a,{basic:!0,color:"red",content:"Exit",icon:"home"}))))},a}return Object(i.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){var e=this.state,t=e.frmSubmit,a=e.reportType,n=e.rftype,r=Object(y.i)();return console.log(a,t),u.a.createElement("div",{className:"animated fadeIn"},u.a.createElement(p.a,{fluid:!0},u.a.createElement(p.a.Content,null,this.renderHeader(),u.a.createElement(h.a,null),u.a.createElement(p.a.Description,{style:{overflowY:"auto",height:"".concat(r,"px")}},u.a.createElement("div",{className:"col-md-6"},u.a.createElement(b.a,null,u.a.createElement(b.a.Field,null,u.a.createElement("label",null,"Report Type"),u.a.createElement(f.a,{placeholder:"Select Report Type",name:"reportType",value:a,selection:!0,search:!0,options:[{value:"degreeWiseStudentCount",text:"Degree Wise Student Count"},{value:"qpWiseSubjectList",text:"QP Wise Subject List"}],onChange:this.handleChange})),u.a.createElement(b.a.Group,{inline:!0},u.a.createElement(b.a.Field,{control:g.a,name:"rftype",label:"PDF",value:"PDF",checked:"PDF"===n,onChange:this.handleChange}),u.a.createElement(b.a.Field,{control:g.a,name:"rftype",label:"EXCEL",value:"Excel",checked:"Excel"===n,onChange:this.handleChange})),u.a.createElement(m.a,{color:"blue",onClick:this.handleSubmit},"Submit"),u.a.createElement("br",null)))))))}}]),t}(s.Component);t.default=Object(v.b)(function(e){return{deggrp:e.deggrp,collegeReport:e.collegeReport,univcode:e.univ.funivcode,user:e.user,menu:e.menu}},{fetchDegGrp:E.j,getReport:E.r,showError:E.w})(S)},272:function(e,t,a){"use strict";var n=a(268),r=a.n(n),c=a(265),l=a.n(c),o=a(1),i=a.n(o),s=a(333),u=a(551),d=a(549),p=a(267);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(u.a)(m,e),y=Object(d.a)(m,e);return i.a.createElement(y,r()({},j,{className:E}),p.a.isNil(t)?c:t)}m.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],m.propTypes={},t.a=m}}]);
//# sourceMappingURL=154.427fc9d7.chunk.js.map