dev_local_v6_lgd
linlu 4 years ago
parent 4c7f222552
commit 9ebb772333

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -93,6 +93,6 @@
gtag('config', 'UA-198293321-1');
</script> -->
<script src="/react/build/umi.2b6ecfbd.js"></script>
<script src="/react/build/umi.585bb181.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[111],{QLuO:function(g,O,t){"use strict";t.r(O);var V=t("DjyN"),y=t("NUBc"),w=t("g9YV"),C=t("wCAj"),z=t("14J3"),R=t("BMrR"),H=t("jCWc"),o=t("kPKH"),r=t("k1fw"),v=t("tJVT"),i=t("q1tI"),e=t.n(i),p=t("1vsH"),b=t("Ty5D"),D=t("9kvl"),B=t("5bA4"),x=t("cdMw"),u=t.n(x),A=function(l){var d,E=l.video,X=l.globalSetting,I=l.loading,U=l.dispatch,j=Object(i.useState)(Object(r.a)({},Object(b.m)())),M=Object(v.a)(j,2),_=M[0],Q=M[1],L=Object(b.l)(),W=Object(i.useState)({}),S=Object(v.a)(W,2),m=S[0],T=S[1],F=Object(i.useState)(""),h=Object(v.a)(F,2),Y=h[0],K=h[1],P=E.StudentvideoStatistics,f=E.videoStatistics;_.category=L.query.category_id,Object(i.useEffect)(function(){U({type:"video/getStudentVideoStatisticsList",payload:Object(r.a)({},_)}),U({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(p.O)(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(R.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(R.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(p.O)(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)),U({type:"video/getVideoStatisticsList",payload:Object(r.a)({},_)})}})),e.a.createElement("aside",{className:"tc mb50 mt30"},e.a.createElement(y.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(c){var l=c.video,d=c.loading,E=c.globalSetting;return{video:l,globalSetting:E,loading:d.effects}})(A)},cdMw:function(g,O,t){g.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"}}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[111],{QLuO:function(U,O,t){"use strict";t.r(O);var V=t("DjyN"),y=t("NUBc"),z=t("g9YV"),C=t("wCAj"),H=t("14J3"),R=t("BMrR"),X=t("jCWc"),o=t("kPKH"),r=t("k1fw"),v=t("tJVT"),i=t("q1tI"),e=t.n(i),p=t("1vsH"),b=t("Ty5D"),D=t("9kvl"),B=t("5bA4"),x=t("cdMw"),u=t.n(x),A=function(l){var d,E=l.video,Q=l.globalSetting,I=l.loading,g=l.dispatch,j=Object(i.useState)(Object(r.a)({},Object(b.m)())),M=Object(v.a)(j,2),_=M[0],Y=M[1],L=Object(b.l)(),W=Object(i.useState)({}),S=Object(v.a)(W,2),m=S[0],T=S[1],F=Object(i.useState)(""),h=Object(v.a)(F,2),w=h[0],K=h[1],P=E.StudentvideoStatistics,f=E.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(p.O)(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(R.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(R.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(p.O)(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(y.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(c){var l=c.video,d=c.loading,E=c.globalSetting;return{video:l,globalSetting:E,loading:d.effects}})(A)},cdMw:function(U,O,t){U.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"}}}]);

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[112],{"/Fp4":function(U,p,t){U.exports={flex_box_center:"flex_box_center___HN6MI",flex_space_between:"flex_space_between___3r4Gb",flex_box_vertical_center:"flex_box_vertical_center____a0pw",flex_box_center_end:"flex_box_center_end___q--gl",flex_box_column:"flex_box_column___28zUL",title:"title___2xhIc",statisticsWrp:"statisticsWrp___1thFu",statistics:"statistics___yQFce",infoWrp:"infoWrp___1I5LI",divwidth:"divwidth___1T67H"}},"5vIh":function(U,p,t){"use strict";t.r(p);var H=t("DjyN"),C=t("NUBc"),J=t("g9YV"),I=t("wCAj"),z=t("14J3"),R=t("BMrR"),G=t("jCWc"),c=t("kPKH"),r=t("k1fw"),v=t("tJVT"),m=t("q1tI"),e=t.n(m),g=t("1vsH"),D=t("Ty5D"),S=t("55Ip"),b=t("9kvl"),x=t("5bA4"),L=t("/Fp4"),l=t.n(L),j=function(d){var P=d.video,h=d.globalSetting,A=d.loading,f=d.dispatch,F=Object(m.useState)(Object(r.a)({},Object(D.m)())),y=Object(v.a)(F,2),_=y[0],Q=y[1],T=Object(D.l)(),W=Object(m.useState)({}),M=Object(v.a)(W,2),u=M[0],K=M[1],N=Object(m.useState)(""),B=Object(v.a)(N,2),Y=B[0],V=B[1],O=P.videoStatisticsList,o=P.videoStatistics;_.category=T.query.category_id,Object(m.useEffect)(function(){f({type:"video/getVideoStatisticsList",payload:Object(r.a)({},_)}),f({type:"video/getVideoStatistics",payload:Object(r.a)(Object(r.a)({},_),{},{all:!0})})},[_.coursesId]);var w=[{title:"\u5E8F\u53F7",dataIndex:"name",render:function(a,i,n){return n+1}},{title:"\u89C6\u9891\u540D\u79F0",dataIndex:"title"},{title:"\u89C2\u770B\u4EBA\u6570",dataIndex:"people_num",sortOrder:u.people_num,sortDirections:["descend","ascend"],sorter:function(a,i){return a.people_num-i.people_num},render:function(a){return a||"--"}},{title:"\u89C2\u770B\u65F6\u957F",dataIndex:"total_time",sortOrder:u.total_time,sortDirections:["descend","ascend"],sorter:function(a,i){return a.total_time-i.total_time},render:function(a){return e.a.createElement("span",null,a?Object(g.O)(a):"--")}},{title:"\u53D1\u5E03\u4EBA",dataIndex:"user_name"},{title:"\u64CD\u4F5C",dataInex:"action",render:function(a,i){return e.a.createElement("div",null,e.a.createElement(S.Link,{to:"/classrooms/".concat(_.coursesId,"/video/").concat(_.categoryId,"/statistics/").concat(i.id),className:"c-blue"},"\u8BE6\u60C5"))}}];return e.a.createElement("section",{className:l.a.bg},e.a.createElement("aside",{className:l.a.statisticsWrp},e.a.createElement(R.a,{justify:"space-between",className:"mt10 mb20"},e.a.createElement(c.a,{span:"16"},e.a.createElement(x.a,{className:"current mr10 font16",onClick:function(){return b.c.goBack()}}),e.a.createElement("strong",{className:"font16"},"\u89C6\u9891\u7EDF\u8BA1\u603B\u89C8")),e.a.createElement(c.a,{span:"8",className:"c-light-black tr"},"\u64AD\u653E\u6570\u636E\u4ECE ",o.begin_at," \u5F00\u59CB\u7EDF\u8BA1")),e.a.createElement(R.a,{justify:"space-between",className:l.a.statistics},e.a.createElement(c.a,{span:"7"},e.a.createElement("span",null,"\u89C2\u770B\u4EBA\u6570 \uFF08\u4EBA\uFF09"),e.a.createElement("br",null),e.a.createElement("strong",{title:o.num,className:l.a.divwidth},o.num)),e.a.createElement(c.a,{span:"7"},e.a.createElement("span",null,"\u89C2\u770B\u603B\u4EBA\u6B21 \uFF08\u6B21\uFF09"),e.a.createElement("br",null),e.a.createElement("strong",{title:o.freq,className:l.a.divwidth},o.freq)),e.a.createElement(c.a,{span:"7"},e.a.createElement("span",null,"\u603B\u89C2\u770B\u65F6\u957F \uFF08\u65F6\uFF09"),e.a.createElement("br",null),e.a.createElement("strong",{title:o.total_duration?Object(g.O)(o.total_duration):"--",className:l.a.divwidth},o.total_duration?Object(g.O)(o.total_duration):"--")))),e.a.createElement("aside",{className:l.a.infoWrp},e.a.createElement("div",null,e.a.createElement("strong",{className:"font16"},"\u7EDF\u8BA1\u5217\u8868")),e.a.createElement(I.a,{className:"mt20",loading:A["video/getVideoStatisticsList"],hideOnSinglePage:!0,pagination:!1,dataSource:O.videos,columns:w,onChange:function(a,i,n){if(u={},n.order===void 0){u[n.field]="descend";switch(n.field){case"student_id":V("descend"),_.order=n.field+"-desc";break}}else _.order=n.field+"-"+n.order.replace("end",""),u[n.field]=n.order;K(Object(r.a)({},u)),f({type:"video/getVideoStatisticsList",payload:Object(r.a)({},_)})}})),e.a.createElement("aside",{className:"tc mb50 mt30"},e.a.createElement(C.a,{showSizeChanger:!1,onChange:function(a){_.page=a,f({type:"video/getVideoStatisticsList",payload:Object(r.a)({},_)})},defaultCurrent:1,current:_.page||1,pageSize:20,hideOnSinglePage:!0,total:O==null?void 0:O.count})))};p.default=Object(b.a)(function(E){var d=E.video,P=E.loading,h=E.globalSetting;return{video:d,globalSetting:h,loading:P.effects}})(j)}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[112],{"/Fp4":function(U,p,t){U.exports={flex_box_center:"flex_box_center___HN6MI",flex_space_between:"flex_space_between___3r4Gb",flex_box_vertical_center:"flex_box_vertical_center____a0pw",flex_box_center_end:"flex_box_center_end___q--gl",flex_box_column:"flex_box_column___28zUL",title:"title___2xhIc",statisticsWrp:"statisticsWrp___1thFu",statistics:"statistics___yQFce",infoWrp:"infoWrp___1I5LI",divwidth:"divwidth___1T67H"}},"5vIh":function(U,p,t){"use strict";t.r(p);var J=t("DjyN"),C=t("NUBc"),w=t("g9YV"),I=t("wCAj"),z=t("14J3"),R=t("BMrR"),G=t("jCWc"),c=t("kPKH"),r=t("k1fw"),v=t("tJVT"),m=t("q1tI"),e=t.n(m),g=t("1vsH"),b=t("Ty5D"),S=t("55Ip"),h=t("9kvl"),x=t("5bA4"),L=t("/Fp4"),l=t.n(L),j=function(d){var P=d.video,D=d.globalSetting,A=d.loading,f=d.dispatch,F=Object(m.useState)(Object(r.a)({},Object(b.m)())),y=Object(v.a)(F,2),_=y[0],Q=y[1],T=Object(b.l)(),W=Object(m.useState)({}),M=Object(v.a)(W,2),u=M[0],K=M[1],N=Object(m.useState)(""),B=Object(v.a)(N,2),Y=B[0],V=B[1],O=P.videoStatisticsList,o=P.videoStatistics;_.category=T.query.category_id,Object(m.useEffect)(function(){f({type:"video/getVideoStatisticsList",payload:Object(r.a)({},_)}),f({type:"video/getVideoStatistics",payload:Object(r.a)(Object(r.a)({},_),{},{all:!0})})},[_.coursesId]);var H=[{title:"\u5E8F\u53F7",dataIndex:"name",render:function(a,i,n){return n+1}},{title:"\u89C6\u9891\u540D\u79F0",dataIndex:"title"},{title:"\u89C2\u770B\u4EBA\u6570",dataIndex:"people_num",sortOrder:u.people_num,sortDirections:["descend","ascend"],sorter:function(a,i){return a.people_num-i.people_num},render:function(a){return a||"--"}},{title:"\u89C2\u770B\u65F6\u957F",dataIndex:"total_time",sortOrder:u.total_time,sortDirections:["descend","ascend"],sorter:function(a,i){return a.total_time-i.total_time},render:function(a){return e.a.createElement("span",null,a?Object(g.O)(a):"--")}},{title:"\u53D1\u5E03\u4EBA",dataIndex:"user_name"},{title:"\u64CD\u4F5C",dataInex:"action",render:function(a,i){return e.a.createElement("div",null,e.a.createElement(S.Link,{to:"/classrooms/".concat(_.coursesId,"/video/").concat(_.categoryId,"/statistics/").concat(i.id),className:"c-blue"},"\u8BE6\u60C5"))}}];return e.a.createElement("section",{className:l.a.bg},e.a.createElement("aside",{className:l.a.statisticsWrp},e.a.createElement(R.a,{justify:"space-between",className:"mt10 mb20"},e.a.createElement(c.a,{span:"16"},e.a.createElement(x.a,{className:"current mr10 font16",onClick:function(){return h.c.goBack()}}),e.a.createElement("strong",{className:"font16"},"\u89C6\u9891\u7EDF\u8BA1\u603B\u89C8")),e.a.createElement(c.a,{span:"8",className:"c-light-black tr"},"\u64AD\u653E\u6570\u636E\u4ECE ",o.begin_at," \u5F00\u59CB\u7EDF\u8BA1")),e.a.createElement(R.a,{justify:"space-between",className:l.a.statistics},e.a.createElement(c.a,{span:"7"},e.a.createElement("span",null,"\u89C2\u770B\u4EBA\u6570 \uFF08\u4EBA\uFF09"),e.a.createElement("br",null),e.a.createElement("strong",{title:o.num,className:l.a.divwidth},o.num)),e.a.createElement(c.a,{span:"7"},e.a.createElement("span",null,"\u89C2\u770B\u603B\u4EBA\u6B21 \uFF08\u6B21\uFF09"),e.a.createElement("br",null),e.a.createElement("strong",{title:o.freq,className:l.a.divwidth},o.freq)),e.a.createElement(c.a,{span:"7"},e.a.createElement("span",null,"\u603B\u89C2\u770B\u65F6\u957F \uFF08\u65F6\uFF09"),e.a.createElement("br",null),e.a.createElement("strong",{title:o.total_duration?Object(g.O)(o.total_duration):"--",className:l.a.divwidth},o.total_duration?Object(g.O)(o.total_duration):"--")))),e.a.createElement("aside",{className:l.a.infoWrp},e.a.createElement("div",null,e.a.createElement("strong",{className:"font16"},"\u7EDF\u8BA1\u5217\u8868")),e.a.createElement(I.a,{className:"mt20",loading:A["video/getVideoStatisticsList"],hideOnSinglePage:!0,pagination:!1,dataSource:O.videos,columns:H,onChange:function(a,i,n){if(u={},n.order===void 0){u[n.field]="descend";switch(n.field){case"student_id":V("descend"),_.order=n.field+"-desc";break}}else _.order=n.field+"-"+n.order.replace("end",""),u[n.field]=n.order;K(Object(r.a)({},u)),f({type:"video/getVideoStatisticsList",payload:Object(r.a)({},_)})}})),e.a.createElement("aside",{className:"tc mb50 mt30"},e.a.createElement(C.a,{showSizeChanger:!1,onChange:function(a){_.page=a,f({type:"video/getVideoStatisticsList",payload:Object(r.a)({},_)})},defaultCurrent:1,current:_.page||1,pageSize:20,hideOnSinglePage:!0,total:O==null?void 0:O.count})))};p.default=Object(h.a)(function(E){var d=E.video,P=E.loading,D=E.globalSetting;return{video:d,globalSetting:D,loading:P.effects}})(j)}}]);

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save