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 : 52.14.201.216


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/26.07ea915c.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{1147:function(e,t,a){"use strict";a.r(t);var n=a(41),r=a.n(n),c=a(68),l=a(3),o=a(99),i=a(100),s=a(102),u=a(101),p=a(103),d=a(1),f=a.n(d),g=a(858),m=a(104),h=a(1139),E=a(1106),b=a(272),v=a(1098),y=a(1100),x=a(266),w=a(306),C=a(271),S=a(270),O=(a(316),a(1e3)),j=a(1101),A=function(e){function t(){var e,a;Object(o.a)(this,t);for(var n=arguments.length,r=new Array(n),c=0;c<n;c++)r[c]=arguments[c];return(a=Object(s.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(r)))).state={qpstat:[],searchVal:""},a.searchTable=function(e,t){var n=t.value,r=a.props.qpstat.filter(function(e){return Object.keys(e).some(function(t){return e[t].toLowerCase().includes(n.toLowerCase())})});a.setState({qpstat:r,searchVal:t.value})},a}return Object(p.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.setState({qpstat:this.props.qpstat,searchVal:""})}},{key:"componentDidUpdate",value:function(e){this.props.qpstat!==e.qpstat&&this.setState({qpstat:this.props.qpstat,searchVal:""})}},{key:"render",value:function(){var e=this,t=this.state.qpstat;return f.a.createElement("div",null,f.a.createElement(b.a,null),f.a.createElement("div",{style:{margin:"1em 0em",backgroundColor:"white"},className:"stick"},f.a.createElement(O.a,{icon:"search",fluid:!0,placeholder:"Search...",value:this.state.searchVal,onChange:this.searchTable})),f.a.createElement(j.a,{celled:!0,compact:!0},f.a.createElement(j.a.Header,null," ","PG"===this.props.thisstate.fdeggrp?f.a.createElement(f.a.Fragment,null,f.a.createElement(j.a.Row,null,f.a.createElement(j.a.HeaderCell,{style:{width:"5%"},singleLine:!0,rowSpan:"2",textAlign:"center"},"Sl. No."),f.a.createElement(j.a.HeaderCell,{style:{width:"15%"},singleLine:!0,rowSpan:"2",textAlign:"center"},"Board"),f.a.createElement(j.a.HeaderCell,{style:{width:"10%"},textAlign:"center",rowSpan:"2"},"Qp. Code"),f.a.createElement(j.a.HeaderCell,{style:{width:"40%"},rowSpan:"2",textAlign:"center"},"Subject Name"),f.a.createElement(j.a.HeaderCell,{colSpan:"3",textAlign:"center"},"Preparation"),f.a.createElement(j.a.HeaderCell,{colSpan:"3",textAlign:"center"},"First  Valuation"),f.a.createElement(j.a.HeaderCell,{colSpan:"3",textAlign:"center"},"Second Valuation"),f.a.createElement(j.a.HeaderCell,{colSpan:"3",textAlign:"center"},"Third Valuation")),f.a.createElement(j.a.Row,null,f.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Script Recd."),f.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Script Coded"),f.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Coding Pending"),f.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Pkt. Count"),f.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Pkt. Valued"),f.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Pkt. Pending"),f.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Pkt. Count"),f.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Pkt. Valued"),f.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Pkt. Pending"),f.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Pkt. Count"),f.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Pkt. Valued"),f.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Pkt. Pending"))):f.a.createElement(f.a.Fragment,null,f.a.createElement(j.a.Row,null,f.a.createElement(j.a.HeaderCell,{style:{width:"5%"},singleLine:!0,rowSpan:"2",textAlign:"center"},"Sl. No."),f.a.createElement(j.a.HeaderCell,{style:{width:"25%"},singleLine:!0,rowSpan:"2",textAlign:"center"},"Board Name"),f.a.createElement(j.a.HeaderCell,{style:{width:"10%"},rowSpan:"2",textAlign:"center"},"Qp. Code"),f.a.createElement(j.a.HeaderCell,{style:{width:"40%"},rowSpan:"3",textAlign:"center"},"Subject Name"),f.a.createElement(j.a.HeaderCell,{colSpan:"3",textAlign:"center"},"Preparation"),f.a.createElement(j.a.HeaderCell,{colSpan:"3",textAlign:"center"},"Valuation")),f.a.createElement(j.a.Row,null,f.a.createElement(j.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"Script Recd."),f.a.createElement(j.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"Script Coded"),f.a.createElement(j.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"Coding Pending"),f.a.createElement(j.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"Packets Count"),f.a.createElement(j.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"Packets Valued"),f.a.createElement(j.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"Valuation Pending")))," "),f.a.createElement(j.a.Body,null," ",t.map(function(t,a){return"PG"===e.props.thisstate.fdeggrp?f.a.createElement(j.a.Row,{key:a},f.a.createElement(j.a.Cell,{textAlign:"center"},a+1),f.a.createElement(j.a.Cell,{textAlign:"center"},t.fboard),f.a.createElement(j.a.Cell,{textAlign:"center"},t.fqpcode),f.a.createElement(j.a.Cell,null,t.fsubname),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.fspresent)," "),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.fcodecount)," "),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.fapresent-t.fcodecount<0?0:t.fapresent-t.fcodecount)," "),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.ftotpkt1)," "),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.fvalpkt1)," "),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.ftotpkt1-t.fvalpkt1<0?0:t.ftotpkt1-t.fvalpkt1)," "),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.ftotpkt2)," "),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.fvalpkt2)," "),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.ftotpkt1-t.fvalpkt2<0?0:t.ftotpkt1-t.fvalpkt2)," "),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.ftotpkt3)," "),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.fvalpkt3)," "),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.ftotpkt2-t.fvalpkt3<0?0:t.ftotpkt2-t.fvalpkt3)," ")):f.a.createElement(j.a.Row,{key:a},f.a.createElement(j.a.Cell,{textAlign:"center"},a+1),f.a.createElement(j.a.Cell,{textAlign:"left"},t.fboard+"-"+t.fboardname),f.a.createElement(j.a.Cell,{textAlign:"center"},t.fqpcode),f.a.createElement(j.a.Cell,null,t.fsubname),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.fspresent)," "),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.fcodecount)," "),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.fapresent-t.fcodecount<0?0:t.fapresent-t.fcodecount)," "),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.ftotpkt1)," "),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.fvalpkt1)," "),f.a.createElement(j.a.Cell,{textAlign:"center"},Object(S.g)(t.ftotpkt1-t.fvalpkt1<0?0:t.ftotpkt1-t.fvalpkt1)," "))})," ")))}}]),t}(d.Component),k=Object(m.b)(function(e){return{qpstat:e.qpstat,user:e.user}},{showError:x.w})(A),H=a(288),R=function(e){function t(){var e,a;Object(o.a)(this,t);for(var n=arguments.length,i=new Array(n),p=0;p<n;p++)i[p]=arguments[p];return(a=Object(s.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(i)))).state={fboard:"",frmsubmit:!1,deggrp:[],fdeggrp:"",fyear:"",fexamtype:"",fexamdate:"",open:!0,Examno:"ABCDEFGHIJ",valstats:"All",exams:[{key:"All",value:"ABCDEFGHIJ",text:"All"},{key:"A",value:"A",text:"I Semester"},{key:"B",value:"B",text:"II Semester"},{key:"C",value:"C",text:"III Semester"},{key:"D",value:"D",text:"IV Semester"},{key:"E",value:"E",text:"V Semester"},{key:"F",value:"F",text:"VI Semester"},{key:"G",value:"G",text:"VII Semester"},{key:"H",value:"H",text:"VIII Semester"},{key:"I",value:"I",text:"IX Semester"},{key:"J",value:"J",text:"X Semester"}]},a.onBoardChange=function(e,t){a.setState({fboard:t.value,frmsubmit:!1,valstats:"All",Examno:"ABCDEFGHIJ"})},a.handleCancel=function(){a.setState({fboard:"",frmsubmit:!1,open:!0,Examno:"ABCDEFGHIJ",valstats:"All"})},a.handleChange=function(e,t){switch(t.type){case"text":return void a.setState(Object(l.a)({},t.name,t.value.toUpperCase()));default:return void a.setState(Object(l.a)({},t.name,t.value))}},a.changeDeggrp=function(){var e=Object(c.a)(r.a.mark(function e(t,n){var c,l;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=a.props.deggrp.filter(function(e,t){return e.fdeggrp===n.value}),l=c[0],e.next=4,a.setState({fyear:l.fyear,fexamtype:l.fexamtype,fexamdate:l.fexamdate,fdeggrp:n.value,frmSubmit:!1});case 4:a.props.fetchQpBoard(a.state.fdeggrp);case 5:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}(),a.handleReport=function(){var e=a.props.user.fcuruniv,t=a.state,n=t.fdeggrp,r=(t.fyear,t.fexamtype,t.fexamdate,t.Examno),c=t.fboard,l=t.valstats;if(""!==n)window.open(C.c+"valuationstatsReport&univcode="+e+"&deggrp="+n+"&fboard="+c+"&fexamno="+r+"&status="+l+"&fcollcode="+a.props.user.fcollcode,"_blank");else{a.props.showError({header:"Error",content:"Select Degree Group"})}},a.handleSubmit=Object(c.a)(r.a.mark(function e(){var t,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==a.state.fboard){e.next=4;break}return t={header:"Error",content:"Select Board"},a.props.showError(t),e.abrupt("return");case 4:if(""!==a.state.Examno){e.next=8;break}return n={header:"Error",content:"Select Exam No."},a.props.showError(n),e.abrupt("return");case 8:return a.setState({frmsubmit:!1}),e.next=11,a.props.fetchQpStatistics(a.state);case 11:a.setState({frmsubmit:!0});case 12:case"end":return e.stop()}},e)})),a}return Object(p.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=Object(c.a)(r.a.mark(function e(){return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.props.fetchDegGrp();case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{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.state,t=e.fdeggrp,a=e.fyear,n=e.fexamtype,r=e.fexamdate,c=e.Examno,l=e.valstats,o=Object(S.i)(),i=[{value:"All",text:"All"}];this.props.board.map(function(e){i.push({value:e.fboardcode,text:"".concat(e.fboardcode," - ").concat(e.fboardname)})});return console.log(i),f.a.createElement("div",{className:"animated fadeIn"},f.a.createElement(h.a,{fluid:!0},f.a.createElement(h.a.Content,null,f.a.createElement(h.a.Header,{style:{display:"flex"}},f.a.createElement("h4",null,"Valuation Statistics"),f.a.createElement("div",{className:"ml-auto"},f.a.createElement(E.a,{basic:!0,color:"blue",onClick:this.handleReport,content:"Report",icon:"file"}),f.a.createElement(E.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),f.a.createElement(g.a,{to:"/dashboard"},f.a.createElement(E.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),f.a.createElement(b.a,null),f.a.createElement(h.a.Description,{style:{height:"".concat(o,"px"),overflowY:"auto"}},f.a.createElement(v.a,null,f.a.createElement(v.a.Field,{width:8},f.a.createElement(H.a,{pdeggrp:{fdeggrp:t,fyear:a,fexamtype:n,fexamdate:r},changeDeggrp:this.changeDeggrp}),f.a.createElement(v.a.Field,null,f.a.createElement("label",null,"Board"),f.a.createElement(y.a,{fluid:!0,search:!0,selection:!0,value:this.props.fboard,onChange:this.onBoardChange,placeholder:"Select Board",options:i})),f.a.createElement(v.a.Group,null,f.a.createElement(v.a.Field,{width:8},f.a.createElement("label",null," Examno "),f.a.createElement(y.a,{fluid:!0,search:!0,selection:!0,name:"Examno",value:c,onChange:this.handleChange,placeholder:"Select Semester",options:this.state.exams})),f.a.createElement(v.a.Field,{width:8},f.a.createElement("label",null," Valuation Status "),f.a.createElement(y.a,{placeholder:"Select Status",name:"valstats",value:l,selection:!0,search:!0,options:[{value:"All",text:"All"},{value:"pending",text:"Pending"},{value:"completed",text:"Completed"}],onChange:this.handleChange})))),f.a.createElement(E.a,{color:"blue",onClick:this.handleSubmit,content:"Submit"})),this.state.frmsubmit?f.a.createElement(k,{thisstate:this.state}):null))))}}]),t}(d.Component);t.default=Object(m.b)(function(e){return{user:e.user,deggrp:e.deggrp,board:e.boards}},{showError:x.w,fetchQpBoard:w.b,fetchQpStatistics:w.c,changedeggrploadboard:w.a,fetchDegGrp:x.j})(R)},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),p=a(549),d=a(267);function f(e){var t=e.children,a=e.className,n=e.clearing,c=e.content,o=e.fitted,g=e.hidden,m=e.horizontal,h=e.inverted,E=e.section,b=e.vertical,v=l()("ui",Object(s.a)(n,"clearing"),Object(s.a)(o,"fitted"),Object(s.a)(g,"hidden"),Object(s.a)(m,"horizontal"),Object(s.a)(h,"inverted"),Object(s.a)(E,"section"),Object(s.a)(b,"vertical"),"divider",a),y=Object(u.a)(f,e),x=Object(p.a)(f,e);return i.a.createElement(x,r()({},y,{className:v}),d.a.isNil(t)?c:t)}f.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],f.propTypes={},t.a=f},288:function(e,t,a){"use strict";var n=a(41),r=a.n(n),c=a(68),l=a(99),o=a(100),i=a(102),s=a(101),u=a(103),p=a(1),d=a.n(p),f=a(104),g=a(1098),m=a(1100),h=a(266),E=function(e){function t(){return Object(l.a)(this,t),Object(i.a)(this,Object(s.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){var e=Object(c.a)(r.a.mark(function e(){return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.props.deggrp.map(function(e,t){return{key:t,value:e.fdeggrp,text:"".concat(e.fdeggrp," - ").concat(e.fdescpn)}});console.log(this.props.pdeggrp);var t=this.props.pdeggrp,a=t.fdeggrp,n=t.fyear,r=t.fexamtype,c=t.fexamdate;return d.a.createElement("div",null,d.a.createElement(g.a.Field,null,d.a.createElement("label",null,"Degree Group"),d.a.createElement(m.a,{size:"mini",fluid:!0,search:!0,selection:!0,value:a,onChange:this.props.changeDeggrp,placeholder:"Select Degree Group",disabled:this.props.disabled,openOnFocus:!1,options:e,selectOnBlur:!1})),d.a.createElement(g.a.Group,null,d.a.createElement(g.a.Input,{placeholder:"Year",value:n,width:4,label:"Year",readOnly:!0}),d.a.createElement(g.a.Input,{placeholder:"Type",value:r,width:3,label:"Type",readOnly:!0}),d.a.createElement(g.a.Input,{placeholder:"Exam Date",label:"Exam Date",width:10,value:c,readOnly:!0})))}}]),t}(p.Component);t.a=Object(f.b)(function(e){return{deggrp:e.deggrp,user:e.user}},{fetchDegGrp:h.j})(E)},305:function(e,t,a){"use strict";a.d(t,"b",function(){return i}),a.d(t,"c",function(){return s}),a.d(t,"d",function(){return u}),a.d(t,"a",function(){return p});var n=a(41),r=a.n(n),c=a(68),l=a(269),o=a(23),i=function(e,t,a){return function(){var e=Object(c.a)(r.a.mark(function e(n,c){var i,s;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=c(),e.next=3,l.a.get("/app.php",{params:{a:"getDegrees",modtype:a,fboard:t,deggrp:i.user.fdeggrp,univcode:i.univ.funivcode}});case 3:"object"!==typeof(s=e.sent).data?n({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Degrees"},status:"failure"}}):-1===s.data.error_code?n({type:"SET_ERROR",payload:s.data}):n({type:o.g,payload:s.data});case 5:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()},s=function(e,t){return function(){var a=Object(c.a)(r.a.mark(function a(n,c){var o,i;return r.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return o=c(),a.next=3,l.a.get("/app.php",{params:{a:"getPracticalSubjects",fdegree:e,fboard:t,univcode:o.univ.funivcode}});case 3:"object"!==typeof(i=a.sent).data?n({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Subjects"},status:"failure"}}):-1===i.data.error_code?n({type:"SET_ERROR",payload:i.data}):n({type:"FETCH_PRSUB",payload:i.data});case 5:case"end":return a.stop()}},a)}));return function(e,t){return a.apply(this,arguments)}}()},u=function(e){return function(){var t=Object(c.a)(r.a.mark(function t(a,n){var c,o;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),t.next=3,l.a.get("/app.php",{params:{a:"getPracticalBoards",fdeggrp:e,univcode:c.user.fcuruniv}});case 3:"object"!==typeof(o=t.sent).data?a({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Boards"},status:"failure"}}):-1===o.data.error_code?a({type:"SET_ERROR",payload:o.data}):a({type:"FETCH_BOARDS",payload:o.data});case 5:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},p=function(e,t,a,n){return function(){var o=Object(c.a)(r.a.mark(function c(o,i){var s,u;return r.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return s=i(),o({type:"SET_LOADER"}),r.next=4,l.a.get("/app.php",{params:{a:"getPracticalBatchDet",fdeggrp:e,fdegree:a,fboard:t,fsubcode:n,univcode:s.univ.funivcode}});case 4:u=r.sent,o({type:"UNSET_LOADER"}),"object"!==typeof u.data?o({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Batch Details"},status:"failure"}}):-1===u.data.error_code?o({type:"SET_ERROR",payload:u.data}):o({type:"FETCH_PRBATCHDET",payload:u.data});case 7:case"end":return r.stop()}},c)}));return function(e,t){return o.apply(this,arguments)}}()}},306:function(e,t,a){"use strict";a.d(t,"b",function(){return i}),a.d(t,"c",function(){return s}),a.d(t,"a",function(){return u}),a.d(t,"d",function(){return p}),a.d(t,"e",function(){return d});var n=a(41),r=a.n(n),c=a(68),l=a(269),o=a(266),i=function(e){return function(){var t=Object(c.a)(r.a.mark(function t(a,n){var c,i,s,u;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),t.next=3,l.a.get("/app.php",{params:{a:"getfboard",deggrp:e,univcode:c.user.fcuruniv}});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))):a({type:"FETCH_BOARDS",payload:i.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(c.a)(r.a.mark(function t(a,n){var c,i,s,u;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),a({type:"SET_LOADER"}),a({type:"DELETE_QPSTATS"}),t.next=5,l.a.get("/app.php",{params:{a:"getscript",deggrp:e.fdeggrp,univcode:c.user.fcuruniv,fboard:e.fboard,fexamno:e.Examno,status:e.valstats}});case 5:i=t.sent,a({type:"UNSET_LOADER"}),"object"!==typeof i.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))):a({type:"FETCH_QPSTATS",payload:i.data});case 8:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},u=function(e){return function(){var t=Object(c.a)(r.a.mark(function t(a,n){var c,i,s,u;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),a({type:"DELETE_QPSTATS"}),t.next=4,l.a.get("/app.php",{params:{a:"loadboardvaluationstats",deggrp:e,univcode:c.user.fcuruniv}});case 4:"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))):a({type:"FETCH_BOARDS",payload:i.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(c.a)(r.a.mark(function t(a,n){var c,i,s,u;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),a({type:"SET_LOADER"}),a({type:"DELETE_QPSTATS_SUM"}),t.next=5,l.a.get("/app.php",{params:{a:"getscriptSummary",deggrp:e.fdeggrp,univcode:c.user.fcuruniv,fexamno:e.Examno,fboard:e.fboard,status:e.valsum}});case 5:i=t.sent,a({type:"UNSET_LOADER"}),"object"!==typeof i.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))):a({type:"FETCH_QPSTATS_SUM",payload:i.data});case 8:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},d=function(e){return function(){var t=Object(c.a)(r.a.mark(function t(a,n){var c,i,s,u;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),t.next=3,l.a.get("/app.php",{params:{a:"getTeachfboard",deggrp:e,univcode:c.user.fcuruniv}});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))):a({type:"FETCH_BOARDS",payload:i.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 n=a(99),r=a(100),c=a(102),l=a(101),o=a(103),i=a(1),s=a.n(i),u=a(104),p=a(1098),d=a(1100),f=a(305),g=function(e){function t(){return Object(n.a)(this,t),Object(c.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(o.a)(t,e),Object(r.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 s.a.createElement(p.a.Field,null,s.a.createElement("label",null,"Board"),s.a.createElement(d.a,{fluid:!0,search:!0,selection:!0,value:this.props.fboard,onChange:this.props.onBoardChange,placeholder:"Select Board",options:e}))}}]),t}(i.Component);t.a=Object(u.b)(function(e){return{board:e.boards,user:e.user}},{fetchSubPrBoard:f.d})(g)}}]);
//# sourceMappingURL=26.07ea915c.chunk.js.map