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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/25.c8201156.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{1072:function(e,t,a){"use strict";a.r(t);var c=a(41),n=a.n(c),r=a(68),l=a(69),o=a(1),d=a.n(o),i=(a(105),a(627),a(1139)),s=a(1135),u=a(1106),p=a(272),b=a(317),m=a(337),h=a(1098),f=a(1101),g=a(858),O=a(266),j=a(308),v=a(383),E=(a(628),a(629),a(630),a(631),a(632),a(633),a(634),a(635),a(636),a(104)),y=a(270),w=a(271);t.default=Object(E.b)(function(e){return console.log(e),{user:e.user,degSemList:e.getDegSemList,degsem:e.degsem,docdet:e.rvDocDet}},{showError:O.w,getDegSemDetForEdit:j.f,changeDegSem:j.c,saveDegSemDet:j.i,emptyDegSem:j.e,getDegSemList:j.g,getNextDegree:j.h,getdocdetRV:v.e,saveRVMarks:v.f,changemarks:v.a,chgqp:v.c,chgpkt:v.b})(function(e){var t=Object(o.useState)(!1),a=Object(l.a)(t,2),c=(a[0],a[1],Object(o.useState)(!1)),O=Object(l.a)(c,2),j=(O[0],O[1],Object(o.useState)("")),v=Object(l.a)(j,2),E=(v[0],v[1],Object(o.useState)(0)),k=Object(l.a)(E,2),x=(k[0],k[1],Object(o.useState)("")),N=Object(l.a)(x,2),S=(N[0],N[1],Object(o.useState)("")),A=Object(l.a)(S,2),D=(A[0],A[1],d.a.useEffect);d.a.useRef,D(function(){function t(){return(t=Object(r.a)(n.a.mark(function t(){return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:console.log(e.match.params.ifdocno),e.getdocdetRV(e.match.params.ifdocno);case 2:case"end":return t.stop()}},t)}))).apply(this,arguments)}!function(){t.apply(this,arguments)}()},[]);var R=Object(y.i)();return d.a.createElement(d.a.Fragment,null,d.a.createElement(i.a,{fluid:!0},d.a.createElement(i.a.Content,null,d.a.createElement(i.a.Header,{style:{display:"flex"}},d.a.createElement(s.a,{as:"h3"},"RV Marks Entry"),d.a.createElement("div",{className:"ml-auto"},d.a.createElement(g.a,{to:{pathname:"/after-exam/rvMarksEntry"}},d.a.createElement(u.a,{basic:!0,color:"blue",content:"Back",icon:"arrow left"})),d.a.createElement(u.a,{basic:!0,color:"green",icon:"save",onClick:function(){var t=e.docdet.table.filter(function(e){return-1==e.mks});""!=e.docdet.fqpcode?""!=e.docdet.fpacket?20!=t.length?e.saveRVMarks(e.match.params.ifdocno):e.showError({header:"Error",content:"Marks cannot be -1"}):e.showError({header:"Error",content:"Enter Packet No."}):e.showError({header:"Error",content:"Enter Qp code"})},content:"Save"}),d.a.createElement(g.a,{to:"/dashboard"},d.a.createElement(u.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),d.a.createElement(p.a,null),d.a.createElement(i.a.Description,{style:{height:"".concat(R,"px")}},d.a.createElement(b.a,{columns:2,divided:!0,style:{marginLeft:"10px",marginTop:"0px"}},d.a.createElement(b.a.Row,{stretched:!0},d.a.createElement(b.a.Column,{width:12,style:{height:"auto"}},d.a.createElement(m.a,null,d.a.createElement("img",{className:"zoom",id:"app",src:w.b+e.docdet.fphotopath,style:{height:"70vh"}}))),d.a.createElement(b.a.Column,{width:4,style:{overflowY:"auto",height:"".concat(R,"px")}},d.a.createElement(h.a.Group,null,d.a.createElement(h.a.Field,null,d.a.createElement("label",{style:{fontSize:"1.2em"}},d.a.createElement("b",null,"QP Code")),d.a.createElement(h.a.Input,{type:"text",value:e.docdet.fqpcode,maxLength:5,placeholder:"QP code",disabled:"T"==e.docdet.fedit,name:"deggrpfrom",onChange:function(t,a){!function(t,a){console.log(t,a.value),e.chgqp(a.value)}(t,a)}})),d.a.createElement(h.a.Field,null,d.a.createElement("label",{style:{fontSize:"1.2em"}},d.a.createElement("b",null,"Packet No.")),d.a.createElement(h.a.Input,{type:"text",value:e.docdet.fpacket,maxLength:4,disabled:"T"==e.docdet.fedit,placeholder:"Packet No.",name:"deggrpfrom",onChange:function(t,a){!function(t,a){e.chgpkt(a.value)}(0,a)}}))),d.a.createElement(f.a,{celled:!0,padded:!0,selectable:!0,structured:!0,className:"stickyrv",size:"small",color:"olive",style:{marginTop:"25px",top:"-0px"}},d.a.createElement(f.a.Header,{style:{fontSize:"1.2em"}},d.a.createElement(f.a.Row,null,d.a.createElement(f.a.HeaderCell,{singleLine:!0,textAlign:"center"},d.a.createElement("label",null,"Sl. No.")),d.a.createElement(f.a.HeaderCell,{textAlign:"center"},d.a.createElement("label",null,"Marks")))),d.a.createElement(f.a.Body,null,e.docdet.table.map(function(t,a){return d.a.createElement(f.a.Row,null,d.a.createElement(f.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.slno),d.a.createElement(f.a.Cell,{textAlign:"center"},d.a.createElement(h.a.Input,{placeholder:"Marks",value:t.mks,name:"fcentre",textAlign:"center",style:{width:"70px"},onChange:function(t,c){!function(t,a,c){e.changemarks(c.value,t,a)}(t,a,c)}})))}))))))))))})},272:function(e,t,a){"use strict";var c=a(268),n=a.n(c),r=a(265),l=a.n(r),o=a(1),d=a.n(o),i=a(333),s=a(551),u=a(549),p=a(267);function b(e){var t=e.children,a=e.className,c=e.clearing,r=e.content,o=e.fitted,m=e.hidden,h=e.horizontal,f=e.inverted,g=e.section,O=e.vertical,j=l()("ui",Object(i.a)(c,"clearing"),Object(i.a)(o,"fitted"),Object(i.a)(m,"hidden"),Object(i.a)(h,"horizontal"),Object(i.a)(f,"inverted"),Object(i.a)(g,"section"),Object(i.a)(O,"vertical"),"divider",a),v=Object(s.a)(b,e),E=Object(u.a)(b,e);return d.a.createElement(E,n()({},v,{className:j}),p.a.isNil(t)?r:t)}b.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],b.propTypes={},t.a=b},296:function(e,t,a){"use strict";var c=a(268),n=a.n(c),r=a(265),l=a.n(r),o=a(1),d=a.n(o),i=a(333),s=a(551),u=a(549),p=a(554);function b(e){var t=e.children,a=e.className,c=e.computer,r=e.color,o=e.floated,p=e.largeScreen,m=e.mobile,h=e.only,f=e.stretched,g=e.tablet,O=e.textAlign,j=e.verticalAlign,v=e.widescreen,E=e.width,y=l()(r,Object(i.a)(f,"stretched"),Object(i.c)(h,"only"),Object(i.d)(O),Object(i.e)(o,"floated"),Object(i.f)(j),Object(i.g)(c,"wide computer"),Object(i.g)(p,"wide large screen"),Object(i.g)(m,"wide mobile"),Object(i.g)(g,"wide tablet"),Object(i.g)(v,"wide widescreen"),Object(i.g)(E,"wide"),"column",a),w=Object(s.a)(b,e),k=Object(u.a)(b,e);return d.a.createElement(k,n()({},w,{className:y}),t)}b.handledProps=["as","children","className","color","computer","floated","largeScreen","mobile","only","stretched","tablet","textAlign","verticalAlign","widescreen","width"],b.propTypes={},b.create=Object(p.e)(b,function(e){return{children:e}}),t.a=b},317:function(e,t,a){"use strict";a(293);var c=a(268),n=a.n(c),r=a(265),l=a.n(r),o=a(1),d=a.n(o),i=a(333),s=a(551),u=a(549),p=a(296);function b(e){var t=e.centered,a=e.children,c=e.className,r=e.color,o=e.columns,p=e.divided,m=e.only,h=e.reversed,f=e.stretched,g=e.textAlign,O=e.verticalAlign,j=l()(r,Object(i.a)(t,"centered"),Object(i.a)(p,"divided"),Object(i.a)(f,"stretched"),Object(i.c)(m,"only"),Object(i.c)(h,"reversed"),Object(i.d)(g),Object(i.f)(O),Object(i.g)(o,"column",!0),"row",c),v=Object(s.a)(b,e),E=Object(u.a)(b,e);return d.a.createElement(E,n()({},v,{className:j}),a)}b.handledProps=["as","centered","children","className","color","columns","divided","only","reversed","stretched","textAlign","verticalAlign"],b.propTypes={};var m=b;function h(e){var t=e.celled,a=e.centered,c=e.children,r=e.className,o=e.columns,p=e.container,b=e.divided,m=e.doubling,f=e.inverted,g=e.padded,O=e.relaxed,j=e.reversed,v=e.stackable,E=e.stretched,y=e.textAlign,w=e.verticalAlign,k=l()("ui",Object(i.a)(a,"centered"),Object(i.a)(p,"container"),Object(i.a)(m,"doubling"),Object(i.a)(f,"inverted"),Object(i.a)(v,"stackable"),Object(i.a)(E,"stretched"),Object(i.b)(t,"celled"),Object(i.b)(b,"divided"),Object(i.b)(g,"padded"),Object(i.b)(O,"relaxed"),Object(i.c)(j,"reversed"),Object(i.d)(y),Object(i.f)(w),Object(i.g)(o,"column",!0),"grid",r),x=Object(s.a)(h,e),N=Object(u.a)(h,e);return d.a.createElement(N,n()({},x,{className:k}),c)}h.handledProps=["as","celled","centered","children","className","columns","container","divided","doubling","inverted","padded","relaxed","reversed","stackable","stretched","textAlign","verticalAlign"],h.Column=p.a,h.Row=m,h.propTypes={};t.a=h},337:function(e,t,a){"use strict";var c=a(268),n=a.n(c),r=(a(275),a(265)),l=a.n(r),o=a(1),d=a.n(o),i=a(333),s=a(551),u=a(549),p=a(267);function b(e){var t=e.children,a=e.className,c=e.compact,r=e.content,o=e.horizontal,m=e.piled,h=e.raised,f=e.size,g=e.stacked,O=l()("ui",f,Object(i.a)(c,"compact"),Object(i.a)(o,"horizontal"),Object(i.a)(m,"piled"),Object(i.a)(h,"raised"),Object(i.a)(g,"stacked"),"segments",a),j=Object(s.a)(b,e),v=Object(u.a)(b,e);return d.a.createElement(v,n()({},j,{className:O}),p.a.isNil(t)?r:t)}b.handledProps=["as","children","className","compact","content","horizontal","piled","raised","size","stacked"],b.propTypes={};var m=b;function h(e){var t=e.children,a=e.className,c=e.content,r=l()("inline",a),o=Object(s.a)(h,e),i=Object(u.a)(h,e);return d.a.createElement(i,n()({},o,{className:r}),p.a.isNil(t)?c:t)}h.handledProps=["as","children","className","content"],h.propTypes={};var f=h;function g(e){var t=e.attached,a=e.basic,c=e.children,r=e.circular,o=e.className,b=e.clearing,m=e.color,h=e.compact,f=e.content,O=e.disabled,j=e.floated,v=e.inverted,E=e.loading,y=e.placeholder,w=e.padded,k=e.piled,x=e.raised,N=e.secondary,S=e.size,A=e.stacked,D=e.tertiary,R=e.textAlign,C=e.vertical,T=l()("ui",m,S,Object(i.a)(a,"basic"),Object(i.a)(r,"circular"),Object(i.a)(b,"clearing"),Object(i.a)(h,"compact"),Object(i.a)(O,"disabled"),Object(i.a)(v,"inverted"),Object(i.a)(E,"loading"),Object(i.a)(y,"placeholder"),Object(i.a)(k,"piled"),Object(i.a)(x,"raised"),Object(i.a)(N,"secondary"),Object(i.a)(A,"stacked"),Object(i.a)(D,"tertiary"),Object(i.a)(C,"vertical"),Object(i.b)(t,"attached"),Object(i.b)(w,"padded"),Object(i.d)(R),Object(i.e)(j,"floated"),"segment",o),_=Object(s.a)(g,e),z=Object(u.a)(g,e);return d.a.createElement(z,n()({},_,{className:T}),p.a.isNil(c)?f:c)}g.handledProps=["as","attached","basic","children","circular","className","clearing","color","compact","content","disabled","floated","inverted","loading","padded","piled","placeholder","raised","secondary","size","stacked","tertiary","textAlign","vertical"],g.Group=m,g.Inline=f,g.propTypes={};t.a=g},383:function(e,t,a){"use strict";a.d(t,"d",function(){return i}),a.d(t,"e",function(){return s}),a.d(t,"a",function(){return u}),a.d(t,"c",function(){return p}),a.d(t,"b",function(){return b}),a.d(t,"f",function(){return m});var c=a(41),n=a.n(c),r=a(68),l=a(269),o=a(266),d=a(290),i=function(e){return function(){var t=Object(r.a)(n.a.mark(function t(a,c){var r,d,i,s;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=c(),t.next=3,l.a.get("/app.php",{params:{a:"loadrvmarksentrytable",deggrp:e,univcode:r.user.fcuruniv}});case 3:"object"!==typeof(d=t.sent).data?(i={header:"Error",content:"Something went wrong"},a(Object(o.w)(i))):-1===d.data.error_code?(s={header:"Error",content:d.data.data.msg},a(Object(o.w)(s))):a({type:"RV_ENTRY",payload:d.data});case 5:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},s=function(e){return function(){var t=Object(r.a)(n.a.mark(function t(a,c){var r,d,i,s;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=c(),a({type:"SET_LOADER"}),console.log(e),t.next=5,l.a.get("/app.php",{params:{a:"getdocdetRV",univcode:r.user.fcuruniv,docno:e}});case 5:d=t.sent,a({type:"UNSET_LOADER"}),"object"!==typeof d.data?(i={header:"Error",content:"Something went wrong"},a(Object(o.w)(i))):-1===d.data.error_code?(s={header:"Error",content:d.data.data.msg},a(Object(o.w)(s))):a({type:"GET_DOC_DET_RV",payload:d.data});case 8:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},u=function(e,t,a){return{type:"RV_MARKS_CHANGE",payload:{data:e,el:t,i:a}}},p=function(e){return{type:"RV_MARKS_QPCODE_CHANGE",payload:{data:e}}},b=function(e){return{type:"RV_MARKS_PACKET_CHANGE",payload:{data:e}}},m=function(e){return function(){var t=Object(r.a)(n.a.mark(function t(a,c){var r,i,s,u,p;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=c(),t.next=3,l.a.post("/app.php?a=saveRVMarks&univcode="+r.univ.funivcode,{data:{docno:e,table:r.rvDocDet.table,pktno:r.rvDocDet.fpacket,qpcode:r.rvDocDet.fqpcode,user:r.user}});case 3:"object"!==typeof(i=t.sent).data?(s={header:"Error",content:"Something went wrong"},a(Object(o.w)(s))):-1===i.data.error_code?(u={header:"Error",content:i.data.data.msg},a(Object(o.w)(u))):(p={header:"Success",content:i.data.data.msg},a(Object(o.w)(p)),d.k.push("/after-exam/rvMarksEntry"));case 5:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=25.c8201156.chunk.js.map