dev_local_exercise
parent
30c4eb4f01
commit
5df54a7dce
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[17,15],{"1bfj":function(O,m,e){},Y8AM:function(O,m,e){"use strict";var j=e("+L6B"),M=e("2/Rp"),F=e("5NDa"),d=e("5rEg"),U=e("WmNS"),E=e.n(U),f=e("9og8"),x=e("y8nQ"),t=e("Vl3Y"),c=e("tJVT"),p=e("q1tI"),a=e.n(p),b=e("55Ip"),v=e("jb+D"),R=e("4i/N"),C=e("Ty5D"),L=e("9kvl"),B=e("1bfj"),S=e.n(B),r={height:48,borderRadius:4},T=function(s){var P=s.dispatch,u=t.a.useForm(),I=Object(c.a)(u,1),A=I[0],z=Object(C.l)(),W=Object(p.useState)(""),g=Object(c.a)(W,2),y=g[0],l=g[1],K=function(){var i=Object(f.a)(E.a.mark(function D(h){var n;return E.a.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,Object(v.a)(h);case 2:if(n=_.sent,!n.status){_.next=6;break}return l(n==null?void 0:n.message),_.abrupt("return");case 6:window.location.href="/exam";case 7:case"end":return _.stop()}},D)}));return function(h){return i.apply(this,arguments)}}();return a.a.createElement(t.a,{layout:"vertical",form:A,initialValues:{autologin:!0},onFinish:K,onValuesChange:function(){return l("")}},!!y&&a.a.createElement("div",{className:"res-error-values"},a.a.createElement("span",null,y),a.a.createElement(R.a,{onClick:function(){return l("")}})),a.a.createElement(t.a.Item,{name:"login",label:"\u8D26\u53F7",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7528\u6237\u540D\u3001\u624B\u673A\u53F7\u6216\u90AE\u7BB1"}]},a.a.createElement(d.a,{style:r,size:"large",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\u53F7"})),a.a.createElement(t.a.Item,{name:"password",label:"\u5BC6\u7801",rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"}]},a.a.createElement(d.a.Password,{style:r,size:"large",placeholder:"\u5BC6\u7801"})),a.a.createElement(t.a.Item,null,a.a.createElement(M.a,{size:"large",type:"primary",htmlType:"submit",block:!0,className:"font16",style:r},"\u767B\u5F55")),a.a.createElement(b.Link,{to:"/login"},"<<\u8FD4\u56DE\u9009\u62E9\u8EAB\u4EFD"))};m.a=Object(L.a)(function(o){var s=o.user,P=o.loading,u=o.globalSetting;return{user:s,globalSetting:u,loading:P.models.index}})(T)}}]);
|
||||
@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[17,15],{"1bfj":function(b,i,e){},Y8AM:function(b,i,e){"use strict";var K=e("+L6B"),g=e("2/Rp"),F=e("5NDa"),d=e("5rEg"),M=e("WmNS"),E=e.n(M),U=e("9og8"),x=e("y8nQ"),a=e("Vl3Y"),p=e("tJVT"),c=e("q1tI"),t=e.n(c),f=e("55Ip"),v=e("jb+D"),R=e("4i/N"),C=e("Ty5D"),L=e("9kvl"),B=e("1bfj"),S=e.n(B),r={height:48,borderRadius:4},T=function(s){var P=s.dispatch,l=a.a.useForm(),I=Object(p.a)(l,1),A=I[0],V=Object(C.l)(),j=Object(c.useState)(""),y=Object(p.a)(j,2),D=y[0],u=y[1],W=function(){var m=Object(U.a)(E.a.mark(function h(O){var n;return E.a.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,Object(v.a)(O);case 2:if(n=_.sent,!n.status){_.next=6;break}return u(n==null?void 0:n.message),_.abrupt("return");case 6:window.location.href="/exam";case 7:case"end":return _.stop()}},h)}));return function(O){return m.apply(this,arguments)}}();return t.a.createElement(a.a,{layout:"vertical",form:A,initialValues:{autologin:!0},onFinish:W,onValuesChange:function(){return u("")}},!!D&&t.a.createElement("div",{className:"res-error-values"},t.a.createElement("span",null,D),t.a.createElement(R.a,{onClick:function(){return u("")}})),t.a.createElement(a.a.Item,{name:"login",label:"\u8D26\u53F7",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7528\u6237\u540D\u3001\u624B\u673A\u53F7\u6216\u90AE\u7BB1"}]},t.a.createElement(d.a,{style:r,size:"large",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\u53F7"})),t.a.createElement(a.a.Item,{name:"password",label:"\u5BC6\u7801",rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"}]},t.a.createElement(d.a.Password,{style:r,size:"large",placeholder:"\u5BC6\u7801"})),t.a.createElement(a.a.Item,null,t.a.createElement(g.a,{size:"large",type:"primary",htmlType:"submit",block:!0,className:"font16",style:r},"\u767B\u5F55")),t.a.createElement(f.Link,{to:"/login"},"<<\u8FD4\u56DE\u9009\u62E9\u8EAB\u4EFD"))};i.a=Object(L.a)(function(o){var s=o.user,P=o.loading,l=o.globalSetting;return{user:s,globalSetting:l,loading:P.models.index}})(T)}}]);
|
||||
@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{"7A1C":function(c,a,t){},zCei:function(c,a,t){"use strict";t.r(a);var E=t("0Owb"),p=t("PpiC"),l=t("q1tI"),e=t.n(l),g=t("ruvs"),h=t("7A1C"),R=t.n(h),P=t("Ty5D"),o=t("9kvl");function b(n){var _=n.dispatch,i=n.globalSetting,r=n.children,v=Object(p.a)(n,["dispatch","globalSetting","children"]),s=Object(P.l)();Object(l.useEffect)(function(){i.setting||_({type:"globalSetting/query"})},[]);var u=function(d){return e.a.createElement("div",{className:"register-nav"},d===1&&e.a.createElement("div",null,"\u7BA1\u7406\u5458/\u6559\u5E08\u767B\u5F55"),d===2&&e.a.createElement("div",null,"\u5B66\u751F\u767B\u5F55"))};return e.a.createElement("div",{className:"register-container"},e.a.createElement(g.a,Object(E.a)({isLogin:!0},v)),e.a.createElement("div",{className:"register-bg"},s.pathname==="/login"&&e.a.createElement("div",{className:"login-select"},e.a.createElement("span",{onClick:function(){o.c.push("/login/teacher")}},e.a.createElement("i",{className:"iconfont icon-laoshi"}),"\u6559\u5E08\u767B\u5F55"),e.a.createElement("span",{style:{marginRight:0},onClick:function(){o.c.push("/login/student")}},e.a.createElement("i",{className:"iconfont icon-xuesheng"}),"\u5B66\u751F\u767B\u5F55")),s.pathname==="/login/teacher"&&e.a.createElement("div",{className:"register-panel"},u(1),r),s.pathname==="/login/student"&&e.a.createElement("div",{className:"register-panel"},u(2),r)))}a.default=Object(o.a)(function(n){var _=n.loading,i=n.globalSetting;return{globalSetting:i,loading:_.models.index}})(b)}}]);
|
||||
@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{"7A1C":function(d,o,t){},zCei:function(d,o,t){"use strict";t.r(o);var E=t("0Owb"),p=t("PpiC"),l=t("q1tI"),e=t.n(l),h=t("ruvs"),g=t("7A1C"),R=t.n(g),P=t("Ty5D"),a=t("9kvl");function b(n){var _=n.dispatch,s=n.globalSetting,r=n.children,v=Object(p.a)(n,["dispatch","globalSetting","children"]),i=Object(P.l)();Object(l.useEffect)(function(){s.setting||_({type:"globalSetting/query"})},[]);var u=function(c){return e.a.createElement("div",{className:"register-nav"},c===1&&e.a.createElement("div",null,"\u7BA1\u7406\u5458/\u6559\u5E08\u767B\u5F55"),c===2&&e.a.createElement("div",null,"\u5B66\u751F\u767B\u5F55"))};return e.a.createElement("div",{className:"register-container"},e.a.createElement(h.a,Object(E.a)({isLogin:!0},v)),e.a.createElement("div",{className:"register-bg"},i.pathname==="/login"&&e.a.createElement("div",{className:"login-select"},e.a.createElement("span",{onClick:function(){a.c.push("/login/teacher")}},e.a.createElement("i",{className:"iconfont icon-laoshi"}),"\u6559\u5E08\u767B\u5F55"),e.a.createElement("span",{style:{marginRight:0},onClick:function(){a.c.push("/login/student")}},e.a.createElement("i",{className:"iconfont icon-xuesheng"}),"\u5B66\u751F\u767B\u5F55")),i.pathname==="/login/teacher"&&e.a.createElement("div",{className:"register-panel"},u(1),r),i.pathname==="/login/student"&&e.a.createElement("div",{className:"register-panel"},u(2),r)))}o.default=Object(a.a)(function(n){var _=n.loading,s=n.globalSetting;return{globalSetting:s,loading:_.models.index}})(b)}}]);
|
||||
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([[38],{"9ryg":function(h,i,e){h.exports={wrap:"wrap___3-UaI",content:"content___3E-as",hint:"hint___3otcH",titleWrap:"titleWrap___3zROb",title:"title___2jI7q",bind:"bind___1czD7",flexRow:"flexRow___1MeAa",wechatLogo:"wechatLogo___3pmnJ",qqLogo:"qqLogo___12-6e",action:"action___1a_9A",modal:"modal___3aSrG"}},"a90+":function(h,i,e){"use strict";e.r(i);var k=e("miYZ"),A=e("tsqr"),B=e("WmNS"),l=e.n(B),G=e("/zsF"),F=e("PArb"),$=e("+L6B"),d=e("2/Rp"),P=e("9og8"),m=e("tJVT"),T=e("PpiC"),V=e("5NDa"),j=e("5rEg"),o=e("q1tI"),t=e.n(o),L=e("9kvl"),W=e("9ryg"),s=e.n(W),D=e("ErOA"),I=j.a.TextArea,x=function(_){var b=_.user,y=_.account,O=_.globalSetting,Y=_.loading,Z=_.dispatch,Q=Object(T.a)(_,["user","account","globalSetting","loading","dispatch"]),K=Object(o.useState)(),f=Object(m.a)(K,2),C=f[0],S=f[1],z=Object(o.useState)(),U=Object(m.a)(z,2),c=U[0],v=U[1],w=Object(o.useState)(!1),R=Object(m.a)(w,2),H=R[0],E=R[1];Object(o.useEffect)(function(){M()},[]);function M(){return p.apply(this,arguments)}function p(){return p=Object(P.a)(l.a.mark(function u(){var a;return l.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(D.a)("/api/users/honor.json",{method:"get"});case 2:a=n.sent,a&&(S(a==null?void 0:a.honor),v(a==null?void 0:a.honor));case 4:case"end":return n.stop()}},u)})),p.apply(this,arguments)}function N(){return g.apply(this,arguments)}function g(){return g=Object(P.a)(l.a.mark(function u(){var a;return l.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(c){n.next=3;break}return A.b.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),n.abrupt("return");case 3:return n.next=5,Object(D.a)("/api/users/brief_introduction.json",{method:"post",body:{honor:c}});case 5:a=n.sent,a&&(M(),E(!1));case 7:case"end":return n.stop()}},u)})),g.apply(this,arguments)}return t.a.createElement("section",{className:s.a.wrap},t.a.createElement("div",{className:s.a.content},t.a.createElement("div",{className:"".concat(s.a.titleWrap," mt10")},t.a.createElement("div",{className:s.a.title,style:{width:"100%",display:"flex"}},t.a.createElement("span",{style:{flex:"1"}},t.a.createElement("span",null,"\u6210\u679C\u8363\u8A89"),t.a.createElement("span",{style:{fontSize:"14px",color:"#888888"}},"\uFF08\u6559\u5E08\u53EF\u4EE5\u5728\u8FD9\u91CC\u7F16\u64B0\u81EA\u5DF1\u7684\u6559\u7814\u6210\u679C\u3001\u8363\u8A89\u79F0\u53F7\uFF0C\u8FD9\u4E9B\u4FE1\u606F\u5C06\u5728\u8BFE\u7A0B\u4E2D\u5C55\u793A\uFF09")),t.a.createElement(d.a,{onClick:function(){return E(!0)}},"\u7F16\u8F91"))),t.a.createElement(F.a,null),H?t.a.createElement("div",null,t.a.createElement(I,{value:c,onChange:function(a){return v(a.target.value)},placeholder:"\u8BF7\u7F16\u64B0\u4E0D\u8D85\u8FC7300\u5B57\u7684\u6210\u679C\u3001\u8363\u8A89\u4ECB\u7ECD",maxLength:300}),t.a.createElement(d.a,{type:"primary",style:{marginRight:"10px",marginTop:"10px"},onClick:function(){return N()}},"\u786E\u8BA4"),t.a.createElement(d.a,{style:{marginTop:"10px"},onClick:function(){return E(!1)}},"\u53D6\u6D88")):C||"\u60A8\u5C1A\u672A\u7F16\u64B0\u81EA\u5DF1\u7684\u6559\u7814\u6210\u679C\u548C\u8363\u8A89\u79F0\u53F7\u54E6~"),t.a.createElement("div",{className:"".concat(s.a.hint," font14")},"* \u6211\u4EEC\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732"))};i.default=Object(L.a)(function(r){var _=r.user,b=r.account,y=r.loading,O=r.globalSetting;return{user:_,account:b,globalSetting:O,loading:y.models.index}})(x)}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{"9ryg":function(b,i,e){b.exports={wrap:"wrap___3-UaI",content:"content___3E-as",hint:"hint___3otcH",titleWrap:"titleWrap___3zROb",title:"title___2jI7q",bind:"bind___1czD7",flexRow:"flexRow___1MeAa",wechatLogo:"wechatLogo___3pmnJ",qqLogo:"qqLogo___12-6e",action:"action___1a_9A",modal:"modal___3aSrG"}},"a90+":function(b,i,e){"use strict";e.r(i);var G=e("miYZ"),A=e("tsqr"),B=e("WmNS"),l=e.n(B),$=e("/zsF"),j=e("PArb"),V=e("+L6B"),d=e("2/Rp"),P=e("9og8"),m=e("tJVT"),F=e("PpiC"),Y=e("5NDa"),T=e("5rEg"),o=e("q1tI"),t=e.n(o),L=e("9kvl"),W=e("9ryg"),s=e.n(W),D=e("ErOA"),I=T.a.TextArea,x=function(n){var g=n.user,y=n.account,O=n.globalSetting,Z=n.loading,Q=n.dispatch,X=Object(F.a)(n,["user","account","globalSetting","loading","dispatch"]),K=Object(o.useState)(),f=Object(m.a)(K,2),C=f[0],S=f[1],w=Object(o.useState)(),U=Object(m.a)(w,2),c=U[0],v=U[1],H=Object(o.useState)(!1),R=Object(m.a)(H,2),N=R[0],E=R[1];Object(o.useEffect)(function(){M()},[]);function M(){return p.apply(this,arguments)}function p(){return p=Object(P.a)(l.a.mark(function u(){var a;return l.a.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,Object(D.a)("/api/users/honor.json",{method:"get"});case 2:a=_.sent,a&&(S(a==null?void 0:a.honor),v(a==null?void 0:a.honor));case 4:case"end":return _.stop()}},u)})),p.apply(this,arguments)}function z(){return h.apply(this,arguments)}function h(){return h=Object(P.a)(l.a.mark(function u(){var a;return l.a.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(c){_.next=3;break}return A.b.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),_.abrupt("return");case 3:return _.next=5,Object(D.a)("/api/users/brief_introduction.json",{method:"post",body:{honor:c}});case 5:a=_.sent,a&&(M(),E(!1));case 7:case"end":return _.stop()}},u)})),h.apply(this,arguments)}return t.a.createElement("section",{className:s.a.wrap},t.a.createElement("div",{className:s.a.content},t.a.createElement("div",{className:"".concat(s.a.titleWrap," mt10")},t.a.createElement("div",{className:s.a.title,style:{width:"100%",display:"flex"}},t.a.createElement("span",{style:{flex:"1"}},t.a.createElement("span",null,"\u6210\u679C\u8363\u8A89"),t.a.createElement("span",{style:{fontSize:"14px",color:"#888888"}},"\uFF08\u6559\u5E08\u53EF\u4EE5\u5728\u8FD9\u91CC\u7F16\u64B0\u81EA\u5DF1\u7684\u6559\u7814\u6210\u679C\u3001\u8363\u8A89\u79F0\u53F7\uFF0C\u8FD9\u4E9B\u4FE1\u606F\u5C06\u5728\u8BFE\u7A0B\u4E2D\u5C55\u793A\uFF09")),t.a.createElement(d.a,{onClick:function(){return E(!0)}},"\u7F16\u8F91"))),t.a.createElement(j.a,null),N?t.a.createElement("div",null,t.a.createElement(I,{value:c,onChange:function(a){return v(a.target.value)},placeholder:"\u8BF7\u7F16\u64B0\u4E0D\u8D85\u8FC7300\u5B57\u7684\u6210\u679C\u3001\u8363\u8A89\u4ECB\u7ECD",maxLength:300}),t.a.createElement(d.a,{type:"primary",style:{marginRight:"10px",marginTop:"10px"},onClick:function(){return z()}},"\u786E\u8BA4"),t.a.createElement(d.a,{style:{marginTop:"10px"},onClick:function(){return E(!1)}},"\u53D6\u6D88")):C||"\u60A8\u5C1A\u672A\u7F16\u64B0\u81EA\u5DF1\u7684\u6559\u7814\u6210\u679C\u548C\u8363\u8A89\u79F0\u53F7\u54E6~"),t.a.createElement("div",{className:"".concat(s.a.hint," font14")},"* \u6211\u4EEC\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732"))};i.default=Object(L.a)(function(r){var n=r.user,g=r.account,y=r.loading,O=r.globalSetting;return{user:n,account:g,globalSetting:O,loading:y.models.index}})(x)}}]);
|
||||
@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{y3wM:function(d,t,e){"use strict";e.r(t);var r=e("0Owb"),n=e("q1tI"),s=e.n(n),a=e("m3rI");t.default=function(_){var o=Object(r.a)({},_);return Object(n.useEffect)(function(){window.location.href=a.a.API_SERVER+o.location.pathname+o.location.search},[o.location.pathname]),s.a.createElement("div",null)}}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{y3wM:function(l,t,e){"use strict";e.r(t);var s=e("0Owb"),n=e("q1tI"),r=e.n(n),a=e("m3rI");t.default=function(_){var o=Object(s.a)({},_);return Object(n.useEffect)(function(){window.location.href=a.a.API_SERVER+o.location.pathname+o.location.search},[o.location.pathname]),r.a.createElement("div",null)}}}]);
|
||||
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
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
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
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
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
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
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
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
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 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[89,15],{jlxL:function(p,m,e){p.exports={flex_box_center:"flex_box_center___9uBLs",flex_space_between:"flex_space_between___3fCBt",flex_box_vertical_center:"flex_box_vertical_center___1d5cl",flex_box_center_end:"flex_box_center_end___3gawU",flex_box_column:"flex_box_column___1ZgMe",bg:"bg___1ncI1",title:"title___kB2kU",titleLeft:"titleLeft___3NtYl",titleRight:"titleRight___TNVAa"}},pFvy:function(p,m,e){"use strict";e.r(m);var S=e("+L6B"),h=e("2/Rp"),R=e("WmNS"),D=e.n(R),U=e("k1fw"),v=e("9og8"),z=e("5NDa"),b=e("5rEg"),J=e("14J3"),L=e("BMrR"),$=e("jCWc"),f=e("kPKH"),V=e("sPJy"),r=e("bE4q"),G=e("y8nQ"),o=e("Vl3Y"),B=e("tJVT"),I=e("q1tI"),_=e.n(I),x=e("Ty5D"),d=e("55Ip"),g=e("9kvl"),A=e("tgas"),C=e("jlxL"),y=e.n(C),T=e("1vsH"),W=function(t){var l,O=t.classroomList,M=t.globalSetting,H=t.loading,K=t.user,Y=t.dispatch,u=Object(x.m)(),n=K.userInfo,j=o.a.useForm(),F=Object(B.a)(j,1),i=F[0];return _.a.createElement("section",{className:"edu-container"},_.a.createElement("section",{className:"animated fadeIn"},_.a.createElement("aside",{className:"mt10"},n&&_.a.createElement(r.a,{separator:">"},_.a.createElement(r.a.Item,null,_.a.createElement(d.Link,{to:"".concat(n.first_category_url)},n==null||((l=n.course)===null||l===void 0)?void 0:l.course_name)),_.a.createElement(r.a.Item,null,_.a.createElement(d.Link,{to:"/classrooms/".concat(u.coursesId,"/poll")},"\u95EE\u5377\u5217\u8868")),_.a.createElement(r.a.Item,null,"\u65B0\u5EFA\u95EE\u5377"))),_.a.createElement("aside",{className:[y.a.title,"mt20"].join(" ")},_.a.createElement(L.a,{style:{width:"100%"}},_.a.createElement(f.a,{flex:"1"},_.a.createElement("strong",{className:"font20 ml5"},"\u65B0\u5EFA\u95EE\u5377")),_.a.createElement(f.a,null,_.a.createElement(d.Link,{className:"font16 c-light-black",to:"/classrooms/".concat(u.coursesId,"/poll")},"\u8FD4\u56DE"))))),_.a.createElement("section",{className:[y.a.bg,"pt30","pl30","pr30","pb30","mt20"].join(" ")},_.a.createElement(o.a,{layout:"vertical",form:i},_.a.createElement(o.a.Item,{name:"polls_name",label:"\u95EE\u5377\u6807\u9898\uFF1A",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u95EE\u5377\u6807\u9898"}]},_.a.createElement(b.a,{maxLength:60,placeholder:"\u95EE\u5377\u6807\u9898\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26"})),_.a.createElement(o.a.Item,{label:"\u95EE\u5377\u987B\u77E5\uFF1A",name:"polls_description"},_.a.createElement(b.a.TextArea,{rows:6,maxLength:100,placeholder:"\u8BF7\u5728\u6B64\u8F93\u5165\u672C\u6B21\u95EE\u5377\u7B54\u9898\u7684\u76F8\u5173\u8BF4\u660E\uFF0C\u6700\u5927\u9650\u5236100\u4E2A\u5B57\u7B26"})),_.a.createElement(o.a.Item,{className:"tr"},_.a.createElement(h.a,{type:"primary",onClick:Object(v.a)(D.a.mark(function N(){var E,c,P;return D.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,i.validateFields();case 2:return E=i.getFieldValue(),E.is_md=!0,a.next=6,Object(A.d)(Object(U.a)(Object(U.a)({},E),u));case 6:c=a.sent,c.status===0&&(Object(T.T)(["\u6559\u5B66\u8BFE\u5802","\u95EE\u5377","\u65B0\u5EFA\u95EE\u5377"]),g.c.push("/classrooms/".concat(u.coursesId,"/poll/").concat((P=c.data)===null||P===void 0?void 0:P.id,"/edit")));case 8:case"end":return a.stop()}},N)}))},"\u4FDD\u5B58")))))};m.default=Object(g.a)(function(s){var t=s.classroomList,l=s.loading,O=s.user,M=s.globalSetting;return{classroomList:t,globalSetting:M,user:O,loading:l.effects}})(W)}}]);
|
||||
@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[89,15],{jlxL:function(P,m,e){P.exports={flex_box_center:"flex_box_center___9uBLs",flex_space_between:"flex_space_between___3fCBt",flex_box_vertical_center:"flex_box_vertical_center___1d5cl",flex_box_center_end:"flex_box_center_end___3gawU",flex_box_column:"flex_box_column___1ZgMe",bg:"bg___1ncI1",title:"title___kB2kU",titleLeft:"titleLeft___3NtYl",titleRight:"titleRight___TNVAa"}},pFvy:function(P,m,e){"use strict";e.r(m);var S=e("+L6B"),R=e("2/Rp"),v=e("WmNS"),b=e.n(v),D=e("k1fw"),L=e("9og8"),J=e("5NDa"),U=e("5rEg"),$=e("14J3"),g=e("BMrR"),V=e("jCWc"),f=e("kPKH"),G=e("sPJy"),r=e("bE4q"),H=e("y8nQ"),s=e("Vl3Y"),B=e("tJVT"),I=e("q1tI"),t=e.n(I),x=e("Ty5D"),d=e("55Ip"),y=e("9kvl"),A=e("tgas"),C=e("jlxL"),O=e.n(C),T=e("1vsH"),j=function(_){var l,M=_.classroomList,h=_.globalSetting,Y=_.loading,W=_.user,Q=_.dispatch,u=Object(x.m)(),n=W.userInfo,K=s.a.useForm(),F=Object(B.a)(K,1),E=F[0];return t.a.createElement("section",{className:"edu-container"},t.a.createElement("section",{className:"animated fadeIn"},t.a.createElement("aside",{className:"mt10"},n&&t.a.createElement(r.a,{separator:">"},t.a.createElement(r.a.Item,null,t.a.createElement(d.Link,{to:"".concat(n.first_category_url)},n==null||((l=n.course)===null||l===void 0)?void 0:l.course_name)),t.a.createElement(r.a.Item,null,t.a.createElement(d.Link,{to:"/classrooms/".concat(u.coursesId,"/poll")},"\u95EE\u5377\u5217\u8868")),t.a.createElement(r.a.Item,null,"\u65B0\u5EFA\u95EE\u5377"))),t.a.createElement("aside",{className:[O.a.title,"mt20"].join(" ")},t.a.createElement(g.a,{style:{width:"100%"}},t.a.createElement(f.a,{flex:"1"},t.a.createElement("strong",{className:"font20 ml5"},"\u65B0\u5EFA\u95EE\u5377")),t.a.createElement(f.a,null,t.a.createElement(d.Link,{className:"font16 c-light-black",to:"/classrooms/".concat(u.coursesId,"/poll")},"\u8FD4\u56DE"))))),t.a.createElement("section",{className:[O.a.bg,"pt30","pl30","pr30","pb30","mt20"].join(" ")},t.a.createElement(s.a,{layout:"vertical",form:E},t.a.createElement(s.a.Item,{name:"polls_name",label:"\u95EE\u5377\u6807\u9898\uFF1A",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u95EE\u5377\u6807\u9898"}]},t.a.createElement(U.a,{maxLength:60,placeholder:"\u95EE\u5377\u6807\u9898\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26"})),t.a.createElement(s.a.Item,{label:"\u95EE\u5377\u987B\u77E5\uFF1A",name:"polls_description"},t.a.createElement(U.a.TextArea,{rows:6,maxLength:100,placeholder:"\u8BF7\u5728\u6B64\u8F93\u5165\u672C\u6B21\u95EE\u5377\u7B54\u9898\u7684\u76F8\u5173\u8BF4\u660E\uFF0C\u6700\u5927\u9650\u5236100\u4E2A\u5B57\u7B26"})),t.a.createElement(s.a.Item,{className:"tr"},t.a.createElement(R.a,{type:"primary",onClick:Object(L.a)(b.a.mark(function N(){var i,c,p;return b.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,E.validateFields();case 2:return i=E.getFieldValue(),i.is_md=!0,a.next=6,Object(A.d)(Object(D.a)(Object(D.a)({},i),u));case 6:c=a.sent,c.status===0&&(Object(T.T)(["\u6559\u5B66\u8BFE\u5802","\u95EE\u5377","\u65B0\u5EFA\u95EE\u5377"]),y.c.push("/classrooms/".concat(u.coursesId,"/poll/").concat((p=c.data)===null||p===void 0?void 0:p.id,"/edit")));case 8:case"end":return a.stop()}},N)}))},"\u4FDD\u5B58")))))};m.default=Object(y.a)(function(o){var _=o.classroomList,l=o.loading,M=o.user,h=o.globalSetting;return{classroomList:_,globalSetting:h,user:M,loading:l.effects}})(j)}}]);
|
||||
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
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
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(b,p,t){"use strict";t.r(p);var w=t("DjyN"),M=t("NUBc"),J=t("g9YV"),x=t("wCAj"),z=t("14J3"),v=t("BMrR"),H=t("jCWc"),l=t("kPKH"),i=t("k1fw"),g=t("tJVT"),r=t("q1tI"),e=t.n(r),U=t("1vsH"),R=t("Ty5D"),S=t("9kvl"),C=t("5bA4"),B=t("cdMw"),u=t.n(B),j=function(s){var d,m=s.video,X=s.globalSetting,A=s.loading,O=s.dispatch,I=Object(r.useState)(Object(i.a)({},Object(R.m)())),y=Object(g.a)(I,2),_=y[0],Q=y[1],L=Object(R.l)(),W=Object(r.useState)({}),h=Object(g.a)(W,2),E=h[0],T=h[1],F=Object(r.useState)(""),D=Object(g.a)(F,2),Y=D[0],K=D[1],P=m.StudentvideoStatistics,f=m.videoStatistics;_.category=L.query.category_id,Object(r.useEffect)(function(){O({type:"video/getStudentVideoStatisticsList",payload:Object(i.a)({},_)}),O({type:"video/getVideoStatistics",payload:Object(i.a)({},_)})},[_.coursesId]);var N=[{title:"\u5E8F\u53F7",dataIndex:"name",render:function(n,V,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(U.S)(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(v.a,{justify:"space-between",className:"mt10 mb20"},e.a.createElement(l.a,{span:"16"},e.a.createElement(C.a,{className:"current mr10 font16",onClick:function(){return S.c.goBack()}}),e.a.createElement("strong",{className:"font16"},"\u89C6\u9891\u7EDF\u8BA1\u603B\u89C8")),e.a.createElement(l.a,{span:"8",className:"c-light-black tr"},"\u64AD\u653E\u6570\u636E\u4ECE ",f.begin_at," \u5F00\u59CB\u7EDF\u8BA1")),e.a.createElement(v.a,{justify:"space-between",className:u.a.statistics},e.a.createElement(l.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(l.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(l.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(U.S)(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(x.a,{className:"mt20",loading:A["video/getStudentVideoStatisticsList"],hideOnSinglePage:!0,pagination:!1,dataSource:P==null?void 0:P.data,columns:N,onChange:function(n,V,a){if(E={},a.order===void 0){E[a.field]="descend";switch(a.field){case"student_id":K("descend"),_.order=a.field+"-desc";break}}else _.order=a.field+"-"+a.order.replace("end",""),E[a.field]=a.order;T(Object(i.a)({},E)),O({type:"video/getVideoStatisticsList",payload:Object(i.a)({},_)})}})),e.a.createElement("aside",{className:"tc mb50 mt30"},e.a.createElement(M.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})))};p.default=Object(S.a)(function(c){var s=c.video,d=c.loading,m=c.globalSetting;return{video:s,globalSetting:m,loading:d.effects}})(j)},cdMw:function(b,p,t){b.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(g,f,t){"use strict";t.r(f);var w=t("DjyN"),M=t("NUBc"),J=t("g9YV"),x=t("wCAj"),z=t("14J3"),v=t("BMrR"),H=t("jCWc"),l=t("kPKH"),r=t("k1fw"),b=t("tJVT"),i=t("q1tI"),e=t.n(i),U=t("1vsH"),R=t("Ty5D"),S=t("9kvl"),C=t("5bA4"),B=t("cdMw"),u=t.n(B),j=function(s){var d,m=s.video,X=s.globalSetting,A=s.loading,O=s.dispatch,I=Object(i.useState)(Object(r.a)({},Object(R.m)())),y=Object(b.a)(I,2),_=y[0],Q=y[1],L=Object(R.l)(),W=Object(i.useState)({}),h=Object(b.a)(W,2),E=h[0],T=h[1],F=Object(i.useState)(""),D=Object(b.a)(F,2),Y=D[0],K=D[1],P=m.StudentvideoStatistics,p=m.videoStatistics;_.category=L.query.category_id,Object(i.useEffect)(function(){O({type:"video/getStudentVideoStatisticsList",payload:Object(r.a)({},_)}),O({type:"video/getVideoStatistics",payload:Object(r.a)({},_)})},[_.coursesId]);var N=[{title:"\u5E8F\u53F7",dataIndex:"name",render:function(n,V,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(U.S)(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(v.a,{justify:"space-between",className:"mt10 mb20"},e.a.createElement(l.a,{span:"16"},e.a.createElement(C.a,{className:"current mr10 font16",onClick:function(){return S.c.goBack()}}),e.a.createElement("strong",{className:"font16"},"\u89C6\u9891\u7EDF\u8BA1\u603B\u89C8")),e.a.createElement(l.a,{span:"8",className:"c-light-black tr"},"\u64AD\u653E\u6570\u636E\u4ECE ",p.begin_at," \u5F00\u59CB\u7EDF\u8BA1")),e.a.createElement(v.a,{justify:"space-between",className:u.a.statistics},e.a.createElement(l.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,p.freq)),e.a.createElement(l.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,p.num)),e.a.createElement(l.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(U.S)(p.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(x.a,{className:"mt20",loading:A["video/getStudentVideoStatisticsList"],hideOnSinglePage:!0,pagination:!1,dataSource:P==null?void 0:P.data,columns:N,onChange:function(n,V,a){if(E={},a.order===void 0){E[a.field]="descend";switch(a.field){case"student_id":K("descend"),_.order=a.field+"-desc";break}}else _.order=a.field+"-"+a.order.replace("end",""),E[a.field]=a.order;T(Object(r.a)({},E)),O({type:"video/getVideoStatisticsList",payload:Object(r.a)({},_)})}})),e.a.createElement("aside",{className:"tc mb50 mt30"},e.a.createElement(M.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})))};f.default=Object(S.a)(function(c){var s=c.video,d=c.loading,m=c.globalSetting;return{video:s,globalSetting:m,loading:d.effects}})(j)},cdMw:function(g,f,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"}}}]);
|
||||
@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[112],{"/Fp4":function(v,g,t){v.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(v,g,t){"use strict";t.r(g);var z=t("DjyN"),C=t("NUBc"),H=t("g9YV"),S=t("wCAj"),J=t("14J3"),U=t("BMrR"),G=t("jCWc"),c=t("kPKH"),i=t("k1fw"),O=t("tJVT"),m=t("q1tI"),e=t.n(m),b=t("1vsH"),h=t("Ty5D"),B=t("55Ip"),y=t("9kvl"),I=t("5bA4"),j=t("/Fp4"),r=t.n(j),L=function(d){var p=d.video,R=d.globalSetting,A=d.loading,P=d.dispatch,T=Object(m.useState)(Object(i.a)({},Object(h.m)())),D=Object(O.a)(T,2),_=D[0],Q=D[1],F=Object(h.l)(),W=Object(m.useState)({}),M=Object(O.a)(W,2),u=M[0],K=M[1],N=Object(m.useState)(""),x=Object(O.a)(N,2),Y=x[0],w=x[1],f=p.videoStatisticsList,s=p.videoStatistics;_.category=F.query.category_id,Object(m.useEffect)(function(){P({type:"video/getVideoStatisticsList",payload:Object(i.a)({},_)}),P({type:"video/getVideoStatistics",payload:Object(i.a)(Object(i.a)({},_),{},{all:!0})})},[_.coursesId]);var V=[{title:"\u5E8F\u53F7",dataIndex:"name",render:function(a,l,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,l){return a.people_num-l.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,l){return a.total_time-l.total_time},render:function(a){return e.a.createElement("span",null,a?Object(b.S)(a):"--")}},{title:"\u53D1\u5E03\u4EBA",dataIndex:"user_name"},{title:"\u64CD\u4F5C",dataInex:"action",render:function(a,l){return e.a.createElement("div",null,e.a.createElement(B.Link,{to:"/classrooms/".concat(_.coursesId,"/video/").concat(_.categoryId,"/statistics/").concat(l.id),className:"c-blue"},"\u8BE6\u60C5"))}}];return e.a.createElement("section",{className:r.a.bg},e.a.createElement("aside",{className:r.a.statisticsWrp},e.a.createElement(U.a,{justify:"space-between",className:"mt10 mb20"},e.a.createElement(c.a,{span:"16"},e.a.createElement(I.a,{className:"current mr10 font16",onClick:function(){return y.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 ",s.begin_at," \u5F00\u59CB\u7EDF\u8BA1")),e.a.createElement(U.a,{justify:"space-between",className:r.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:s.num,className:r.a.divwidth},s.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:s.freq,className:r.a.divwidth},s.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:s.total_duration?Object(b.S)(s.total_duration):"--",className:r.a.divwidth},s.total_duration?Object(b.S)(s.total_duration):"--")))),e.a.createElement("aside",{className:r.a.infoWrp},e.a.createElement("div",null,e.a.createElement("strong",{className:"font16"},"\u7EDF\u8BA1\u5217\u8868")),e.a.createElement(S.a,{className:"mt20",loading:A["video/getVideoStatisticsList"],hideOnSinglePage:!0,pagination:!1,dataSource:f.videos,columns:V,onChange:function(a,l,n){if(u={},n.order===void 0){u[n.field]="descend";switch(n.field){case"student_id":w("descend"),_.order=n.field+"-desc";break}}else _.order=n.field+"-"+n.order.replace("end",""),u[n.field]=n.order;K(Object(i.a)({},u)),P({type:"video/getVideoStatisticsList",payload:Object(i.a)({},_)})}})),e.a.createElement("aside",{className:"tc mb50 mt30"},e.a.createElement(C.a,{showSizeChanger:!1,onChange:function(a){_.page=a,P({type:"video/getVideoStatisticsList",payload:Object(i.a)({},_)})},defaultCurrent:1,current:_.page||1,pageSize:20,hideOnSinglePage:!0,total:f==null?void 0:f.count})))};g.default=Object(y.a)(function(E){var d=E.video,p=E.loading,R=E.globalSetting;return{video:d,globalSetting:R,loading:p.effects}})(L)}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[112],{"/Fp4":function(v,O,t){v.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(v,O,t){"use strict";t.r(O);var H=t("DjyN"),C=t("NUBc"),J=t("g9YV"),S=t("wCAj"),z=t("14J3"),U=t("BMrR"),G=t("jCWc"),c=t("kPKH"),i=t("k1fw"),b=t("tJVT"),m=t("q1tI"),e=t.n(m),g=t("1vsH"),h=t("Ty5D"),B=t("55Ip"),y=t("9kvl"),I=t("5bA4"),j=t("/Fp4"),l=t.n(j),L=function(d){var p=d.video,R=d.globalSetting,A=d.loading,P=d.dispatch,T=Object(m.useState)(Object(i.a)({},Object(h.m)())),D=Object(b.a)(T,2),_=D[0],Q=D[1],F=Object(h.l)(),W=Object(m.useState)({}),M=Object(b.a)(W,2),u=M[0],K=M[1],N=Object(m.useState)(""),x=Object(b.a)(N,2),Y=x[0],w=x[1],f=p.videoStatisticsList,s=p.videoStatistics;_.category=F.query.category_id,Object(m.useEffect)(function(){P({type:"video/getVideoStatisticsList",payload:Object(i.a)({},_)}),P({type:"video/getVideoStatistics",payload:Object(i.a)(Object(i.a)({},_),{},{all:!0})})},[_.coursesId]);var V=[{title:"\u5E8F\u53F7",dataIndex:"name",render:function(a,r,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,r){return a.people_num-r.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,r){return a.total_time-r.total_time},render:function(a){return e.a.createElement("span",null,a?Object(g.S)(a):"--")}},{title:"\u53D1\u5E03\u4EBA",dataIndex:"user_name"},{title:"\u64CD\u4F5C",dataInex:"action",render:function(a,r){return e.a.createElement("div",null,e.a.createElement(B.Link,{to:"/classrooms/".concat(_.coursesId,"/video/").concat(_.categoryId,"/statistics/").concat(r.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(U.a,{justify:"space-between",className:"mt10 mb20"},e.a.createElement(c.a,{span:"16"},e.a.createElement(I.a,{className:"current mr10 font16",onClick:function(){return y.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 ",s.begin_at," \u5F00\u59CB\u7EDF\u8BA1")),e.a.createElement(U.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:s.num,className:l.a.divwidth},s.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:s.freq,className:l.a.divwidth},s.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:s.total_duration?Object(g.S)(s.total_duration):"--",className:l.a.divwidth},s.total_duration?Object(g.S)(s.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(S.a,{className:"mt20",loading:A["video/getVideoStatisticsList"],hideOnSinglePage:!0,pagination:!1,dataSource:f.videos,columns:V,onChange:function(a,r,n){if(u={},n.order===void 0){u[n.field]="descend";switch(n.field){case"student_id":w("descend"),_.order=n.field+"-desc";break}}else _.order=n.field+"-"+n.order.replace("end",""),u[n.field]=n.order;K(Object(i.a)({},u)),P({type:"video/getVideoStatisticsList",payload:Object(i.a)({},_)})}})),e.a.createElement("aside",{className:"tc mb50 mt30"},e.a.createElement(C.a,{showSizeChanger:!1,onChange:function(a){_.page=a,P({type:"video/getVideoStatisticsList",payload:Object(i.a)({},_)})},defaultCurrent:1,current:_.page||1,pageSize:20,hideOnSinglePage:!0,total:f==null?void 0:f.count})))};O.default=Object(y.a)(function(E){var d=E.video,p=E.loading,R=E.globalSetting;return{video:d,globalSetting:R,loading:p.effects}})(L)}}]);
|
||||
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
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue