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.144.9.183
(window.webpackJsonp=window.webpackJsonp||[]).push([[269,307],{1404:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r(68),o=r(100),i=r(101),c=r(103),l=r(102),u=r(104),s=r(2),h=r.n(s),f=r(941),p=r(1377),d=r(1343),m=r(272),v=r(1335),y=r(1337),g=r(1338),E=r(271),b=r(267);function w(){w=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),c=new T(n||[]);return a(i,"_invoke",{value:L(e,r,c)}),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var f="suspendedStart",p="suspendedYield",d="executing",m="completed",v={};function y(){}function g(){}function E(){}var b={};u(b,i,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(C([])));O&&O!==r&&n.call(O,i)&&(b=O);var S=E.prototype=y.prototype=Object.create(b);function k(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function j(e,t){function r(a,o,i,c){var l=h(e[a],e,o);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==typeof s&&n.call(s,"__await")?t.resolve(s.__await).then(function(e){r("next",e,i,c)},function(e){r("throw",e,i,c)}):t.resolve(s).then(function(e){u.value=e,i(u)},function(e){return r("throw",e,i,c)})}c(l.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function L(t,r,n){var a=f;return function(o,i){if(a===d)throw new Error("Generator is already running");if(a===m){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var l=_(c,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var u=h(t,r,n);if("normal"===u.type){if(a=n.done?m:p,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=m,n.method="throw",n.arg=u.arg)}}}function _(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,_(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=h(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function C(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return g.prototype=E,a(S,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:g,configurable:!0}),g.displayName=u(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,u(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},k(j.prototype),u(j.prototype,c,function(){return this}),t.AsyncIterator=j,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new j(s(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},k(S),u(S,l,"Generator"),u(S,i,function(){return this}),u(S,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),N(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;N(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:C(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var x=r(105);r(274),r(273);function O(){O=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),c=new T(n||[]);return a(i,"_invoke",{value:L(e,r,c)}),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var f="suspendedStart",p="suspendedYield",d="executing",m="completed",v={};function y(){}function g(){}function E(){}var b={};u(b,i,function(){return this});var w=Object.getPrototypeOf,x=w&&w(w(C([])));x&&x!==r&&n.call(x,i)&&(b=x);var S=E.prototype=y.prototype=Object.create(b);function k(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function j(e,t){function r(a,o,i,c){var l=h(e[a],e,o);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==typeof s&&n.call(s,"__await")?t.resolve(s.__await).then(function(e){r("next",e,i,c)},function(e){r("throw",e,i,c)}):t.resolve(s).then(function(e){u.value=e,i(u)},function(e){return r("throw",e,i,c)})}c(l.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function L(t,r,n){var a=f;return function(o,i){if(a===d)throw new Error("Generator is already running");if(a===m){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var l=_(c,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var u=h(t,r,n);if("normal"===u.type){if(a=n.done?m:p,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=m,n.method="throw",n.arg=u.arg)}}}function _(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,_(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=h(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function C(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return g.prototype=E,a(S,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:g,configurable:!0}),g.displayName=u(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,u(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},k(j.prototype),u(j.prototype,c,function(){return this}),t.AsyncIterator=j,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new j(s(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},k(S),u(S,l,"Generator"),u(S,i,function(){return this}),u(S,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),N(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;N(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:C(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var S=function(e){function t(){var e,r;Object(o.a)(this,t);for(var n=arguments.length,i=new Array(n),u=0;u<n;u++)i[u]=arguments[u];return(r=Object(c.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(i)))).state={exam:"",degree:"All",sem:"All",typ:"All",regnofrom:"0",regnoto:"z",rtmarkstab:r.props.stt,tab:!1},r.componentDidMount=Object(a.a)(O().mark(function e(){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.props.getExamDet();case 1:case"end":return e.stop()}},e)})),r.changeinregnofrom=function(e,t){r.setState({regnofrom:t.value})},r.changeinregnoto=function(e,t){r.setState({regnoto:t.value})},r.examdet=function(e,t){r.setState({exam:t.value}),r.props.getDegrDet(t.value),r.setState({degree:"All"}),r.setState({sem:"All"}),r.setState({typ:"All"}),r.setState({tab:!1})},r.degredet=function(e,t){r.setState({degree:t.value}),r.props.getSemDet(r.state.exam,t.value),r.setState({sem:"All"}),r.setState({typ:"All"}),r.setState({tab:!1})},r.semdet=function(e,t){r.setState({sem:t.value}),r.setState({typ:"All"}),r.setState({tab:!1})},r.typsel=function(e,t){r.setState({typ:t.value}),r.setState({tab:!1})},r.handleSubmit=Object(a.a)(O().mark(function e(){var t,n,a,o,i,c;return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==r.state.exam){e.next=4;break}return t={header:"Error",content:"Select Exam"},r.props.showError(t),e.abrupt("return");case 4:if(""!==r.state.degree){e.next=8;break}return n={header:"Error",content:"Select Degree"},r.props.showError(n),e.abrupt("return");case 8:if(""!==r.state.sem){e.next=12;break}return a={header:"Error",content:"Select Semester"},r.props.showError(a),e.abrupt("return");case 12:if(""!==r.state.typ){e.next=16;break}return o={header:"Error",content:"Select Type"},r.props.showError(o),e.abrupt("return");case 16:if(""!==r.state.regnofrom){e.next=20;break}return i={header:"Error",content:"Enter Reg.No from"},r.props.showError(i),e.abrupt("return");case 20:if(""!==r.state.regnoto){e.next=24;break}return c={header:"Error",content:"Enter Reg.No To"},r.props.showError(c),e.abrupt("return");case 24:return e.next=26,r.props.getstuddetforrt(r.state.exam,r.state.degree,r.state);case 26:r.setState({rtmarkstab:r.props.stt}),r.setState({tab:!0});case 28:case"end":return e.stop()}},e)})),r.handleoldmarks=function(e,t){var n=r.state.rtmarkstab.map(function(r,n){return n===t&&(r.fomarks=e),r});r.setState({rtmarkstab:n})},r.handlenewmarks=function(e,t){var n=r.state.rtmarkstab.map(function(r,n){return n===t&&(r.fnmarks=e),r});r.setState({rtmarkstab:n})},r.handleUpdate=Object(a.a)(O().mark(function e(){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.props.updatertmarks(r.state.rtmarkstab,r.state.exam);case 2:case"end":return e.stop()}},e)})),r.handleCancel=function(){r.setState({exam:"",degree:"All",sem:"All",typ:"All",tab:!1,regnofrom:"0",regnoto:"z"})},r}return Object(u.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){var e=this,t=this.state,r=t.regnofrom,a=t.regnoto,o=t.exam,i=t.degree,c=t.sem,l=t.typ,u=t.tab,s=this.props,E=s.exm,b=s.deg,w=s.semet,x=[{key:1,value:"All",text:"All"}],O=E.map(function(e){return{key:e.exam,value:e.exam,text:e.exam+"-"+e.fexamdate}}),S=b.map(function(e){return{key:e.fdegree,value:e.fdegree,text:e.fdegree+"-"+e.fdescpn}}),k=[].concat(x,Object(n.a)(S)),j=w.map(function(e){return{key:e.fexamno,value:e.fexamno,text:e.fexamno+"-"+e.fexamname}}),L=[].concat(x,Object(n.a)(j)),_=[].concat(x,[{key:1,value:"E",text:"Entered"},{key:2,value:"P",text:"Pending"}]);return h.a.createElement(p.a,{fluid:!0},h.a.createElement(p.a.Content,null,h.a.createElement(p.a.Header,{style:{display:"flex"}},h.a.createElement("h4",null,"RT Marks Entry"),h.a.createElement("div",{className:"ml-auto"},h.a.createElement(d.a,{basic:!0,color:"green",content:"Update",onClick:this.handleUpdate,icon:"save"}),h.a.createElement(d.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),h.a.createElement(f.a,{to:"/dashboard"},h.a.createElement(d.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),h.a.createElement(m.a,null),h.a.createElement(p.a.Description,{style:{overflowY:"auto",height:"70vh"}},h.a.createElement("div",{className:"col-md-7"},h.a.createElement(v.a,null,h.a.createElement("div",null,h.a.createElement(v.a.Group,null,h.a.createElement(v.a.Field,{width:8},h.a.createElement("label",null,"Exam"),h.a.createElement(y.a,{search:!0,selection:!0,placeholder:"Select Exam",options:O,value:o,onChange:this.examdet})),h.a.createElement(v.a.Field,{width:8},h.a.createElement("label",null,"Degree"),h.a.createElement(y.a,{search:!0,selection:!0,placeholder:"Select Degree",options:k,value:i,onChange:this.degredet}))),h.a.createElement(v.a.Group,null,h.a.createElement(v.a.Field,{width:8},h.a.createElement("label",null,"Semester"),h.a.createElement(y.a,{search:!0,selection:!0,placeholder:"Select Semester",options:L,value:c,onChange:this.semdet})),h.a.createElement(v.a.Field,{width:8},h.a.createElement("label",null,"Type"),h.a.createElement(y.a,{search:!0,selection:!0,placeholder:"Select Type",options:_,value:l,onChange:this.typsel}))),h.a.createElement(v.a.Group,null,h.a.createElement(v.a.Field,{width:8},h.a.createElement("label",null,"Reg.No Range"),h.a.createElement(v.a.Input,{placeholder:"Reg.No From",name:"regnofrom",onChange:this.changeinregnofrom,value:r})),h.a.createElement(v.a.Field,{width:8},h.a.createElement(v.a.Input,{placeholder:"Reg.No To",name:"regnoto",onChange:this.changeinregnoto,value:a,style:{marginTop:"1.7em"}}))),h.a.createElement(d.a,{primary:!0,onClick:this.handleSubmit},"Submit")))),u?h.a.createElement(g.a,{celled:!0,padded:!0},h.a.createElement(g.a.Header,null,h.a.createElement(g.a.Row,null,h.a.createElement(g.a.HeaderCell,{singleLine:!0},"Sl.No"),h.a.createElement(g.a.HeaderCell,null,"Register Number"),h.a.createElement(g.a.HeaderCell,null,"Student Name"),h.a.createElement(g.a.HeaderCell,null,"Subject"),h.a.createElement(g.a.HeaderCell,null,"Qp Code"),h.a.createElement(g.a.HeaderCell,null,"Sub Code"),h.a.createElement(g.a.HeaderCell,null,"Old Marks"),h.a.createElement(g.a.HeaderCell,null,"New Marks"))),h.a.createElement(g.a.Body,null,this.state.rtmarkstab.map(function(t,r){return h.a.createElement(g.a.Row,{key:r},h.a.createElement(g.a.Cell,null,r+1),h.a.createElement(g.a.Cell,null,h.a.createElement("b",null,t.fregno)),h.a.createElement(g.a.Cell,null,h.a.createElement("b",null,t.fname)),h.a.createElement(g.a.Cell,null,h.a.createElement("b",null,t.fsubname)),h.a.createElement(g.a.Cell,null,h.a.createElement("b",null,t.fqpcode)),h.a.createElement(g.a.Cell,null,h.a.createElement("b",null,t.fsubcode)),h.a.createElement(g.a.Cell,null,h.a.createElement(v.a.Input,{type:"text",placeholder:"Old Marks",name:"oldmarks",value:t.fomarks,onChange:function(t,n){return e.handleoldmarks(n.value,r)}})),h.a.createElement(g.a.Cell,null,h.a.createElement(v.a.Input,{type:"text",placeholder:"New Marks",name:"newmarks",value:t.fnmarks,onChange:function(t,n){return e.handlenewmarks(n.value,r)}})))}))):null)))}}]),t}(s.Component);t.default=Object(x.b)(function(e){return{univcode:e.univ.funivcode,stt:e.getstuddetforrt,exm:e.rtmarksexam,deg:e.degrdet,semet:e.semdet}},{showError:b.A,getstuddetforrt:function(e,t,r){return function(){var n=Object(a.a)(w().mark(function n(a,o){var i,c,l,u;return w().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=o(),a({type:"SET_LOADER"}),n.next=4,E.a.get("/app.php",{params:{a:"getstuddetforrt",univcode:i.univ.funivcode,exam:e,degree:t,sem:r.sem,type:r.typ,regfrm:r.regnofrom,regto:r.regnoto}});case 4:c=n.sent,a({type:"UNSET_LOADER"}),"object"!==typeof c.data?(l={header:"Error",content:"Something went wrong"},a(Object(b.A)(l))):-1===c.data.error_code?(u={header:"Error",content:c.data.data.msg},a(Object(b.A)(u))):a({type:"RT_MARKS_ENTRY",payload:c.data});case 7:case"end":return n.stop()}},n)}));return function(e,t){return n.apply(this,arguments)}}()},updatertmarks:function(e,t){return function(){var r=Object(a.a)(w().mark(function r(n,a){var o,i,c,l,u;return w().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=a(),n({type:"SET_LOADER"}),r.next=4,E.a.post("/app.php?a=updatertmarks&univcode="+o.univ.funivcode+"&exam="+t,{rtarr:e});case 4:i=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof i.data?(c={header:"Error",content:"Something went wrong"},n(Object(b.A)(c))):-1===i.data.error_code?(l={header:"Error",content:i.data.data.msg},n(Object(b.A)(l))):(u={header:"Success",content:i.data.data.msg},n(Object(b.A)(u)));case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},getExamDet:function(){return function(){var e=Object(a.a)(w().mark(function e(t,r){var n,a,o,i;return w().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),t({type:"SET_LOADER"}),e.next=4,E.a.get("/app.php",{params:{a:"getExamDet",univcode:n.univ.funivcode}});case 4:a=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof a.data?(o={header:"Error",content:"Something went wrong"},t(Object(b.A)(o))):-1===a.data.error_code?(i={header:"Error",content:a.data.data.msg},t(Object(b.A)(i))):t({type:"RT_MARKS_EXAM_DET",payload:a.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},getDegrDet:function(e){return function(){var t=Object(a.a)(w().mark(function t(r,n){var a,o,i,c;return w().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=n(),r({type:"SET_LOADER"}),t.next=4,E.a.get("/app.php",{params:{a:"getDegrDet",univcode:a.univ.funivcode,exam:e}});case 4:o=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof o.data?(i={header:"Error",content:"Something went wrong"},r(Object(b.A)(i))):-1===o.data.error_code?(c={header:"Error",content:o.data.data.msg},r(Object(b.A)(c))):r({type:"RT_MARKS_DEGREE_DET",payload:o.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},getSemDet:function(e,t){return function(){var r=Object(a.a)(w().mark(function r(n,a){var o,i,c,l;return w().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=a(),n({type:"SET_LOADER"}),r.next=4,E.a.get("/app.php",{params:{a:"getSemDet",univcode:o.univ.funivcode,exam:e,degree:t}});case 4:i=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof i.data?(c={header:"Error",content:"Something went wrong"},n(Object(b.A)(c))):-1===i.data.error_code?(l={header:"Error",content:i.data.data.msg},n(Object(b.A)(l))):n({type:"RT_MARKS_SEM_DET",payload:i.data});case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()}})(S)},272:function(e,t,r){"use strict";var n=r(270),a=r.n(n),o=r(268),i=r.n(o),c=r(2),l=r.n(c),u=r(349),s=r(613),h=r(611),f=r(269);function p(e){var t=e.children,r=e.className,n=e.clearing,o=e.content,c=e.fitted,d=e.hidden,m=e.horizontal,v=e.inverted,y=e.section,g=e.vertical,E=i()("ui",Object(u.a)(n,"clearing"),Object(u.a)(c,"fitted"),Object(u.a)(d,"hidden"),Object(u.a)(m,"horizontal"),Object(u.a)(v,"inverted"),Object(u.a)(y,"section"),Object(u.a)(g,"vertical"),"divider",r),b=Object(s.a)(p,e),w=Object(h.a)(p,e);return l.a.createElement(w,a()({},b,{className:E}),f.a.isNil(t)?o:t)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},t.a=p}}]);
//# sourceMappingURL=269.7b27e43b.chunk.js.map
|