(window.webpackJsonp=window.webpackJsonp||[]).push([[112],{QLuO:function(v,O,t){"use strict";t.r(O);var V=t("DjyN"),h=t("NUBc"),z=t("g9YV"),C=t("wCAj"),w=t("14J3"),U=t("BMrR"),H=t("jCWc"),o=t("kPKH"),r=t("k1fw"),p=t("tJVT"),i=t("q1tI"),e=t.n(i),R=t("1vsH"),b=t("Ty5D"),D=t("9kvl"),B=t("5bA4"),x=t("cdMw"),u=t.n(x),A=function(l){var d,c=l.video,X=l.globalSetting,I=l.loading,g=l.dispatch,j=Object(i.useState)(Object(r.a)({},Object(b.m)())),M=Object(p.a)(j,2),_=M[0],Q=M[1],L=Object(b.l)(),W=Object(i.useState)({}),y=Object(p.a)(W,2),m=y[0],T=y[1],F=Object(i.useState)(""),S=Object(p.a)(F,2),Y=S[0],K=S[1],P=c.StudentvideoStatistics,f=c.videoStatistics;_.category=L.query.category_id,Object(i.useEffect)(function(){g({type:"video/getStudentVideoStatisticsList",payload:Object(r.a)({},_)}),g({type:"video/getVideoStatistics",payload:Object(r.a)({},_)})},[_.coursesId]);var N=[{title:"\u5E8F\u53F7",dataIndex:"name",render:function(n,J,a){return a+1}},{title:"\u89C6\u9891\u540D\u79F0",dataIndex:"title"},{title:"\u89C2\u770B\u6B21\u6570",dataIndex:"freq",render:function(n){return n||"--"}},{title:"\u89C2\u770B\u65F6\u957F",dataIndex:"total_duration",render:function(n){return e.a.createElement("span",null,n?Object(R.M)(n):"--")}},{title:"\u53D1\u5E03\u4EBA",dataIndex:"user_name"},{title:"\u662F\u5426\u770B\u5B8C",dataInex:"is_finished",render:function(n){return e.a.createElement("span",null,n?"\u662F":"\u5426")}}];return e.a.createElement("section",{className:u.a.bg},e.a.createElement("aside",{className:u.a.statisticsWrp},e.a.createElement(U.a,{justify:"space-between",className:"mt10 mb20"},e.a.createElement(o.a,{span:"16"},e.a.createElement(B.a,{className:"current mr10 font16",onClick:function(){return D.c.goBack()}}),e.a.createElement("strong",{className:"font16"},"\u89C6\u9891\u7EDF\u8BA1\u603B\u89C8")),e.a.createElement(o.a,{span:"8",className:"c-light-black tr"},"\u64AD\u653E\u6570\u636E\u4ECE ",f.begin_at," \u5F00\u59CB\u7EDF\u8BA1")),e.a.createElement(U.a,{justify:"space-between",className:u.a.statistics},e.a.createElement(o.a,{span:"7"},e.a.createElement("span",null,"\u89C2\u770B\u603B\u6B21\u6570 \uFF08\u6B21\uFF09"),e.a.createElement("br",null),e.a.createElement("strong",null,f.freq)),e.a.createElement(o.a,{span:"7"},e.a.createElement("span",null,"\u89C2\u770B\u603B\u4E2A\u6570 \uFF08\u4E2A\uFF09"),e.a.createElement("br",null),e.a.createElement("strong",null,f.num)),e.a.createElement(o.a,{span:"7"},e.a.createElement("span",null,"\u603B\u89C2\u770B\u65F6\u5E38 \uFF08\u65F6\uFF09"),e.a.createElement("br",null),e.a.createElement("strong",null,Object(R.M)(f.total_duration))))),e.a.createElement("aside",{className:u.a.infoWrp},e.a.createElement("div",null,e.a.createElement("strong",{className:"font16"},"\u7EDF\u8BA1\u5217\u8868")),e.a.createElement(C.a,{className:"mt20",loading:I["video/getStudentVideoStatisticsList"],hideOnSinglePage:!0,pagination:!1,dataSource:P==null?void 0:P.data,columns:N,onChange:function(n,J,a){if(m={},a.order===void 0){m[a.field]="descend";switch(a.field){case"student_id":K("descend"),_.order=a.field+"-desc";break}}else _.order=a.field+"-"+a.order.replace("end",""),m[a.field]=a.order;T(Object(r.a)({},m)),g({type:"video/getVideoStatisticsList",payload:Object(r.a)({},_)})}})),e.a.createElement("aside",{className:"tc mb50 mt30"},e.a.createElement(h.a,{showSizeChanger:!1,onChange:function(){},defaultCurrent:1,current:_.page||1,defaultPageSize:15,hideOnSinglePage:!0,total:(d=P.data)===null||d===void 0?void 0:d.count})))};O.default=Object(D.a)(function(E){var l=E.video,d=E.loading,c=E.globalSetting;return{video:l,globalSetting:c,loading:d.effects}})(A)},cdMw:function(v,O,t){v.exports={flex_box_center:"flex_box_center___30MKN",flex_space_between:"flex_space_between___1jJvF",flex_box_vertical_center:"flex_box_vertical_center___3J2rX",flex_box_center_end:"flex_box_center_end___2A94X",flex_box_column:"flex_box_column___2P7Lk",title:"title___3I4-b",statisticsWrp:"statisticsWrp___thSt4",statistics:"statistics___eFfMq",infoWrp:"infoWrp___25k2A"}}}]);
