text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[152],{drKN:function(t,e,a){"use strict";a.r(e);var n=a("d6i3"),r=a.n(n),c=a("eHn4"),s=a.n(c),u=a("p0pE"),p=a.n(u),i=a("v0Aa"),o=(a("Plse"),a("n7id")),l=a("Z2nI"),d="teachingLog",w=Object(o["a"])(d);e["default"]={namespace:d,state:p()({},w),effects:{fetch:r.a.mark(function t(e,a){var n,c,u,o;return r.a.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return n=e.payload,c=a.call,u=a.put,t.t0=l["a"],t.next=5,c(i["t"],n);case 5:if(t.t1=t.sent,t.t2=(0,t.t0)(t.t1),o=(0,t.t2)(),!o){t.next=11;break}return t.next=11,u({type:"save",payload:s()({},"".concat(d,"TableData"),{list:o.list.map(function(t,e){return p()({key:e+1},t)}),pagination:o.pagination})});case 11:case"end":return t.stop()}},t)}),getTeachingLogDetail:r.a.mark(function t(e,a){var n,c;return r.a.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return n=e.payload,c=a.call,a.put,t.t0=l["a"],t.next=5,c(i["i"],n);case 5:return t.t1=t.sent,t.t2=(0,t.t0)(t.t1),t.abrupt("return",(0,t.t2)());case 8:case"end":return t.stop()}},t)}),getTagList:r.a.mark(function t(e,a){var n,c;return r.a.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return n=e.payload,c=a.call,a.put,t.t0=l["a"],t.next=5,c(i["h"],n);case 5:return t.t1=t.sent,t.t2=(0,t.t0)(t.t1),t.abrupt("return",(0,t.t2)());case 8:case"end":return t.stop()}},t)}),addRemarks:r.a.mark(function t(e,a){var n,c;return r.a.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return n=e.payload,c=a.call,a.put,t.t0=l["a"],t.next=5,c(i["a"],n);case 5:return t.t1=t.sent,t.t2=(0,t.t0)(t.t1),t.abrupt("return",(0,t.t2)());case 8:case"end":return t.stop()}},t)})},reducers:{save:function(t,e){return p()({},t,e.payload)}}}}}]);