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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/165.33bf0722.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[165],{1039:function(e,a,t){"use strict";t.r(a);var n=t(3),l=t(99),r=t(100),o=t(102),c=t(101),i=t(103),s=t(1),m=t.n(s),p=t(858),d=t(1139),h=t(1106),u=t(272),f=t(1098),g=t(1100),b=t(104),E=t(271),v=t(266),C=t(270),y=function(e){function a(){var e,t;Object(l.a)(this,a);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return(t=Object(o.a)(this,(e=Object(c.a)(a)).call.apply(e,[this].concat(i)))).state={frmDeggrp:"",reportType:"",reportTypeFor:"",rftype:"PDF",fdegfrom:"0000",fdegto:"zzzz",fcolfrom:"0000",fcolto:"zzzz",fsubfrom:"0000",fsubto:"zzzz",fexamRng:"",reportWise:""},t.getDegrees=function(e,a){t.setState({frmDeggrp:a.value})},t.handleChange=function(e,a){switch(a.type){case"text":t.setState(Object(n.a)({},a.name,a.value));default:t.setState(Object(n.a)({},a.name,a.value))}},t.handleReport=function(){var e=t.props.user,a=e.fdeggrp,n=e.fcuruniv,l=t.state,r=l.reportType,o=(l.rftype,l.fdegfrom),c=l.fdegto,i=l.fcolfrom,s=l.fcolto,m=l.fsubfrom,p=l.fsubto,d=(l.vdatefrom,l.vdateto,l.reportTypeFor),h=l.fexamRng,u=l.reportWise;if(""!==a){console.log("report",t.state);var f=h.split("").join("','");console.log("examno ",f),window.open("".concat(E.c).concat(d,"&univcode=").concat(n,"&deggrp=").concat(a,"&fdegfrom=").concat(o,"\n    &fdegto=").concat(c,"&fcolfrom=").concat(i,"&fcolto=").concat(s,"&fsubfrom=").concat(m,"&fsubto=").concat(p,"\n    &fexamno=").concat(f,"&rtype=").concat(r,"&reportWise=").concat(u),"_blank")}else{t.props.showError({header:"Error",content:"Select Degree Group"})}},t.handleCancel=function(){t.setState({reportType:"",reportFormat:"",frmDeggrp:""})},t.renderHeader=function(){return m.a.createElement(d.a.Header,{style:{display:"flex"}},m.a.createElement("h3",null,"Subject Wise List"),m.a.createElement("div",{className:"ml-auto"},m.a.createElement(h.a,{basic:!0,color:"blue",onClick:t.handleReport,content:"Report",icon:"file"}),m.a.createElement(h.a,{basic:!0,color:"black",icon:"ban",onClick:t.handleCancel,content:"Cancel"}),m.a.createElement(p.a,{to:"/dashboard"},m.a.createElement(h.a,{basic:!0,color:"red",content:"Exit",icon:"home"}))))},t}return Object(i.a)(a,e),Object(r.a)(a,[{key:"render",value:function(){var e=this.state,a=e.reportType,t=(e.rftype,e.fdegfrom),n=e.fdegto,l=e.fcolfrom,r=e.fcolto,o=e.fsubfrom,c=e.fsubto,i=e.reportTypeFor,s=e.fexamRng,p=e.reportWise,h=Object(C.i)();return m.a.createElement("div",{className:"animated fadeIn"},m.a.createElement(d.a,{fluid:!0},m.a.createElement(d.a.Content,null,this.renderHeader(),m.a.createElement(u.a,null),m.a.createElement(d.a.Description,{style:{overflowY:"auto",height:"".concat(h,"px")}},m.a.createElement("div",{className:"col-md-6"},m.a.createElement(f.a,null,m.a.createElement(f.a.Group,null,m.a.createElement(f.a.Field,null,m.a.createElement("label",null,"Type"),m.a.createElement(g.a,{placeholder:"Select Report Type",name:"reportTypeFor",value:i,selection:!0,search:!0,options:[{value:"ExamRegistration",text:"Exam Registration"},{value:"Admission",text:"Admission"}],onChange:this.handleChange})),m.a.createElement(f.a.Field,null,m.a.createElement(f.a.Input,{placeholder:"Ex.:ABCD",value:s,name:"fexamRng",onChange:this.handleChange,label:"Exam Range"}))),m.a.createElement(f.a.Group,null,m.a.createElement(f.a.Input,{placeholder:"From",value:t,width:8,name:"fdegfrom",onChange:this.handleChange,maxLength:"5",label:"Degree Range"}),m.a.createElement(f.a.Input,{placeholder:"To",name:"fdegto",value:n,width:8,onChange:this.handleChange,maxLength:"5",style:{marginTop:"1.6em"}})),m.a.createElement(f.a.Group,null,m.a.createElement(f.a.Input,{placeholder:"From",value:l,width:8,name:"fcolfrom",onChange:this.handleChange,maxLength:"5",label:"College Range"}),m.a.createElement(f.a.Input,{placeholder:"To",name:"fcolto",value:r,width:8,onChange:this.handleChange,maxLength:"5",style:{marginTop:"1.6em"}})),m.a.createElement(f.a.Group,null,m.a.createElement(f.a.Input,{placeholder:"From",value:o,width:8,name:"fsubfrom",onChange:this.handleChange,maxLength:"5",label:"Subject Code Range"}),m.a.createElement(f.a.Input,{placeholder:"To",name:"fsubto",value:c,width:8,onChange:this.handleChange,maxLength:"5",style:{marginTop:"1.6em"}})),m.a.createElement(f.a.Field,null,m.a.createElement("label",null,"Report Type"),m.a.createElement(g.a,{placeholder:"Select Report Type",name:"reportType",value:a,selection:!0,search:!0,options:[{value:"Summary",text:"Summary"},{value:"Detailed",text:"Detailed"}],onChange:this.handleChange})),m.a.createElement(f.a.Field,null,m.a.createElement("label",null,"Report Type"),m.a.createElement(g.a,{placeholder:"Select Report Wise",name:"reportWise",value:p,selection:!0,search:!0,options:[{value:"College Wise",text:"College Wise"},{value:"Degree Wise",text:"Degree Wise"}],onChange:this.handleChange})),m.a.createElement("br",null)))))))}}]),a}(s.Component);a.default=Object(b.b)(function(e){return{user:e.user}},{showError:v.w})(y)},272:function(e,a,t){"use strict";var n=t(268),l=t.n(n),r=t(265),o=t.n(r),c=t(1),i=t.n(c),s=t(333),m=t(551),p=t(549),d=t(267);function h(e){var a=e.children,t=e.className,n=e.clearing,r=e.content,c=e.fitted,u=e.hidden,f=e.horizontal,g=e.inverted,b=e.section,E=e.vertical,v=o()("ui",Object(s.a)(n,"clearing"),Object(s.a)(c,"fitted"),Object(s.a)(u,"hidden"),Object(s.a)(f,"horizontal"),Object(s.a)(g,"inverted"),Object(s.a)(b,"section"),Object(s.a)(E,"vertical"),"divider",t),C=Object(m.a)(h,e),y=Object(p.a)(h,e);return i.a.createElement(y,l()({},C,{className:v}),d.a.isNil(a)?r:a)}h.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],h.propTypes={},a.a=h}}]);
//# sourceMappingURL=165.33bf0722.chunk.js.map