(window.webpackJsonp=window.webpackJsonp||[]).push([[102],{"2TgF":function(l,o,e){l.exports={divback:"divback___19CJW",title:"title___2aAOE",divstyle:"divstyle___1ehDw"}},BdwD:function(l,o,e){"use strict";var E=e("k1fw"),u=e("q1tI"),i=e.n(u),A=function(m){var P=m.styles,O=P===void 0?{}:P,p=m.customText;return i.a.createElement("section",{className:"tc animated fadeIn",style:Object(E.a)(Object(E.a)({},{color:"#999",margin:"200px auto"}),O)},i.a.createElement("img",{src:e("FOrL")}),i.a.createElement("p",{className:"mt20 font14"},p||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"))};o.a=A},FOrL:function(l,o){l.exports="data:image/png;base64,[encoded data, 7836 characters]"},cfGd:function(l,o,e){"use strict";e.r(o);var E=e("WmNS"),u=e.n(E),i=e("DjyN"),A=e("NUBc"),h=e("g9YV"),m=e("wCAj"),P=e("/zsF"),O=e("PArb"),p=e("9og8"),g=e("tJVT"),c=e("q1tI"),n=e.n(c),B=e("ErOA"),W=e("BdwD"),U=e("2TgF"),v=e.n(U),z=e("1vsH"),C=e("Ty5D"),w=e("9kvl"),x=e("5bA4");function T(D){var f=D.user,Q=D.dispatch,s=Object(C.m)(),I=Object(c.useState)(),M=Object(g.a)(I,2),t=M[0],N=M[1],Z=Object(c.useState)(),b=Object(g.a)(Z,2),F=b[0],L=b[1];Object(c.useEffect)(function(){y(1)},[]);function y(r){return R.apply(this,arguments)}function R(){return R=Object(p.a)(u.a.mark(function r(a){var d;return u.a.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return L(a),_.next=3,Object(B.a)("/api/courses/".concat(s==null?void 0:s.coursesId,"/video_study_detail.json"),{method:"get",params:{page:a,per_page:10,course_id:s==null?void 0:s.coursesId,uid:s==null?void 0:s.studentid}});case 3:d=_.sent,d&&N(d);case 5:case"end":return _.stop()}},r)})),R.apply(this,arguments)}var S=[{title:"\u89C6\u9891\u540D\u79F0",dataIndex:"title",width:80,align:"center",render:function(a,d,X){return n.a.createElement("span",null,a)}},{title:"\u89C2\u770B\u65F6\u957F",width:120,align:"center",dataIndex:"total_duration",render:function(a){return n.a.createElement("span",{className:"c-black"},Object(z.M)(parseInt(a))||"--")}},{title:"\u5B66\u4E60\u8FDB\u5EA6",width:130,align:"center",dataIndex:"rate",render:function(a){return n.a.createElement("span",{className:"c-black"},a?a+"%":"0%")}},{title:"\u5F00\u59CB\u5B66\u4E60\u65F6\u95F4",width:140,align:"center",dataIndex:"start_at",render:function(a,d){return n.a.createElement("span",{className:"c-black"},a||"--")}},{title:"\u6700\u540E\u5B66\u4E60\u65F6\u95F4",width:150,align:"center",dataIndex:"end_at",render:function(a,d){return n.a.createElement("span",{className:"c-black"},a||"--")}}].filter(function(r){return!!r});return n.a.createElement("div",{className:v.a.divback},n.a.createElement("div",{className:v.a.title},n.a.createElement(x.a,{style:{cursor:"pointer"},onClick:function(){history.back()}})," ",t==null?void 0:t.user_name,"\u7684\u89C6\u9891\u5B66\u4E60\u60C5\u51B5"),n.a.createElement(O.a,{className:v.a.divstyle}),(t==null?void 0:t.count)===0&&n.a.createElement(W.a,null),(t==null?void 0:t.count)>0&&n.a.createElement(m.a,{dataSource:t==null?void 0:t.student,pagination:!1,columns:S}),n.a.createElement("aside",{className:"tc mb50 mt30 mb20"},n.a.createElement(A.a,{hideOnSinglePage:!0,showSizeChanger:!1,onChange:function(a,d){y(a)},current:F||1,defaultPageSize:10,total:t==null?void 0:t.count})))}o.default=Object(w.a)(function(D){var f=D.user;return{user:f}})(T)}}]);
