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.139.87.151
(window.webpackJsonp=window.webpackJsonp||[]).push([[260,307],{1413:function(t,e,r){"use strict";r.r(e);var n=r(3),o=r(68),a=r(100),i=r(101),c=r(103),l=r(102),u=r(104),s=r(2),h=r.n(s),d=r(1377),p=r(1343),f=r(272),y=r(1335),v=r(1337),m=r(941),g=r(105),b=r(273),w=r(271),x=r(267);function E(){E=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof m?e:m,i=Object.create(a.prototype),c=new D(n||[]);return o(i,"_invoke",{value:k(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 d="suspendedStart",p="suspendedYield",f="executing",y="completed",v={};function m(){}function g(){}function b(){}var w={};u(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=b.prototype=m.prototype=Object.create(w);function j(t){["next","throw","return"].forEach(function(e){u(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){function r(o,a,i,c){var l=h(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.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){u.value=t,i(u)},function(t){return r("throw",t,i,c)})}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e(function(e,o){r(t,n,e,o)})}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=d;return function(a,i){if(o===f)throw new Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=S(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(o===d)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var u=h(e,r,n);if("normal"===u.type){if(o=n.done?y:p,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.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,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function T(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,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 o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return g.prototype=b,o(L,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},j(_.prototype),u(_.prototype,c,function(){return this}),e.AsyncIterator=_,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new _(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},j(L),u(L,l,"Generator"),u(L,i,function(){return this}),u(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,D.prototype={constructor:D,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(A),!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 o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("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 o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,v):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),v},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),A(r),v}},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 o=n.arg;A(r)}return o}}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),v}},e}var O=r(274);function L(){L=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof m?e:m,i=Object.create(a.prototype),c=new D(n||[]);return o(i,"_invoke",{value:k(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 d="suspendedStart",p="suspendedYield",f="executing",y="completed",v={};function m(){}function g(){}function b(){}var w={};u(w,i,function(){return this});var x=Object.getPrototypeOf,E=x&&x(x(N([])));E&&E!==r&&n.call(E,i)&&(w=E);var O=b.prototype=m.prototype=Object.create(w);function j(t){["next","throw","return"].forEach(function(e){u(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){function r(o,a,i,c){var l=h(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.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){u.value=t,i(u)},function(t){return r("throw",t,i,c)})}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e(function(e,o){r(t,n,e,o)})}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=d;return function(a,i){if(o===f)throw new Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=S(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(o===d)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var u=h(e,r,n);if("normal"===u.type){if(o=n.done?y:p,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.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,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function T(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,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 o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return g.prototype=b,o(O,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},j(_.prototype),u(_.prototype,c,function(){return this}),e.AsyncIterator=_,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new _(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},j(O),u(O,l,"Generator"),u(O,i,function(){return this}),u(O,"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,D.prototype={constructor:D,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(A),!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 o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("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 o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,v):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),v},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),A(r),v}},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 o=n.arg;A(r)}return o}}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),v}},e}var j=function(t){function e(){var t,r;Object(a.a)(this,e);for(var n=arguments.length,i=new Array(n),u=0;u<n;u++)i[u]=arguments[u];return(r=Object(c.a)(this,(t=Object(l.a)(e)).call.apply(t,[this].concat(i)))).state={coll:[],board:[],teachcode:[],teachDetails:!1},r.componentDidMount=Object(o.a)(L().mark(function t(){return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.props.collDet();case 2:"021"!=r.props.univcode&&"052"!=r.props.univcode||r.setState({coll:["All"],board:["All"],teachcode:["All"]});case 3:case"end":return t.stop()}},t)})),r.collCode=function(){var t=Object(o.a)(L().mark(function t(e,n){return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r.setState({coll:n.value}),t.next=3,r.props.boardDet(n.value);case 3:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.boardCode=function(){var t=Object(o.a)(L().mark(function t(e,n){return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r.setState({board:n.value}),t.next=3,r.props.teachDet(r.state.coll,n.value);case 3:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.teachcodedet=function(){var t=Object(o.a)(L().mark(function t(e,n){return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r.setState({teachcode:n.value});case 1:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.handleCancel=Object(o.a)(L().mark(function t(){return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r.setState({coll:[]}),r.setState({board:[]}),r.setState({teachcode:[]});case 3:case"end":return t.stop()}},t)})),r.reportTeach=Object(o.a)(L().mark(function t(){var e,n,o,a,i;return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=r.state,n=e.coll,o=e.board,a=e.teachcode,0!=n.length){t.next=4;break}return alert("Select College"),t.abrupt("return");case 4:if(0!=o.length){t.next=7;break}return alert("Select Board"),t.abrupt("return");case 7:if(0!=a.length){t.next=10;break}return alert("Select Teacher"),t.abrupt("return");case 10:i="","500"!=r.props.fcurtype&&"501"!=r.props.fcurtype||(i=r.props.fcurcoll),window.open(O.c+"teacher_report&univcode="+r.props.univcode+"&coll="+r.state.coll+"&board="+r.state.board+"&teachcode="+r.state.teachcode+"&fcurcollcode="+i+"&fcurtype="+r.props.fcurtype);case 13:case"end":return t.stop()}},t)})),r.submitTeach=Object(o.a)(L().mark(function t(){var e,n,o,a;return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=r.state,n=e.coll,o=e.board,a=e.teachcode,0!=n.length){t.next=4;break}return alert("Select College"),t.abrupt("return");case 4:if(0!=o.length){t.next=7;break}return alert("Select Board"),t.abrupt("return");case 7:if(0!=a.length){t.next=10;break}return alert("Select Teacher"),t.abrupt("return");case 10:return t.next=12,r.props.getTeach(n,o,a);case 12:r.setState({teachDetails:!0});case 13:case"end":return t.stop()}},t)})),r}return Object(u.a)(e,t),Object(i.a)(e,[{key:"render",value:function(){var t=this,e=this.state,r=e.coll,o=e.board,a=e.teachcode,i=e.teachDetails,c=this.props,l=c.colldet,u=c.boarddet,s=c.teachdet,g=c.displayteach,w=(Object(b.i)(),[{key:"All",value:"All",text:"All"}]),x=l.map(function(t,e){return{key:e,value:t.fcollcode,text:t.fcollcode+"-"+t.fcollname+"-"+t.ftown}}),E=[].concat(w,Object(n.a)(x)),O=u.map(function(t,e){return{key:e,value:t.fboard,text:t.fboard+"-"+t.fboardname}}),L=[].concat(w,Object(n.a)(O)),j=s.map(function(t,e){return{key:e,value:t.fteachcode,text:t.fteachcode+"-"+t.fteachname}}),_=[].concat(w,Object(n.a)(j));return h.a.createElement("div",{className:"animated fadeIn"},h.a.createElement(d.a,{fluid:!0},h.a.createElement(d.a.Content,null,h.a.createElement(d.a.Header,{style:{display:"flex"}},h.a.createElement("h4",null,"Teacher Report"),h.a.createElement("div",{className:"ml-auto"},h.a.createElement(p.a,{basic:!0,color:"blue",icon:"file",onClick:this.reportTeach,content:"Report"}),h.a.createElement(p.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),h.a.createElement(m.a,{to:"/Dashboard"},h.a.createElement(p.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),h.a.createElement(f.a,null),h.a.createElement(d.a.Description,null,h.a.createElement("div",null,h.a.createElement(y.a,null,"500"!==this.props.fcurtype?h.a.createElement(y.a.Group,null,h.a.createElement(y.a.Field,null,h.a.createElement("label",null,"College"),h.a.createElement(v.a,{multiple:!0,fluid:!0,search:!0,selection:!0,onChange:this.collCode,value:r,options:E,style:{width:"400px"},placeholder:"Select the College"}))):null,"500"!==this.props.fcurtype?h.a.createElement(y.a.Group,null,h.a.createElement(y.a.Field,null,h.a.createElement("label",null,"Board"),h.a.createElement(v.a,{fluid:!0,search:!0,multiple:!0,selection:!0,onChange:this.boardCode,value:o.length>0?o:null,options:L,style:{width:"400px"},placeholder:"Select the Board"}))):null,h.a.createElement(y.a.Group,null,h.a.createElement(y.a.Field,null,h.a.createElement("label",null,"Teacher"),h.a.createElement(v.a,{value:a,multiple:!0,selection:!0,search:!0,options:_,onChange:this.teachcodedet,style:{width:"400px"},placeholder:"Select the Teacher"})))),h.a.createElement(y.a.Group,null,h.a.createElement(y.a.Field,null,h.a.createElement(p.a,{color:"blue",content:"Submit",onClick:this.submitTeach}))),i?h.a.createElement("div",{style:{width:"100%",height:"550px",overflowY:"auto",marginTop:"4px"}},h.a.createElement("table",{style:{width:"100%",border:"1px solid"}},h.a.createElement("thead",{style:{backgroundColor:"#1e7f91",color:"white",height:"40px",position:"sticky",top:0}},h.a.createElement("tr",null,h.a.createElement("th",{style:{border:"1px solid",textAlign:"center",width:"2%",borderTop:"1px solid",borderLeft:"1px solid"}},"Sl. No."),h.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"8%"}},"Teach. Code."),h.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"22%"}},"Teacher Name"),h.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"10%"}},"Date Of Birth"),h.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"5%"}},"Gender"),"021"!==this.props.univcode?h.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"15%"}},"Qualifications"):null,"021"!==this.props.univcode?h.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"5%"}},"Scale"):null,h.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"22%"}},"Teacher Email ID"),h.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"18%"}},"Mobile No."))),h.a.createElement("tbody",null,g.map(function(e,r){return h.a.createElement("tr",{key:r},h.a.createElement("td",{style:{border:"1px solid",textAlign:"center",width:"2%",height:"30px"}},r+1),h.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"8%",height:"30px"}},e.fteachcode),h.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",width:"22%",height:"30px",paddingLeft:"10px"}},e.fteachname),h.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",paddingLeft:"10px",width:"10%",height:"30px"}},e.fdob),h.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"5%",height:"30px"}},e.fgender),"021"!==t.props.univcode?h.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",width:"15%",height:"30px"}},e.fqual):null,"021"!==t.props.univcode?h.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"5%",height:"30px"}},e.fscale):null,h.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"22%",height:"30px"}},e.femail),h.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"18%",height:"30px"}},e.fmobile))})))):null)))))}}]),e}(s.Component);e.default=Object(g.b)(function(t){return{univcode:t.univ.funivcode,colldet:t.colldetails,boarddet:t.boardDetails,teachdet:t.teachdetails,displayteach:t.displayTeachDet,fcurcoll:t.user.fcollcode,fcurtype:t.user.fcurtype}},{collDet:function(){return function(){var t=Object(o.a)(E().mark(function t(e,r){var n,o,a,i;return E().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),e({type:"SET_LOADER"}),o=n.user.fcollcode?n.user.fcollcode:"",t.next=5,w.a.get("app.php?a=collDet&univcode="+n.univ.funivcode+"&fcurcollcode="+o);case 5:a=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof a.data?(i={header:"Error",content:"Something went wrong"},e(Object(x.A)(i))):-1===a.data.error_code?a.data.data.msg:e({type:"COLLEGE_DET",payload:a.data});case 8:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},boardDet:function(t){return function(){var e=Object(o.a)(E().mark(function e(r,n){var o,a,i;return E().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),r({type:"SET_LOADER"}),e.next=4,w.a.get("app.php?a=boardDet&colldetail="+t+"&univcode="+o.user.fcuruniv);case 4:a=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof a.data?(i={header:"Error",content:"Something went wrong"},r(Object(x.A)(i))):-1===a.data.error_code?a.data.data.msg:r({type:"BOARD_DET",payload:a.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},teachDet:function(t,e){return function(){var r=Object(o.a)(E().mark(function r(n,o){var a,i,c;return E().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return a=o(),n({type:"SET_LOADER"}),r.next=4,w.a.get("app.php?a=teachDet&colldetail="+t+"&boarddet="+e+"&univcode="+a.user.fcuruniv);case 4:i=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof i.data?(c={header:"Error",content:"Something went wrong"},n(Object(x.A)(c))):-1===i.data.error_code?i.data.data.msg:n({type:"TEACH_DET",payload:i.data});case 7:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},getTeach:function(t,e,r){return function(){var n=Object(o.a)(E().mark(function n(o,a){var i,c,l,u;return E().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=a(),o({type:"SET_LOADER"}),c=i.user.fcollcode?i.user.fcollcode:"",n.next=5,w.a.get("app.php?a=getTeach&colldetail="+t+"&boarddet="+e+"&teachdet="+r+"&univcode="+i.user.fcuruniv+"&fcurcollcode="+c+"&fcurtype="+i.user.fcurtype);case 5:l=n.sent,o({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},o(Object(x.A)(u))):-1===l.data.error_code?l.data.data.msg:o({type:"DISPLAY_TEACH_DET",payload:l.data});case 8:case"end":return n.stop()}},n)}));return function(t,e){return n.apply(this,arguments)}}()}})(j)},272:function(t,e,r){"use strict";var n=r(270),o=r.n(n),a=r(268),i=r.n(a),c=r(2),l=r.n(c),u=r(349),s=r(613),h=r(611),d=r(269);function p(t){var e=t.children,r=t.className,n=t.clearing,a=t.content,c=t.fitted,f=t.hidden,y=t.horizontal,v=t.inverted,m=t.section,g=t.vertical,b=i()("ui",Object(u.a)(n,"clearing"),Object(u.a)(c,"fitted"),Object(u.a)(f,"hidden"),Object(u.a)(y,"horizontal"),Object(u.a)(v,"inverted"),Object(u.a)(m,"section"),Object(u.a)(g,"vertical"),"divider",r),w=Object(s.a)(p,t),x=Object(h.a)(p,t);return l.a.createElement(x,o()({},w,{className:b}),d.a.isNil(e)?a:e)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},e.a=p}}]);
//# sourceMappingURL=260.5a21eef7.chunk.js.map
|