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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/19.d2259ecb.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{1161:function(e,t,a){"use strict";a.r(t);var r=a(99),n=a(100),o=a(102),c=a(101),u=a(103),d=a(1),i=a.n(d),p=a(858),s=a(104),l=a(1139),f=a(1106),E=a(272),m=a(1101),b=a(266),h=a(306),g=a(383),y=a(271),v=a(270),w=(a(316),a(489)),O=function(e){function t(){var e,a;Object(r.a)(this,t);for(var n=arguments.length,u=new Array(n),d=0;d<n;d++)u[d]=arguments[d];return(a=Object(o.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(u)))).state={},a.handleprint=function(e){console.log(e),window.open(y.c+"createboeReport&fboard="+e.fboard+"&fgrpname="+e.fgrpname+"&univcode="+a.props.user.fcuruniv+"&format=PDF","_blank")},a}return Object(u.a)(t,e),Object(n.a)(t,[{key:"componentDidMount",value:function(){this.props.getcreateBOEtable(this.props.user.fdeggrp)}},{key:"componentDidUpdate",value:function(e){this.props.user.fdeggrp!==e.user.fdeggrp&&this.props.fetchQpBoard(this.props.user.fdeggrp)}},{key:"render",value:function(){var e=this;console.log(this.state),console.log(this.props);var t=Object(v.i)();return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(this.state),i.a.createElement("div",{className:"animated fadeIn"},i.a.createElement(l.a,{fluid:!0},i.a.createElement(l.a.Content,null,i.a.createElement(l.a.Header,{style:{display:"flex"}},i.a.createElement("h4",null,"Create BOE"),i.a.createElement("div",{className:"ml-auto"},i.a.createElement(p.a,{to:{pathname:"/addcreateboe/addboe/create/''/''",query:{screen:"create"}}},i.a.createElement(f.a,{basic:!0,color:"blue",content:"ADD",icon:"plus"})),i.a.createElement(p.a,{to:"/dashboard"},i.a.createElement(f.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),i.a.createElement(E.a,null),i.a.createElement(l.a.Description,{style:{height:"".concat(t,"px"),overflowY:"auto"}},i.a.createElement("div",{className:"animated fadeIn"},i.a.createElement("div",{className:"ui mini form"},i.a.createElement(m.a,{celled:!0,padded:!0,selectable:!0,structured:!0,size:"small",color:"olive",style:{marginTop:"25px"}},i.a.createElement(m.a.Header,{style:{fontSize:"1.2em"}},i.a.createElement(m.a.Row,null,i.a.createElement(m.a.HeaderCell,{style:{width:"5%"},singleLine:!0,textAlign:"center"},i.a.createElement("label",null,"Sl. No.")),i.a.createElement(m.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},i.a.createElement("label",null,"Board")),i.a.createElement(m.a.HeaderCell,{style:{width:"20%"},textAlign:"center"},i.a.createElement("label",null,"Group Name")),i.a.createElement(m.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},i.a.createElement("label",null,"Action")))),i.a.createElement(m.a.Body,null,this.props.loadboetable.map(function(t,a){return i.a.createElement(m.a.Row,{key:a},i.a.createElement(m.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},a+1),i.a.createElement(m.a.Cell,{textAlign:"left",style:{fontSize:"1.2em"}},t.fboardname),i.a.createElement(m.a.Cell,{textAlign:"left",style:{fontSize:"1.2em"}},t.fgrpname),i.a.createElement(m.a.Cell,{style:{display:"flex",justifyContent:"space-evenly"}},i.a.createElement(p.a,{to:{pathname:"/addcreateboe/addboe/edit/".concat(t.fboard,"/").concat(t.fgrpname),query:{fgrpname:t.fgrpname,fboard:t.fboard}}},i.a.createElement(f.a,{content:"Edit",basic:!0,size:"small",style:{display:"flex"},color:"blue",icon:"edit"})),i.a.createElement(f.a,{content:"Print",basic:!0,style:{display:"flex"},size:"small",color:"green",icon:"print",onClick:function(){return e.handleprint(t)}})))})))))))))}}]),t}(d.Component);t.default=Object(s.b)(function(e){return console.log(e),{user:e.user,board:e.board,deggrp:e.deggrp,loadboetable:e.boeCreate}},{showError:b.w,fetchTeachBoard:h.e,fetchQpStatistics:h.c,getRVtable:g.d,getcreateBOEtable:w.g})(O)},272:function(e,t,a){"use strict";var r=a(268),n=a.n(r),o=a(265),c=a.n(o),u=a(1),d=a.n(u),i=a(333),p=a(551),s=a(549),l=a(267);function f(e){var t=e.children,a=e.className,r=e.clearing,o=e.content,u=e.fitted,E=e.hidden,m=e.horizontal,b=e.inverted,h=e.section,g=e.vertical,y=c()("ui",Object(i.a)(r,"clearing"),Object(i.a)(u,"fitted"),Object(i.a)(E,"hidden"),Object(i.a)(m,"horizontal"),Object(i.a)(b,"inverted"),Object(i.a)(h,"section"),Object(i.a)(g,"vertical"),"divider",a),v=Object(p.a)(f,e),w=Object(s.a)(f,e);return d.a.createElement(w,n()({},v,{className:y}),l.a.isNil(t)?o:t)}f.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],f.propTypes={},t.a=f},305:function(e,t,a){"use strict";a.d(t,"b",function(){return d}),a.d(t,"c",function(){return i}),a.d(t,"d",function(){return p}),a.d(t,"a",function(){return s});var r=a(41),n=a.n(r),o=a(68),c=a(269),u=a(23),d=function(e,t,a){return function(){var e=Object(o.a)(n.a.mark(function e(r,o){var d,i;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return d=o(),e.next=3,c.a.get("/app.php",{params:{a:"getDegrees",modtype:a,fboard:t,deggrp:d.user.fdeggrp,univcode:d.univ.funivcode}});case 3:"object"!==typeof(i=e.sent).data?r({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Degrees"},status:"failure"}}):-1===i.data.error_code?r({type:"SET_ERROR",payload:i.data}):r({type:u.g,payload:i.data});case 5:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()},i=function(e,t){return function(){var a=Object(o.a)(n.a.mark(function a(r,o){var u,d;return n.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return u=o(),a.next=3,c.a.get("/app.php",{params:{a:"getPracticalSubjects",fdegree:e,fboard:t,univcode:u.univ.funivcode}});case 3:"object"!==typeof(d=a.sent).data?r({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Subjects"},status:"failure"}}):-1===d.data.error_code?r({type:"SET_ERROR",payload:d.data}):r({type:"FETCH_PRSUB",payload:d.data});case 5:case"end":return a.stop()}},a)}));return function(e,t){return a.apply(this,arguments)}}()},p=function(e){return function(){var t=Object(o.a)(n.a.mark(function t(a,r){var o,u;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r(),t.next=3,c.a.get("/app.php",{params:{a:"getPracticalBoards",fdeggrp:e,univcode:o.user.fcuruniv}});case 3:"object"!==typeof(u=t.sent).data?a({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Boards"},status:"failure"}}):-1===u.data.error_code?a({type:"SET_ERROR",payload:u.data}):a({type:"FETCH_BOARDS",payload:u.data});case 5:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},s=function(e,t,a,r){return function(){var u=Object(o.a)(n.a.mark(function o(u,d){var i,p;return n.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=d(),u({type:"SET_LOADER"}),n.next=4,c.a.get("/app.php",{params:{a:"getPracticalBatchDet",fdeggrp:e,fdegree:a,fboard:t,fsubcode:r,univcode:i.univ.funivcode}});case 4:p=n.sent,u({type:"UNSET_LOADER"}),"object"!==typeof p.data?u({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Batch Details"},status:"failure"}}):-1===p.data.error_code?u({type:"SET_ERROR",payload:p.data}):u({type:"FETCH_PRBATCHDET",payload:p.data});case 7:case"end":return n.stop()}},o)}));return function(e,t){return u.apply(this,arguments)}}()}},306:function(e,t,a){"use strict";a.d(t,"b",function(){return d}),a.d(t,"c",function(){return i}),a.d(t,"a",function(){return p}),a.d(t,"d",function(){return s}),a.d(t,"e",function(){return l});var r=a(41),n=a.n(r),o=a(68),c=a(269),u=a(266),d=function(e){return function(){var t=Object(o.a)(n.a.mark(function t(a,r){var o,d,i,p;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r(),t.next=3,c.a.get("/app.php",{params:{a:"getfboard",deggrp:e,univcode:o.user.fcuruniv}});case 3:"object"!==typeof(d=t.sent).data?(i={header:"Error",content:"Something went wrong"},a(Object(u.w)(i))):-1===d.data.error_code?(p={header:"Error",content:d.data.data.msg},a(Object(u.w)(p))):a({type:"FETCH_BOARDS",payload:d.data});case 5:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},i=function(e){return function(){var t=Object(o.a)(n.a.mark(function t(a,r){var o,d,i,p;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r(),a({type:"SET_LOADER"}),a({type:"DELETE_QPSTATS"}),t.next=5,c.a.get("/app.php",{params:{a:"getscript",deggrp:e.fdeggrp,univcode:o.user.fcuruniv,fboard:e.fboard,fexamno:e.Examno,status:e.valstats}});case 5:d=t.sent,a({type:"UNSET_LOADER"}),"object"!==typeof d.data?(i={header:"Error",content:"Something went wrong"},a(Object(u.w)(i))):-1===d.data.error_code?(p={header:"Error",content:d.data.data.msg},a(Object(u.w)(p))):a({type:"FETCH_QPSTATS",payload:d.data});case 8:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},p=function(e){return function(){var t=Object(o.a)(n.a.mark(function t(a,r){var o,d,i,p;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r(),a({type:"DELETE_QPSTATS"}),t.next=4,c.a.get("/app.php",{params:{a:"loadboardvaluationstats",deggrp:e,univcode:o.user.fcuruniv}});case 4:"object"!==typeof(d=t.sent).data?(i={header:"Error",content:"Something went wrong"},a(Object(u.w)(i))):-1===d.data.error_code?(p={header:"Error",content:d.data.data.msg},a(Object(u.w)(p))):a({type:"FETCH_BOARDS",payload:d.data});case 6:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},s=function(e){return function(){var t=Object(o.a)(n.a.mark(function t(a,r){var o,d,i,p;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r(),a({type:"SET_LOADER"}),a({type:"DELETE_QPSTATS_SUM"}),t.next=5,c.a.get("/app.php",{params:{a:"getscriptSummary",deggrp:e.fdeggrp,univcode:o.user.fcuruniv,fexamno:e.Examno,fboard:e.fboard,status:e.valsum}});case 5:d=t.sent,a({type:"UNSET_LOADER"}),"object"!==typeof d.data?(i={header:"Error",content:"Something went wrong"},a(Object(u.w)(i))):-1===d.data.error_code?(p={header:"Error",content:d.data.data.msg},a(Object(u.w)(p))):a({type:"FETCH_QPSTATS_SUM",payload:d.data});case 8:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},l=function(e){return function(){var t=Object(o.a)(n.a.mark(function t(a,r){var o,d,i,p;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r(),t.next=3,c.a.get("/app.php",{params:{a:"getTeachfboard",deggrp:e,univcode:o.user.fcuruniv}});case 3:"object"!==typeof(d=t.sent).data?(i={header:"Error",content:"Something went wrong"},a(Object(u.w)(i))):-1===d.data.error_code?(p={header:"Error",content:d.data.data.msg},a(Object(u.w)(p))):a({type:"FETCH_BOARDS",payload:d.data});case 5:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()}},316:function(e,t,a){"use strict";var r=a(99),n=a(100),o=a(102),c=a(101),u=a(103),d=a(1),i=a.n(d),p=a(104),s=a(1098),l=a(1100),f=a(305),E=function(e){function t(){return Object(r.a)(this,t),Object(o.a)(this,Object(c.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(n.a)(t,[{key:"render",value:function(){var e=this.props.board.map(function(e,t){return{key:t,value:e.fboardcode,text:"".concat(e.fboardcode," - ").concat(e.fboardname)}});return i.a.createElement(s.a.Field,null,i.a.createElement("label",null,"Board"),i.a.createElement(l.a,{fluid:!0,search:!0,selection:!0,value:this.props.fboard,onChange:this.props.onBoardChange,placeholder:"Select Board",options:e}))}}]),t}(d.Component);t.a=Object(p.b)(function(e){return{board:e.boards,user:e.user}},{fetchSubPrBoard:f.d})(E)},383:function(e,t,a){"use strict";a.d(t,"d",function(){return i}),a.d(t,"e",function(){return p}),a.d(t,"a",function(){return s}),a.d(t,"c",function(){return l}),a.d(t,"b",function(){return f}),a.d(t,"f",function(){return E});var r=a(41),n=a.n(r),o=a(68),c=a(269),u=a(266),d=a(290),i=function(e){return function(){var t=Object(o.a)(n.a.mark(function t(a,r){var o,d,i,p;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r(),t.next=3,c.a.get("/app.php",{params:{a:"loadrvmarksentrytable",deggrp:e,univcode:o.user.fcuruniv}});case 3:"object"!==typeof(d=t.sent).data?(i={header:"Error",content:"Something went wrong"},a(Object(u.w)(i))):-1===d.data.error_code?(p={header:"Error",content:d.data.data.msg},a(Object(u.w)(p))):a({type:"RV_ENTRY",payload:d.data});case 5:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},p=function(e){return function(){var t=Object(o.a)(n.a.mark(function t(a,r){var o,d,i,p;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r(),a({type:"SET_LOADER"}),console.log(e),t.next=5,c.a.get("/app.php",{params:{a:"getdocdetRV",univcode:o.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(u.w)(i))):-1===d.data.error_code?(p={header:"Error",content:d.data.data.msg},a(Object(u.w)(p))):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)}}()},s=function(e,t,a){return{type:"RV_MARKS_CHANGE",payload:{data:e,el:t,i:a}}},l=function(e){return{type:"RV_MARKS_QPCODE_CHANGE",payload:{data:e}}},f=function(e){return{type:"RV_MARKS_PACKET_CHANGE",payload:{data:e}}},E=function(e){return function(){var t=Object(o.a)(n.a.mark(function t(a,r){var o,i,p,s,l;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r(),t.next=3,c.a.post("/app.php?a=saveRVMarks&univcode="+o.univ.funivcode,{data:{docno:e,table:o.rvDocDet.table,pktno:o.rvDocDet.fpacket,qpcode:o.rvDocDet.fqpcode,user:o.user}});case 3:"object"!==typeof(i=t.sent).data?(p={header:"Error",content:"Something went wrong"},a(Object(u.w)(p))):-1===i.data.error_code?(s={header:"Error",content:i.data.data.msg},a(Object(u.w)(s))):(l={header:"Success",content:i.data.data.msg},a(Object(u.w)(l)),d.k.push("/after-exam/rvMarksEntry"));case 5:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()}},489:function(e,t,a){"use strict";a.d(t,"g",function(){return i}),a.d(t,"f",function(){return p}),a.d(t,"a",function(){return s}),a.d(t,"d",function(){return l}),a.d(t,"e",function(){return f}),a.d(t,"c",function(){return E}),a.d(t,"b",function(){return m});var r=a(41),n=a.n(r),o=a(68),c=a(269),u=a(266),d=a(290),i=function(e){return function(){var t=Object(o.a)(n.a.mark(function t(a,r){var o,d,i;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r(),a({type:"CLEAR_CREATE_BOE"}),t.next=4,c.a.get("/app.php",{params:{a:"loadcreatedoetable",univcode:o.user.fcuruniv,deggrp:e}});case 4:"object"!==typeof(d=t.sent).data?(i={header:"Error",content:"Something went wrong"},a(Object(u.w)(i))):-1===d.data.error_code||a({type:"GET_BOE_TABLE",payload:d.data});case 6:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},p=function(e){return function(){var t=Object(o.a)(n.a.mark(function t(a,r){var o,d,i,p;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r(),a({type:"SET_LOADER"}),a({type:"CLEAR_CREATE_BOE"}),t.next=5,c.a.get("/app.php",{params:{a:"loadchairmandetBOE",univcode:o.user.fcuruniv,chairmancode:e.chaircode,screen:e.screen,fboard:e.fboard,fgrpname:e.fgrpname}});case 5:d=t.sent,a({type:"UNSET_LOADER"}),"object"!==typeof d.data?(i={header:"Error",content:"Something went wrong"},a(Object(u.w)(i))):-1===d.data.error_code?(p={header:"Error",content:d.data.data.msg},a(Object(u.w)(p))):(console.log(d.data),"edit"==d.data.data.screen&&a({type:"BOE_TEACHERS",payload:d.data}),a({type:"CHAIRMAN_BOARD",payload:d.data}));case 8:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},s=function(e,t,a){return function(){var e=Object(o.a)(n.a.mark(function e(t,r){var o,d,i,p;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=r(),t({type:"CLEAR_CREATE_BOE"}),e.next=4,c.a.get("/app.php",{params:{a:"loadsubmitBOE",univcode:o.user.fcuruniv,fboard:o.boeChairmanBoard.fboard,fgrpname:o.boeChairmanBoard.fgrpname,screen:a}});case 4:"object"!==typeof(d=e.sent).data?(i={header:"Error",content:"Something went wrong"},t(Object(u.w)(i))):-1===d.data.error_code?(p={header:"Error",content:d.data.data.msg},t(Object(u.w)(p))):t({type:"BOE_TEACHERS",payload:d.data});case 6:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()},l=function(e,t,a){return{type:"CHANGE_TEACHLIST_BOE",payload:{e:e,data:t,i:a}}},f=function(e,t){return function(){var e=Object(o.a)(n.a.mark(function e(t,a){var r,o,i,p,s;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=a(),t({type:"CLEAR_CREATE_BOE"}),e.next=4,c.a.post("/app.php?a=createBOENEW&univcode="+r.user.fcuruniv,{body:{fboard:r.boeChairmanBoard.fboard,fgrpname:r.boeChairmanBoard.fgrpname,crtboe:r.boeteachlist,user:r.user}});case 4:"object"!==typeof(o=e.sent).data?(i={header:"Error",content:"Something went wrong"},t(Object(u.w)(i))):-1===o.data.error_code?(p={header:"Error",content:o.data.data.msg},t(Object(u.w)(p))):(s={header:"Success",content:o.data.data.msg},t(Object(u.w)(s)),d.k.push("/createboe"));case 6:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()},E=function(e){return{type:"CHANGE_BOE_GRPNAME",payload:{data:e}}},m=function(e){return{type:"CHANGE_BOE_BOARD",payload:{data:e}}}}}]);
//# sourceMappingURL=19.d2259ecb.chunk.js.map