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.138.179.120
(window.webpackJsonp=window.webpackJsonp||[]).push([[264,307],{1195:function(e,a,t){"use strict";t.r(a);var n=t(0),l=t(100),r=t(101),o=t(103),c=t(102),i=t(104),m=t(2),s=t.n(m),d=t(941),h=t(1377),p=t(1343),u=t(272),f=t(1335),g=t(1337),b=t(105),E=t(274),v=t(267),C=t(273),y=function(e){function a(){var e,t;Object(l.a)(this,a);for(var r=arguments.length,i=new Array(r),m=0;m<r;m++)i[m]=arguments[m];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,m=l.fcolto,s=l.fsubfrom,d=l.fsubto,h=(l.vdatefrom,l.vdateto,l.reportTypeFor),p=l.fexamRng,u=l.reportWise;if(""!==a){var f=p.split("").join("','");window.open("".concat(E.c).concat(h,"&univcode=").concat(n,"°grp=").concat(a,"&fdegfrom=").concat(o,"\n &fdegto=").concat(c,"&fcolfrom=").concat(i,"&fcolto=").concat(m,"&fsubfrom=").concat(s,"&fsubto=").concat(d,"\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 s.a.createElement(h.a.Header,{style:{display:"flex"}},s.a.createElement("h3",null,"Subject Wise List"),s.a.createElement("div",{className:"ml-auto"},s.a.createElement(p.a,{basic:!0,color:"blue",onClick:t.handleReport,content:"Report",icon:"file"}),s.a.createElement(p.a,{basic:!0,color:"black",icon:"ban",onClick:t.handleCancel,content:"Cancel"}),s.a.createElement(d.a,{to:"/dashboard"},s.a.createElement(p.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,m=e.fexamRng,d=e.reportWise,p=Object(C.i)();return s.a.createElement("div",{className:"animated fadeIn"},s.a.createElement(h.a,{fluid:!0},s.a.createElement(h.a.Content,null,this.renderHeader(),s.a.createElement(u.a,null),s.a.createElement(h.a.Description,{style:{overflowY:"auto",height:"".concat(p,"px")}},s.a.createElement("div",{className:"col-md-6"},s.a.createElement(f.a,null,s.a.createElement(f.a.Group,null,s.a.createElement(f.a.Field,null,s.a.createElement("label",null,"Type"),s.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})),s.a.createElement(f.a.Field,null,s.a.createElement(f.a.Input,{placeholder:"Ex.:ABCD",value:m,name:"fexamRng",onChange:this.handleChange,label:"Exam Range"}))),s.a.createElement(f.a.Group,null,s.a.createElement(f.a.Input,{placeholder:"From",value:t,width:8,name:"fdegfrom",onChange:this.handleChange,maxLength:"5",label:"Degree Range"}),s.a.createElement(f.a.Input,{placeholder:"To",name:"fdegto",value:n,width:8,onChange:this.handleChange,maxLength:"5",style:{marginTop:"1.6em"}})),s.a.createElement(f.a.Group,null,s.a.createElement(f.a.Input,{placeholder:"From",value:l,width:8,name:"fcolfrom",onChange:this.handleChange,maxLength:"5",label:"College Range"}),s.a.createElement(f.a.Input,{placeholder:"To",name:"fcolto",value:r,width:8,onChange:this.handleChange,maxLength:"5",style:{marginTop:"1.6em"}})),s.a.createElement(f.a.Group,null,s.a.createElement(f.a.Input,{placeholder:"From",value:o,width:8,name:"fsubfrom",onChange:this.handleChange,maxLength:"5",label:"Subject Code Range"}),s.a.createElement(f.a.Input,{placeholder:"To",name:"fsubto",value:c,width:8,onChange:this.handleChange,maxLength:"5",style:{marginTop:"1.6em"}})),s.a.createElement(f.a.Field,null,s.a.createElement("label",null,"Report Type"),s.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})),s.a.createElement(f.a.Field,null,s.a.createElement("label",null,"Report Type"),s.a.createElement(g.a,{placeholder:"Select Report Wise",name:"reportWise",value:d,selection:!0,search:!0,options:[{value:"College Wise",text:"College Wise"},{value:"Degree Wise",text:"Degree Wise"}],onChange:this.handleChange})),s.a.createElement("br",null)))))))}}]),a}(m.Component);a.default=Object(b.b)(function(e){return{user:e.user}},{showError:v.A})(y)},272:function(e,a,t){"use strict";var n=t(270),l=t.n(n),r=t(268),o=t.n(r),c=t(2),i=t.n(c),m=t(349),s=t(613),d=t(611),h=t(269);function p(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(m.a)(n,"clearing"),Object(m.a)(c,"fitted"),Object(m.a)(u,"hidden"),Object(m.a)(f,"horizontal"),Object(m.a)(g,"inverted"),Object(m.a)(b,"section"),Object(m.a)(E,"vertical"),"divider",t),C=Object(s.a)(p,e),y=Object(d.a)(p,e);return i.a.createElement(y,l()({},C,{className:v}),h.a.isNil(a)?r:a)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},a.a=p}}]);
//# sourceMappingURL=264.35fdc3d9.chunk.js.map
|