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.12.165.68
(window.webpackJsonp=window.webpackJsonp||[]).push([[145],{1067:function(e,t,a){"use strict";a.r(t);var n=a(0),r=a(3),l=a(41),c=a.n(l),o=a(68),s=a(99),i=a(100),u=a(102),d=a(101),p=a(103),m=a(1),f=a.n(m),g=a(858),h=a(1139),E=a(1106),x=a(1175),v=a(1098),b=a(1101),C=a(272),y=a(104),w=a(266),S=a(271),D=a(270),A=a(382),k=function(e){function t(){var e,a;Object(s.a)(this,t);for(var l=arguments.length,i=new Array(l),p=0;p<l;p++)i[p]=arguments[p];return(a=Object(u.a)(this,(e=Object(d.a)(t)).call.apply(e,[this].concat(i)))).state={examno:"",clgfrom:"0",clgto:"ZZZZ",degfrom:"0",degto:"ZZZZZ",degree:"",table:!1,activeIndex:0,issueto:""},a.componentDidMount=Object(o.a)(c.a.mark(function e(){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.props.getDispDetails();case 2:case"end":return e.stop()}},e)})),a.changeTabIndex=function(e,t){var n=t.activeIndex;a.setState({activeIndex:n})},a.handleCancel=function(){var e=Object(o.a)(c.a.mark(function e(t,n){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a.setState({examno:"",clgfrom:"0",clgto:"ZZZZ",degfrom:"0",degto:"ZZZZ",degree:"",table:!1,issueto:""});case 1:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}(),a.handleChange=function(){var e=Object(o.a)(c.a.mark(function e(t,n){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a.setState(Object(r.a)({},n.name,n.value));case 1:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}(),a.handleChangeclgfrom=function(){var e=Object(o.a)(c.a.mark(function e(t,n){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a.setState({clgfrom:n.value});case 1:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}(),a.handleChangeclgto=function(){var e=Object(o.a)(c.a.mark(function e(t,n){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a.setState({clgto:n.value});case 1:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}(),a.handleChangedegfrom=function(){var e=Object(o.a)(c.a.mark(function e(t,n){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a.setState({degfrom:n.value.toUpperCase()});case 1:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}(),a.handleChangedegto=function(){var e=Object(o.a)(c.a.mark(function e(t,n){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a.setState({degto:n.value.toUpperCase()});case 1:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}(),a.handleChangeexamno=function(){var e=Object(o.a)(c.a.mark(function e(t,n){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a.setState({examno:n.value.toUpperCase()});case 1:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}(),a.handleChangeissueto=function(){var e=Object(o.a)(c.a.mark(function e(t,n){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a.setState({issueto:n.value});case 1:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}(),a.handleSubmit=Object(o.a)(c.a.mark(function e(){var t,n,r,l,o,s,i;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.state,n=t.examno,r=t.degfrom,l=t.degto,o=t.degree,s=t.clgfrom,i=t.clgto,t.table,t.issueto,e.next=3,a.props.getDispatchmksdata(n,s,i,r,l,o);case 3:a.setState({table:!0});case 4:case"end":return e.stop()}},e)})),a.changeCell=function(e,t,l){var c={};if("checkbox"==e.type){var o=e.checked?"T":"F";c=Object(n.a)({},t,Object(r.a)({},e.name,o)),a.props.changeDet(c,l)}},a.selectallsent=function(e){console.log(e.target.checked),a.props.selectallchkbxsent(e.target.checked)},a.handleReport=function(e){var t=e.fdispno,n=a.props.user,r=n.fdeggrp,l=n.fcuruniv,c=a.state,o=c.examno,s=c.degfrom,i=c.degto,u=c.clgfrom,d=c.clgto;c.table;console.log(a.state),window.open(S.c+"DispMarksReport&clgfrom="+u+"&clgto="+d+"&univcode="+l+"°grp="+r+"&examno="+o+"°from="+s+"°to="+i+"&dispno="+t+"&format=PDF","_blank")},a.handleReportDetailed=function(e){var t=e.fdispno,n=a.props.user,r=n.fdeggrp,l=n.fcuruniv,c=a.state,o=c.examno,s=c.degfrom,i=c.degto,u=c.clgfrom,d=c.clgto;c.table;console.log(a.state),window.open(S.c+"DispMarksReportDetailed&clgfrom="+u+"&clgto="+d+"&univcode="+l+"°grp="+r+"&examno="+o+"°from="+s+"°to="+i+"&dispno="+t+"&format=PDF","_blank")},a.handleSave=Object(o.a)(c.a.mark(function e(){var t,n,r;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(1==a.state.table){e.next=4;break}return t={header:"Error",content:"No changes to save "},a.props.showError(t),e.abrupt("return");case 4:if(""!=a.state.issueto){e.next=8;break}return n={header:"Error",content:"Enter Issue to "},a.props.showError(n),e.abrupt("return");case 8:return r=a.props.dispatchMarkscardTable,e.next=11,a.props.updatemarkscarddisp(r,a.state.examno,a.state.clgfrom,a.state.clgto,a.state.degfrom,a.state.degto,a.state.degree,a.state.issueto);case 11:a.handleCancel(),a.props.getDispDetails(),a.setState({activeIndex:1});case 14:case"end":return e.stop()}},e)})),a.renderHeader=function(){return f.a.createElement(h.a.Header,{style:{display:"flex"}},f.a.createElement("h3",null,"Dispatch Marks Card To Exam section"),f.a.createElement("div",{className:"ml-auto"},f.a.createElement(E.a,{basic:!0,color:"green",icon:"save",content:"Save",onClick:a.handleSave}),f.a.createElement(E.a,{basic:!0,color:"black",icon:"ban",content:"Cancel",onClick:a.handleCancel}),f.a.createElement(g.a,{to:"/dashboard"},f.a.createElement(E.a,{basic:!0,color:"red",content:"Exit",icon:"home"}))))},a}return Object(p.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){var e=this,t=this.state,a=t.examno,n=t.degfrom,r=t.degto,l=(t.reporttype,t.Examno,t.degree,t.clgfrom),c=t.clgto,o=t.table,s=t.issueto,i=Object(D.i)(),u=[{menuItem:"Dispatch Marks card",render:function(){return f.a.createElement(x.a.Pane,null,f.a.createElement("div",{className:"col-md-4"},f.a.createElement(v.a,null,f.a.createElement("div",null,f.a.createElement(v.a.Group,null,f.a.createElement(v.a.Field,{width:8},f.a.createElement("label",null,"Degree"),f.a.createElement(v.a.Input,{type:"text",value:n,maxLength:8,placeholder:"Degree ",name:"degfrom",onChange:e.handleChangedegfrom})),f.a.createElement(v.a.Field,{width:8},f.a.createElement(v.a.Input,{type:"text",value:r,maxLength:8,placeholder:"Degree ",name:"degto",style:{marginTop:"1.6em"},onChange:e.handleChangedegto}))),f.a.createElement(v.a.Group,null,f.a.createElement(v.a.Field,{width:8},f.a.createElement("label",null,"College range"),f.a.createElement(v.a.Input,{type:"text",value:l,maxLength:8,placeholder:"College From",name:"clgfrom",onChange:e.handleChangeclgfrom})),f.a.createElement(v.a.Field,{width:8},f.a.createElement(v.a.Input,{type:"text",value:c,maxLength:8,placeholder:"College To",name:"clgto",style:{marginTop:"1.6em"},onChange:e.handleChangeclgto}))),f.a.createElement(v.a.Group,null,f.a.createElement(v.a.Field,{width:8},f.a.createElement("label",null,"Exam No. range"),f.a.createElement(v.a.Input,{type:"text",value:a,maxLength:8,placeholder:"Exam No.",name:"examno",onChange:e.handleChangeexamno})))),f.a.createElement(E.a,{color:"blue",onClick:e.handleSubmit},"Submit"),f.a.createElement("br",null))),1==o?f.a.createElement("div",{className:"animated fadeIn"},f.a.createElement("div",{className:"ui mini form"},f.a.createElement(v.a.Field,{width:4,style:{float:"right",fontSize:"1.2em"}},f.a.createElement("label",null,"Issue to:-"),f.a.createElement(v.a.Input,{type:"text",value:s,maxLength:40,placeholder:"Issue To",name:"issueto",onChange:e.handleChangeissueto})),f.a.createElement(b.a,{celled:!0,padded:!0,selectable:!0,structured:!0,size:"small",color:"olive",style:{marginTop:"25px"}},f.a.createElement(b.a.Header,{style:{fontSize:"1.2em"}},f.a.createElement(b.a.Row,null,f.a.createElement(b.a.HeaderCell,{style:{width:"3%"},singleLine:!0,textAlign:"center"},f.a.createElement("label",null,"Sl. No.")),f.a.createElement(b.a.HeaderCell,{style:{width:"5%"},textAlign:"center"},f.a.createElement("label",null,"Degree")),f.a.createElement(b.a.HeaderCell,{style:{width:"5%"},textAlign:"center"},f.a.createElement("label",null,"Exam No.")),f.a.createElement(b.a.HeaderCell,{style:{width:"5%"},textAlign:"center"},f.a.createElement("label",null,"College Code")),f.a.createElement(b.a.HeaderCell,{style:{width:"15%"},textAlign:"center"},f.a.createElement("label",null,"College Name")),f.a.createElement(b.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},f.a.createElement("label",null,"St. MC. No.")),f.a.createElement(b.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},f.a.createElement("label",null,"Ending MC Number")),f.a.createElement(b.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},f.a.createElement("label",null,"Number of Markscard")),f.a.createElement(b.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},f.a.createElement("label",null,"Select"),f.a.createElement("div",{className:"checkbox"},f.a.createElement("input",{type:"checkbox",name:"allfreeze",onChange:function(t){return e.selectallsent(t)},disabled:!1}),f.a.createElement("label",null," "))))),f.a.createElement(b.a.Body,null,e.props.dispatchMarkscardTable.map(function(t,a){return f.a.createElement(b.a.Row,{key:a},f.a.createElement(b.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},a+1),f.a.createElement(b.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.fdegree),f.a.createElement(b.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.fexamno),f.a.createElement(b.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.fcollcode),f.a.createElement(b.a.Cell,{textAlign:"left",style:{fontSize:"1.2em"}},t.fcollname),f.a.createElement(b.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.first),f.a.createElement(b.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.end),f.a.createElement(b.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.count),f.a.createElement(b.a.Cell,{style:{padding:"0px 0px"},textAlign:"center"},e.props.dispatchMarkscardTable.length==a+1?f.a.createElement(v.a.Checkbox,{value:t.fexamsent,name:"fexamsent",checked:"T"==t.fexamsent,onChange:function(n,r){return e.changeCell(r,t,a)},onKeyDown:function(t){t.preventDefault(),9===t.keyCode&&e.add()}}):f.a.createElement(v.a.Checkbox,{value:t.fexamsent,name:"fexamsent",checked:"T"==t.fexamsent,onChange:function(n,r){return e.changeCell(r,t,a)}})))}))))):null)}},{menuItem:"Dispatch Details",render:function(){return f.a.createElement(x.a.Pane,null,f.a.createElement(b.a,{celled:!0,padded:!0,selectable:!0,structured:!0,size:"small",color:"olive",style:{marginTop:"25px"}},f.a.createElement(b.a.Header,{style:{fontSize:"1.2em"}},f.a.createElement(b.a.Row,null,f.a.createElement(b.a.HeaderCell,{style:{width:"3%"},singleLine:!0,textAlign:"center"},f.a.createElement("label",null,"Sl. No.")),f.a.createElement(b.a.HeaderCell,{style:{width:"5%"},textAlign:"center"},f.a.createElement("label",null,"Dispatch Number")),f.a.createElement(b.a.HeaderCell,{style:{width:"5%"},textAlign:"center"},f.a.createElement("label",null,"Dispatch Date")),f.a.createElement(b.a.HeaderCell,{style:{width:"25%"},textAlign:"center"},f.a.createElement("label",null,"Dispatch user")),f.a.createElement(b.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},f.a.createElement("label",null,"Issuse To")),f.a.createElement(b.a.HeaderCell,{style:{width:"5%"},textAlign:"center"},f.a.createElement("label",null,"Dispatch Count")),f.a.createElement(b.a.HeaderCell,{style:{width:"5%"},textAlign:"center"},f.a.createElement("label",null,"Download")))),f.a.createElement(b.a.Body,null,e.props.dispatchdetails.map(function(t,a){return f.a.createElement(b.a.Row,{key:a},f.a.createElement(b.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},a+1),f.a.createElement(b.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.fdispno),f.a.createElement(b.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.fdispdate),f.a.createElement(b.a.Cell,{textAlign:"left",style:{fontSize:"1.2em"}},t.fdispuser),f.a.createElement(b.a.Cell,{textAlign:"left",style:{fontSize:"1.2em"}},t.fissueto),f.a.createElement(b.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.fmccount),f.a.createElement(b.a.Cell,{textAlign:"center",style:{fontSize:"0.5em",display:"flex"}},f.a.createElement(E.a,{content:"Summary",basic:!0,style:{display:"flex"},size:"small",color:"green",icon:"print",onClick:function(){return e.handleReport(t)}}),f.a.createElement(E.a,{content:"Detailed",basic:!0,style:{display:"flex"},size:"small",color:"blue",icon:"print",onClick:function(){return e.handleReportDetailed(t)}})))}))))}}];this.props.degreeList.map(function(e){return{value:e.fdegree,text:"".concat(e.fdegree,"- ").concat(e.fdescpn)}});return f.a.createElement("div",{className:"animated fadeIn"},f.a.createElement(h.a,{fluid:!0},f.a.createElement(h.a.Content,null,this.renderHeader(),f.a.createElement(C.a,null),f.a.createElement(h.a.Description,{style:{overflowY:"auto",overflowX:"hidden",height:"".concat(i,"px")}},f.a.createElement(x.a,{menu:{attached:!0,tabular:!0,color:"blue",className:"wrapped"},activeIndex:this.state.activeIndex,panes:u,onTabChange:this.changeTabIndex})))))}}]),t}(m.Component);t.default=Object(y.b)(function(e){return console.log(e),{degreelist:e.resultStatsDegList,collegelist:e.resultStatsClgList,user:e.user,degreeList:e.studyDegree,practicalTable:e.practicalCenter,dispatchMarkscardTable:e.dispatchMarkscard,dispatchdetails:e.dispatchDetails}},{showError:w.w,getDispatchmksdata:A.f,changeDet:A.a,updatemarkscarddisp:A.k,getDispDetails:A.d,selectallchkbxsent:A.i})(k)},382:function(e,t,a){"use strict";a.d(t,"f",function(){return s}),a.d(t,"a",function(){return i}),a.d(t,"k",function(){return u}),a.d(t,"c",function(){return d}),a.d(t,"g",function(){return p}),a.d(t,"b",function(){return m}),a.d(t,"l",function(){return f}),a.d(t,"d",function(){return g}),a.d(t,"i",function(){return h}),a.d(t,"j",function(){return E}),a.d(t,"e",function(){return x}),a.d(t,"h",function(){return v});var n=a(41),r=a.n(n),l=a(68),c=a(269),o=a(266),s=function(e,t,a,n,s,i){return function(){var i=Object(l.a)(r.a.mark(function l(i,u){var d,p,m,f;return r.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return d=u(),console.log(d),i({type:"CLEAR_DISPATCH_MARKSCARD"}),r.next=5,c.a.get("app.php?a=getDispatchmksdata&univcode="+d.univ.funivcode+"&fcollcode="+d.user.fcollcode+"°from="+n+"°to="+s+"&examno="+e+"&clgfrom="+t+"&clgto="+a);case 5:"object"!==typeof(p=r.sent).data?(m={header:"Error",content:"Something went wrong"},i(Object(o.w)(m))):-1===p.data.error_code?(f={header:"Error",content:p.data.data.msg},i(Object(o.w)(f))):(console.log(p.data),i({type:"DISPATCH_MARKSCARD",payload:p.data}));case 7:case"end":return r.stop()}},l)}));return function(e,t){return i.apply(this,arguments)}}()},i=function(e,t){return console.log(e,t),{type:"DISPATCH_MARKSCARD_CHANGE",payload:{el:e,i:t}}},u=function(e,t,a,n,s,i,u,d){return function(){var p=Object(l.a)(r.a.mark(function l(p,m){var f,g,h,E,x;return r.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return f=m(),console.log(e,a,s),p({type:"SET_LOADER"}),r.next=5,c.a.post("/app.php?a=updatemarkscarddisp&univcode="+f.univ.funivcode,{data:{fdeggrp:f.univ.fdeggrp,univcode:f.univ.funivcode,user:f.user.fname,updmcdisp:e,examno:t,clgfrom:a,clgto:n,degfrom:s,degto:i,degree:u,issueto:d}});case 5:g=r.sent,p({type:"UNSET_LOADER"}),"object"!==typeof g.data?p({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):-1===g.data.error_code?(console.log(g.data),h={header:"Error",content:g.data.data.msg},p(Object(o.w)(h))):0===g.data.error_code?(E={header:"Success",content:g.data.data.msg},p(Object(o.w)(E))):(x={header:"Error",content:"Something went wrong"},p(Object(o.w)(x)));case 8:case"end":return r.stop()}},l)}));return function(e,t){return p.apply(this,arguments)}}()},d=function(){return function(){var e=Object(l.a)(r.a.mark(function e(t,a){var n,l,s,i;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a(),console.log(n),e.next=4,c.a.get("app.php?a=getDispCollegelist&univcode="+n.univ.funivcode+"&fcollcode="+n.user.fcollcode+"&fdeggrp="+n.user.fdeggrp);case 4:"object"!==typeof(l=e.sent).data?(s={header:"Error",content:"Something went wrong"},t(Object(o.w)(s))):-1===l.data.error_code?(i={header:"Error",content:l.data.data.msg},t(Object(o.w)(i))):(console.log(l.data),t({type:"DISP_COLLEGE_LIST",payload:l.data}));case 6:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()},p=function(e,t,a,n,s){return function(){var s=Object(l.a)(r.a.mark(function l(s,i){var u,d,p,m;return r.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u=i(),console.log(u),s({type:"CLEAR_DISPATCH_MARKSCARD_CLG"}),r.next=5,c.a.get("app.php?a=getDispatchmksdataclg&univcode="+u.univ.funivcode+"&fcollcode="+u.user.fcollcode+"°from="+a+"°to="+n+"&examno="+t+"&college="+e);case 5:"object"!==typeof(d=r.sent).data?(p={header:"Error",content:"Something went wrong"},s(Object(o.w)(p))):-1===d.data.error_code?(m={header:"Error",content:d.data.data.msg},s(Object(o.w)(m))):(console.log(d.data),s({type:"DISPATCH_MARKSCARD_CLG",payload:d.data}));case 7:case"end":return r.stop()}},l)}));return function(e,t){return s.apply(this,arguments)}}()},m=function(e,t){return console.log(e,t),{type:"DISPATCH_MARKSCARD_CLG_CHANGE",payload:{el:e,i:t}}},f=function(e,t,a,n,s,i){return function(){var u=Object(l.a)(r.a.mark(function l(u,d){var p,m,f,g,h;return r.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return p=d(),console.log(e,a,n),u({type:"SET_LOADER"}),r.next=5,c.a.post("/app.php?a=updatemarkscarddispclg&univcode="+p.univ.funivcode,{data:{fdeggrp:p.univ.fdeggrp,univcode:p.univ.funivcode,user:p.user.fname,updmcdispclg:e,examno:t,college:a,degfrom:n,degto:s,issueto:i}});case 5:m=r.sent,u({type:"UNSET_LOADER"}),"object"!==typeof m.data?u({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):-1===m.data.error_code?(console.log(m.data),f={header:"Error",content:m.data.data.msg},u(Object(o.w)(f))):0===m.data.error_code?(g={header:"Success",content:m.data.data.msg},u(Object(o.w)(g))):(h={header:"Error",content:"Something went wrong"},u(Object(o.w)(h)));case 8:case"end":return r.stop()}},l)}));return function(e,t){return u.apply(this,arguments)}}()},g=function(){return function(){var e=Object(l.a)(r.a.mark(function e(t,a){var n,l,s;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a(),console.log(n),e.next=4,c.a.get("app.php?a=getDispDetails&univcode="+n.univ.funivcode+"&fcollcode="+n.user.fcollcode);case 4:"object"!==typeof(l=e.sent).data?(s={header:"Error",content:"Something went wrong"},t(Object(o.w)(s))):-1===l.data.error_code||(console.log(l.data),t({type:"DISPATCH_DETAILS",payload:l.data}));case 6:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()},h=function(e){return{type:"DISP_EXAMSECTION_SELECT_ALL_CHECKBOX",payload:e}},E=function(e){return{type:"DISP_COLL_SELECT_ALL_CHECKBOX",payload:e}},x=function(){return function(){var e=Object(l.a)(r.a.mark(function e(t,a){var n,l,s;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a(),console.log(n),e.next=4,c.a.get("app.php?a=getDispDetailsclg&univcode="+n.univ.funivcode+"&fcollcode="+n.user.fcollcode);case 4:"object"!==typeof(l=e.sent).data?(s={header:"Error",content:"Something went wrong"},t(Object(o.w)(s))):-1===l.data.error_code||(console.log(l.data),t({type:"DISPATCH_DETAILS_CLG",payload:l.data}));case 6:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()},v=function(e,t,a,n,s,i,u){return function(){var s=Object(l.a)(r.a.mark(function l(s,d){var p,m,f,g;return r.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return p=d(),console.log(p),s({type:"CLEAR_DISPATCH_MARKSCARD_CLG"}),r.next=5,c.a.get("app.php?a=getDispatchmksdatasearch&univcode="+p.univ.funivcode+"&fcollcode="+p.user.fcollcode+"°from="+a+"°to="+n+"®from="+i+"®to="+u+"&examno="+t+"&college="+e);case 5:"object"!==typeof(m=r.sent).data?(f={header:"Error",content:"Something went wrong"},s(Object(o.w)(f))):-1===m.data.error_code?(g={header:"Error",content:m.data.data.msg},s(Object(o.w)(g))):(console.log(m.data),s({type:"DISPATCH_MARKSCARD_CLG",payload:m.data}));case 7:case"end":return r.stop()}},l)}));return function(e,t){return s.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=145.f52756f3.chunk.js.map
|