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 : 18.216.208.243
(window.webpackJsonp=window.webpackJsonp||[]).push([[128,307],{1431:function(t,e,r){"use strict";r.r(e);var n=r(3),a=r(68),o=r(100),i=r(101),c=r(103),u=r(102),l=r(104),s=r(2),h=r.n(s),f=r(105),p=r(1377),d=r(272),v=r(1335),m=r(1337),g=r(1343),y=r(271),E=r(267);function w(){w=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),c=new S(n||[]);return a(i,"_invoke",{value:D(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var f="suspendedStart",p="suspendedYield",d="executing",v="completed",m={};function g(){}function y(){}function E(){}var b={};l(b,i,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(N([])));O&&O!==r&&n.call(O,i)&&(b=O);var L=E.prototype=g.prototype=Object.create(b);function j(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){function r(a,o,i,c){var u=h(t[a],t,o);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(s).then(function(t){l.value=t,i(l)},function(t){return r("throw",t,i,c)})}c(u.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e(function(e,a){r(t,n,e,a)})}return o=o?o.then(a,a):a()}})}function D(e,r,n){var a=f;return function(o,i){if(a===d)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw i;return{value:t,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=k(c,n);if(u){if(u===m)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var l=h(e,r,n);if("normal"===l.type){if(a=n.done?v:p,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=v,n.method="throw",n.arg=l.arg)}}}function k(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var o=h(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function M(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=E,a(L,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:y,configurable:!0}),y.displayName=l(E,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,l(t,u,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},j(_.prototype),l(_.prototype,c,function(){return this}),e.AsyncIterator=_,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new _(s(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},j(L),l(L,u,"Generator"),l(L,i,function(){return this}),l(L,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(M),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return c.type="throw",c.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!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 u=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(t,e){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"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),M(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;M(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}r(311);function b(){b=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),c=new S(n||[]);return a(i,"_invoke",{value:D(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var f="suspendedStart",p="suspendedYield",d="executing",v="completed",m={};function g(){}function y(){}function E(){}var w={};l(w,i,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(N([])));O&&O!==r&&n.call(O,i)&&(w=O);var L=E.prototype=g.prototype=Object.create(w);function j(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){function r(a,o,i,c){var u=h(t[a],t,o);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(s).then(function(t){l.value=t,i(l)},function(t){return r("throw",t,i,c)})}c(u.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e(function(e,a){r(t,n,e,a)})}return o=o?o.then(a,a):a()}})}function D(e,r,n){var a=f;return function(o,i){if(a===d)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw i;return{value:t,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=k(c,n);if(u){if(u===m)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var l=h(e,r,n);if("normal"===l.type){if(a=n.done?v:p,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=v,n.method="throw",n.arg=l.arg)}}}function k(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var o=h(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function M(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=E,a(L,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:y,configurable:!0}),y.displayName=l(E,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,l(t,u,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},j(_.prototype),l(_.prototype,c,function(){return this}),e.AsyncIterator=_,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new _(s(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},j(L),l(L,u,"Generator"),l(L,i,function(){return this}),l(L,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(M),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return c.type="throw",c.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!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 u=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(t,e){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"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),M(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;M(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var x=function(t){function e(){var t,r;Object(o.a)(this,e);for(var i=arguments.length,l=new Array(i),s=0;s<i;s++)l[s]=arguments[s];return(r=Object(c.a)(this,(t=Object(u.a)(e)).call.apply(t,[this].concat(l)))).state={deggrp:"All",examdate:"All",status:"pending",data:[]},r.componentDidMount=function(){r.getData()},r.getData=Object(a.a)(b().mark(function t(){return b().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.props.getMpcDeggrp();case 2:return t.next=4,r.props.getMpcExamDate(r.state.deggrp);case 4:case"end":return t.stop()}},t)})),r.getMpcManagemantData=Object(a.a)(b().mark(function t(){var e;return b().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=r.state,e.deggrp,e.examdate,e.status,t.next=3,r.props.getMpcManageData(r.state);case 3:return t.next=5,r.setState({data:Object(n.a)(r.props.mpcData)});case 5:case"end":return t.stop()}},t)})),r.changeHandler=function(t,e){var a=r.state.data;t.target.checked?a[e].fmprel="T":a[e].fmprel="F",r.setState({data:Object(n.a)(a)})},r.dateHandler=function(t,e){var a=r.state.data;a[e].fmpmeetdate=t.target.value,r.setState({data:Object(n.a)(a)})},r.changeRemarksHandler=function(t,e){var a=r.state.data;a[e].fmpremarks=t.target.value,r.setState({data:Object(n.a)(a)})},r.saveHandler=function(t){var e=new FormData;e.append("data",JSON.stringify(t)),e.append("user",r.props.user),r.props.saveMpcManagement(e)},r}return Object(l.a)(e,t),Object(i.a)(e,[{key:"render",value:function(){var t=this,e=this.state,r=e.deggrp,a=e.examdate,o=e.status,i=[{value:"All",text:"All"}],c=[].concat(i,Object(n.a)(this.props.mpcDeggrp)),u=[].concat(i,Object(n.a)(this.props.mpcExamDate)),l=[].concat(i,[{key:"pending",value:"pending",text:"Pending"},{key:"cleared",value:"cleared",text:"Cleared"}]);return h.a.createElement("div",{className:"animated fadeIn"},h.a.createElement(p.a,{fluid:!0},h.a.createElement(p.a.Content,null,h.a.createElement(p.a.Header,null,h.a.createElement("h4",null,"MPC Management")),h.a.createElement(d.a,null),h.a.createElement(p.a.Description,null,h.a.createElement(v.a,null,h.a.createElement(v.a.Group,null,h.a.createElement(v.a.Field,{width:5},h.a.createElement("label",null,"Degree Group"),h.a.createElement(m.a,{selection:!0,search:!0,value:r,options:c,onChange:function(e,r){t.setState({deggrp:r.value}),t.props.getMpcExamDate(r.value)}})),h.a.createElement(v.a.Field,{width:5},h.a.createElement("label",null,"Exam Date"),h.a.createElement(m.a,{selection:!0,search:!0,value:a,options:u,onChange:function(e,r){return t.setState({examdate:r.value})}})),h.a.createElement(v.a.Field,{width:4},h.a.createElement("label",null,"Status"),h.a.createElement(m.a,{selection:!0,search:!0,value:o,options:l,onChange:function(e,r){return t.setState({status:r.value})}})),h.a.createElement(v.a.Field,{width:1},h.a.createElement(g.a,{color:"blue",content:"Submit",style:{position:"relative",top:"23px"},onClick:function(){return t.getMpcManagemantData()}})))),h.a.createElement("table",null,h.a.createElement("thead",null,h.a.createElement("tr",null,h.a.createElement("th",null,"SL. No"),h.a.createElement("th",null,"Qp Code"),h.a.createElement("th",null,"Subject Name"),h.a.createElement("th",null,"Exam Date"),h.a.createElement("th",null,"Reg. No."),h.a.createElement("th",null,"Name"),h.a.createElement("th",null,"MPC Meeting Date"),h.a.createElement("th",null,"MPC Remarks"),h.a.createElement("th",null,"MPC Release"),h.a.createElement("th",null,"Action"))),h.a.createElement("tbody",null,this.state.data.length>0?this.state.data.map(function(e,r){return h.a.createElement("tr",{key:r},h.a.createElement("td",null,r+1),h.a.createElement("td",null,e.fqpcode),h.a.createElement("td",null,e.fsubname),h.a.createElement("td",null,e.fexamdate),h.a.createElement("td",null,e.fregno),h.a.createElement("td",null,e.fname),h.a.createElement("td",null,h.a.createElement("input",{type:"date",value:e.fmpmeetdate,onChange:function(e){return t.dateHandler(e,r)}})),h.a.createElement("td",null,h.a.createElement("textarea",{value:e.fmpremarks,onChange:function(e){return t.changeRemarksHandler(e,r)}})),h.a.createElement("td",null,h.a.createElement("input",{type:"checkbox",checked:"T"==e.fmprel,onChange:function(e){return t.changeHandler(e,r)}})),h.a.createElement("td",null,h.a.createElement(g.a,{color:"blue",size:"mini",content:"Save",onClick:function(){return t.saveHandler(e,r)}})))}):h.a.createElement("tr",null,h.a.createElement("td",{colSpan:10},"No Data Found"))))))))}}]),e}(s.Component);e.default=Object(f.b)(function(t){return console.log(t),{user:t.user.fuserid,mpcDeggrp:t.mpcDeggrp,mpcExamDate:t.mpcExamdate,mpcData:t.mpcData}},{getMpcDeggrp:function(){return function(){var t=Object(a.a)(w().mark(function t(e,r){var n;return w().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),e({type:"SET_LOADER"}),t.next=4,y.a.get("/app.php?a=getMPCDeggrp&univcode="+n.user.fcuruniv).then(function(t){if(e({type:"UNSET_LOADER"}),0===t.data.error_code)e({type:"MPC_DEGGRP",payload:t.data.data});else{e({type:"CLEAR_MPC_DEGGRP",payload:[]});var r={header:"Error",content:t.data.data.msg};e(Object(E.A)(r))}}).catch(function(t){var r={header:"Error",content:"Error:"+t};e(Object(E.A)(r))});case 4:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},getMpcExamDate:function(t){return function(){var e=Object(a.a)(w().mark(function e(r,n){var a;return w().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=n(),r({type:"SET_LOADER"}),e.next=4,y.a.get("/app.php?a=getMPCExamDate&univcode="+a.user.fcuruniv+"°grp="+t).then(function(t){if(r({type:"UNSET_LOADER"}),0===t.data.error_code)r({type:"MPC_EXAMDATE",payload:t.data.data});else{r({type:"CLEAR_MPC_EXAMDATE",payload:[]});var e={header:"Error",content:t.data.data.msg};r(Object(E.A)(e))}}).catch(function(t){var e={header:"Error",content:"Error:"+t};r(Object(E.A)(e))});case 4:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},getMpcManageData:function(t){return function(){var e=Object(a.a)(w().mark(function e(r,n){var a;return w().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=n(),r({type:"SET_LOADER"}),e.next=4,y.a.get("/app.php?a=getMPCData&univcode="+a.user.fcuruniv+"°grp="+t.deggrp+"&yearmode="+t.examdate+"&status="+t.status).then(function(t){r({type:"UNSET_LOADER"}),0===t.data.error_code?r({type:"MPC_DATA",payload:t.data.data}):r({type:"CLEAR_MPC_DATA",payload:[]})}).catch(function(t){var e={header:"Error",content:"Error:"+t};r(Object(E.A)(e))});case 4:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},saveMpcManagement:function(t){return function(){var e=Object(a.a)(w().mark(function e(r,n){var a;return w().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=n(),r({type:"SET_LOADER"}),e.next=4,y.a.post("/app.php?a=saveMpcManagementData&univcode="+a.user.fcuruniv,t).then(function(t){if(r({type:"UNSET_LOADER"}),console.log(t),0!==t.data.error_code){var e={header:"Error",content:t.data.data.msg};r(Object(E.A)(e))}else{var n={header:"Success",content:t.data.data.msg};r(Object(E.A)(n))}}).catch(function(t){var e={header:"Error",content:"Error:"+t};r(Object(E.A)(e))});case 4:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()}})(x)},272:function(t,e,r){"use strict";var n=r(270),a=r.n(n),o=r(268),i=r.n(o),c=r(2),u=r.n(c),l=r(349),s=r(613),h=r(611),f=r(269);function p(t){var e=t.children,r=t.className,n=t.clearing,o=t.content,c=t.fitted,d=t.hidden,v=t.horizontal,m=t.inverted,g=t.section,y=t.vertical,E=i()("ui",Object(l.a)(n,"clearing"),Object(l.a)(c,"fitted"),Object(l.a)(d,"hidden"),Object(l.a)(v,"horizontal"),Object(l.a)(m,"inverted"),Object(l.a)(g,"section"),Object(l.a)(y,"vertical"),"divider",r),w=Object(s.a)(p,t),b=Object(h.a)(p,t);return u.a.createElement(b,a()({},w,{className:E}),f.a.isNil(e)?o:e)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},e.a=p},311:function(t,e,r){}}]);
//# sourceMappingURL=128.61411542.chunk.js.map
|