dev_local_xiangongyedaxue
dingyongkang 4 years ago
parent 1e50adc9d8
commit 049a7999e8

BIN
.DS_Store vendored

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -62,19 +62,19 @@
window.routerBase = "/";
</script>
<script>
//! umi version: 3.2.17
//! umi version: 3.3.12
</script>
</head>
<body>
<div style="position: absolute; top: -2000px;">
<div style="position: absolute; top: -2000px">
<img
src="https://ali-cdn.educoder.net/images/avatars/LaboratorySetting/1nav?t=1609921874"
title="头歌"
/>
</div>
<div id="root"></div>
<div style="display: none;">
<div style="display: none">
<script
type="text/javascript"
src="https://v1.cnzz.com/z_stat.php?id=1279928836&web_id=1279928836"
@ -93,6 +93,6 @@
gtag('config', 'UA-198293321-1');
</script> -->
<script src="/react/build/umi.da8f2a3f.js"></script>
<script src="/react/build/umi.e3927b5a.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

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{"4w5S":function(E,o,a){"use strict";a.r(o);var h=a("y8nQ"),_=a("Vl3Y"),y=a("+L6B"),m=a("2/Rp"),c=a("SIvP"),s=a("q1tI"),e=a.n(s),d=a("9kvl"),v=a("vjIP"),l=a.n(v),P=a("Z3SC"),p=a("1vsH"),D=function(u){var i=u.account,r=u.globalSetting,F=u.loading,C=u.dispatch,R=Object(c.a)(u,["account","globalSetting","loading","dispatch"]),t=i.basicInfo;return e.a.createElement("section",{className:l.a.wrap},e.a.createElement("div",{className:l.a.content},e.a.createElement("div",{className:l.a.titleWrap},e.a.createElement("div",{className:l.a.title},"\u57FA\u672C\u4FE1\u606F"),e.a.createElement(m.a,{type:"primary",ghost:!0,onClick:function(){localStorage.getItem("Noviceguide")==="0"||C({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:2,href:"/account/profile/edit",text:e.a.createElement("div",null,"\u8BF7\u60A8\u5B8C\u5584\u4E00\u4E0B\u5E73\u53F0\u7684\u57FA\u672C\u4FE1\u606F\uFF0C\u5305\u62EC\uFF1A\u6635\u79F0\u3001\u804C\u4E1A\u3001\u5B66\u6821/\u5355\u4F4D\uFF0C \u70B9\u51FB\u4FDD\u5B58")}}),d.c.push("/account/profile/edit")}},"\u4FEE\u6539")),e.a.createElement(_.a,{className:l.a.formWrap,labelCol:{span:3},wrapperCol:{span:21},layout:"horizontal"},e.a.createElement(_.a.Item,{label:"\u59D3\u540D"},(t==null?void 0:t.show_realname)==!0?t==null?void 0:t.name:Object(p.y)(t==null?void 0:t.name)),e.a.createElement(_.a.Item,{label:"\u804C\u4E1A"},P.identityMap[t==null?void 0:t.identity],"\u3000",(t==null?void 0:t.technical_title)||(t==null?void 0:t.student_id)),e.a.createElement(_.a.Item,{label:"\u5B66\u6821/\u5355\u4F4D"},t==null?void 0:t.school_name),e.a.createElement(_.a.Item,{label:"\u9662\u7CFB/\u90E8\u95E8"},t==null?void 0:t.department_name),e.a.createElement(_.a.Item,{label:"\u6635\u79F0"},t==null?void 0:t.nickname),e.a.createElement(_.a.Item,{label:"\u6027\u522B"},(t==null?void 0:t.gender)==0?"\u7537":"\u5973"),e.a.createElement(_.a.Item,{label:"\u5165\u5B66\u5E74\u4EFD"},t==null?void 0:t.edu_entry_year),e.a.createElement(_.a.Item,{label:"\u6700\u9AD8\u5B66\u5386"},t==null?void 0:t.edu_background),e.a.createElement(_.a.Item,{label:"\u7B80\u4ECB"},t==null?void 0:t.brief_introduction))),e.a.createElement("div",{className:"".concat(l.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"))};o.default=Object(d.a)(function(n){var u=n.account,i=n.loading,r=n.globalSetting;return{account:u,globalSetting:r,loading:i.models.index}})(D)},vjIP:function(E,o,a){E.exports={wrap:"wrap___1ZoME",content:"content___2ISmw",hint:"hint___1VSGa",title:"title___3mBb8",titleWrap:"titleWrap___1YH9W",formWrap:"formWrap___3ynAf"}}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{"4w5S":function(E,o,a){"use strict";a.r(o);var h=a("y8nQ"),_=a("Vl3Y"),y=a("+L6B"),r=a("2/Rp"),c=a("PpiC"),s=a("q1tI"),e=a.n(s),d=a("9kvl"),v=a("vjIP"),l=a.n(v),P=a("Z3SC"),p=a("1vsH"),D=function(u){var i=u.account,m=u.globalSetting,F=u.loading,C=u.dispatch,R=Object(c.a)(u,["account","globalSetting","loading","dispatch"]),t=i.basicInfo;return e.a.createElement("section",{className:l.a.wrap},e.a.createElement("div",{className:l.a.content},e.a.createElement("div",{className:l.a.titleWrap},e.a.createElement("div",{className:l.a.title},"\u57FA\u672C\u4FE1\u606F"),e.a.createElement(r.a,{type:"primary",ghost:!0,onClick:function(){localStorage.getItem("Noviceguide")==="0"||C({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:2,href:"/account/profile/edit",text:e.a.createElement("div",null,"\u8BF7\u60A8\u5B8C\u5584\u4E00\u4E0B\u5E73\u53F0\u7684\u57FA\u672C\u4FE1\u606F\uFF0C\u5305\u62EC\uFF1A\u6635\u79F0\u3001\u804C\u4E1A\u3001\u5B66\u6821/\u5355\u4F4D\uFF0C \u70B9\u51FB\u4FDD\u5B58")}}),d.c.push("/account/profile/edit")}},"\u4FEE\u6539")),e.a.createElement(_.a,{className:l.a.formWrap,labelCol:{span:3},wrapperCol:{span:21},layout:"horizontal"},e.a.createElement(_.a.Item,{label:"\u59D3\u540D"},(t==null?void 0:t.show_realname)==!0?t==null?void 0:t.name:Object(p.y)(t==null?void 0:t.name)),e.a.createElement(_.a.Item,{label:"\u804C\u4E1A"},P.identityMap[t==null?void 0:t.identity],"\u3000",(t==null?void 0:t.technical_title)||(t==null?void 0:t.student_id)),e.a.createElement(_.a.Item,{label:"\u5B66\u6821/\u5355\u4F4D"},t==null?void 0:t.school_name),e.a.createElement(_.a.Item,{label:"\u9662\u7CFB/\u90E8\u95E8"},t==null?void 0:t.department_name),e.a.createElement(_.a.Item,{label:"\u6635\u79F0"},t==null?void 0:t.nickname),e.a.createElement(_.a.Item,{label:"\u6027\u522B"},(t==null?void 0:t.gender)==0?"\u7537":"\u5973"),e.a.createElement(_.a.Item,{label:"\u5165\u5B66\u5E74\u4EFD"},t==null?void 0:t.edu_entry_year),e.a.createElement(_.a.Item,{label:"\u6700\u9AD8\u5B66\u5386"},t==null?void 0:t.edu_background),e.a.createElement(_.a.Item,{label:"\u7B80\u4ECB"},t==null?void 0:t.brief_introduction))),e.a.createElement("div",{className:"".concat(l.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"))};o.default=Object(d.a)(function(n){var u=n.account,i=n.loading,m=n.globalSetting;return{account:u,globalSetting:m,loading:i.models.index}})(D)},vjIP:function(E,o,a){E.exports={wrap:"wrap___1ZoME",content:"content___2ISmw",hint:"hint___1VSGa",title:"title___3mBb8",titleWrap:"titleWrap___1YH9W",formWrap:"formWrap___3ynAf"}}}]);

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[35],{"9ryg":function(D,i,e){D.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(D,i,e){"use strict";e.r(i);var G=e("miYZ"),B=e("tsqr"),F=e("c1Ei"),l=e.n(F),J=e("/zsF"),b=e("PArb"),$=e("+L6B"),d=e("2/Rp"),P=e("5Tp6"),E=e("k16G"),T=e("SIvP"),Y=e("5NDa"),L=e("5rEg"),o=e("q1tI"),t=e.n(o),I=e("9kvl"),W=e("9ryg"),r=e.n(W),h=e("ErOA"),j=L.a.TextArea,K=function(n){var O=n.user,U=n.account,y=n.globalSetting,Z=n.loading,Q=n.dispatch,V=Object(T.a)(n,["user","account","globalSetting","loading","dispatch"]),S=Object(o.useState)(),f=Object(E.a)(S,2),v=f[0],x=f[1],z=Object(o.useState)(),C=Object(E.a)(z,2),m=C[0],R=C[1],H=Object(o.useState)(!1),M=Object(E.a)(H,2),w=M[0],c=M[1];Object(o.useEffect)(function(){A()},[]);function A(){return p.apply(this,arguments)}function p(){return p=Object(P.a)(l.a.mark(function u(){var _;return l.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,Object(h.a)("/api/users/honor.json",{method:"get"});case 2:_=a.sent,_&&(x(_==null?void 0:_.honor),R(_==null?void 0:_.honor));case 4:case"end":return a.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 _;return l.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(m){a.next=3;break}return B.b.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),a.abrupt("return");case 3:return a.next=5,Object(h.a)("/api/users/brief_introduction.json",{method:"post",body:{honor:m}});case 5:_=a.sent,_&&(A(),c(!1));case 7:case"end":return a.stop()}},u)})),g.apply(this,arguments)}return t.a.createElement("section",{className:r.a.wrap},t.a.createElement("div",{className:r.a.content},t.a.createElement("div",{className:"".concat(r.a.titleWrap," mt10")},t.a.createElement("div",{className:r.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 c(!0)}},"\u7F16\u8F91"))),t.a.createElement(b.a,null),w?t.a.createElement("div",null,t.a.createElement(j,{value:m,onChange:function(_){return R(_.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 c(!1)}},"\u53D6\u6D88")):v||"\u60A8\u5C1A\u672A\u7F16\u64B0\u81EA\u5DF1\u7684\u6559\u7814\u6210\u679C\u548C\u8363\u8A89\u79F0\u53F7\u54E6~"),t.a.createElement("div",{className:"".concat(r.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(I.a)(function(s){var n=s.user,O=s.account,U=s.loading,y=s.globalSetting;return{user:n,account:O,globalSetting:y,loading:U.models.index}})(K)}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[35],{"9ryg":function(D,i,e){D.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(D,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"),m=e("2/Rp"),P=e("9og8"),E=e("tJVT"),T=e("PpiC"),V=e("5NDa"),L=e("5rEg"),o=e("q1tI"),t=e.n(o),W=e("9kvl"),I=e("9ryg"),r=e.n(I),h=e("ErOA"),j=L.a.TextArea,K=function(n){var O=n.user,U=n.account,y=n.globalSetting,Y=n.loading,Z=n.dispatch,Q=Object(T.a)(n,["user","account","globalSetting","loading","dispatch"]),S=Object(o.useState)(),f=Object(E.a)(S,2),C=f[0],x=f[1],z=Object(o.useState)(),v=Object(E.a)(z,2),d=v[0],R=v[1],H=Object(o.useState)(!1),M=Object(E.a)(H,2),N=M[0],c=M[1];Object(o.useEffect)(function(){b()},[]);function b(){return p.apply(this,arguments)}function p(){return p=Object(P.a)(l.a.mark(function u(){var _;return l.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,Object(h.a)("/api/users/honor.json",{method:"get"});case 2:_=a.sent,_&&(x(_==null?void 0:_.honor),R(_==null?void 0:_.honor));case 4:case"end":return a.stop()}},u)})),p.apply(this,arguments)}function w(){return g.apply(this,arguments)}function g(){return g=Object(P.a)(l.a.mark(function u(){var _;return l.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(d){a.next=3;break}return A.b.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),a.abrupt("return");case 3:return a.next=5,Object(h.a)("/api/users/brief_introduction.json",{method:"post",body:{honor:d}});case 5:_=a.sent,_&&(b(),c(!1));case 7:case"end":return a.stop()}},u)})),g.apply(this,arguments)}return t.a.createElement("section",{className:r.a.wrap},t.a.createElement("div",{className:r.a.content},t.a.createElement("div",{className:"".concat(r.a.titleWrap," mt10")},t.a.createElement("div",{className:r.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(m.a,{onClick:function(){return c(!0)}},"\u7F16\u8F91"))),t.a.createElement(F.a,null),N?t.a.createElement("div",null,t.a.createElement(j,{value:d,onChange:function(_){return R(_.target.value)},placeholder:"\u8BF7\u7F16\u64B0\u4E0D\u8D85\u8FC7300\u5B57\u7684\u6210\u679C\u3001\u8363\u8A89\u4ECB\u7ECD",maxLength:300}),t.a.createElement(m.a,{type:"primary",style:{marginRight:"10px",marginTop:"10px"},onClick:function(){return w()}},"\u786E\u8BA4"),t.a.createElement(m.a,{style:{marginTop:"10px"},onClick:function(){return c(!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(r.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(W.a)(function(s){var n=s.user,O=s.account,U=s.loading,y=s.globalSetting;return{user:n,account:O,globalSetting:y,loading:U.models.index}})(K)}}]);

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{y3wM:function(s,t,o){"use strict";o.r(t);var a=o("IIKO"),_=o("q1tI"),e=o.n(_),r=o("m3rI");t.default=function(l){var n=Object(a.a)({},l);return Object(_.useEffect)(function(){window.location.href=r.a.API_SERVER+n.location.pathname+n.location.search},[n.location.pathname]),e.a.createElement("div",null)}}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{y3wM:function(l,t,o){"use strict";o.r(t);var e=o("0Owb"),_=o("q1tI"),a=o.n(_),r=o("m3rI");t.default=function(s){var n=Object(e.a)({},s);return Object(_.useEffect)(function(){window.location.href=r.a.API_SERVER+n.location.pathname+n.location.search},[n.location.pathname]),a.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

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[68],{"9Bz6":function(G,P,t){"use strict";t.r(P);var J=t("DjyN"),A=t("NUBc"),N=t("g9YV"),b=t("wCAj"),V=t("5Dmo"),h=t("3S7+"),T=t("c1Ei"),E=t.n(T),O=t("5Tp6"),x=t("XEnU"),p=t("k16G"),s=t("q1tI"),_=t.n(s),B=t("5bA4"),S=t("wd/R"),y=t.n(S),D=t("WHYC"),L=t("9kvl"),U=t("ErOA"),W=t("mgmH");y.a.locale("zh-cn");var g=[{id:"exercise_score",name:"\u8BD5\u5377\u6210\u7EE9"},{id:"shixun_work_list",name:"\u5B9E\u8BAD\u4F5C\u4E1A\u6210\u7EE9"},{id:"normal_work_list",name:"\u666E\u901A\u4F5C\u4E1A\u6210\u7EE9"},{id:"group_work_list",name:"\u5206\u7EC4\u4F5C\u4E1A\u6210\u7EE9"},{id:"course_total_score",name:"\u8BFE\u5802\u603B\u6210\u7EE9"},{id:"course_total_homework",name:"\u8BFE\u5802\u4F5C\u4E1A\u6210\u7EE9"},{id:"course_total_exercise_and_other",name:"\u8BFE\u5802\u8BD5\u5377\u6210\u7EE9"},{id:"course_member_act_score",name:"\u8BFE\u5802\u6D3B\u8DC3\u5EA6"},{id:"mooc_records",name:"\u7B2C\u4E09\u65B9\u6155\u8BFE"}],f=[{id:"failed",name:"\u5931\u8D25"},{id:"running",name:"\u6267\u884C\u4E2D"},{id:"finished",name:"\u5B8C\u6210"}],K=function(l){var d,X=l.globalSetting,Q=l.loading,Z=l.dispatch,z=Object(s.useState)(Object(x.a)({},Object(D.m)())),M=Object(p.a)(z,2),u=M[0],q=M[1],k=Object(s.useState)(),R=Object(p.a)(k,2),r=R[0],C=R[1],w=Object(s.useState)(1),I=Object(p.a)(w,2),Y=I[0],H=I[1],F=Object(D.k)(),j=u==null||((d=u.type)===null||d===void 0)?void 0:d.split(",");Object(s.useEffect)(function(){function a(){return n.apply(this,arguments)}function n(){return n=Object(O.a)(E.a.mark(function e(){var o;return E.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Object(U.a)("/api/courses/".concat(u.coursesId,"/export_records.json"),{method:"get",params:{page:1,per_page:10,export_types:j}});case 2:o=i.sent,o&&C(o);case 4:case"end":return i.stop()}},e)})),n.apply(this,arguments)}a()},[]);var $=[{title:"\u6587\u4EF6\u540D",dataIndex:"filename",ellipsis:!0,width:"30%",render:function(n,e,o){return _.a.createElement(h.a,{title:n},_.a.createElement("span",null,n||(e==null?void 0:e.preview_filename)))}},{title:"\u7C7B\u578B",dataIndex:"export_type",ellipsis:!0,render:function(n){return g==null?void 0:g.map(function(e){if(n===(e==null?void 0:e.id))return _.a.createElement(h.a,{title:e.name},_.a.createElement("span",null,e.name))})}},{title:"\u72B6\u6001",dataIndex:"status",ellipsis:!0,render:function(n){return f==null?void 0:f.map(function(e){if(n===(e==null?void 0:e.id))return e.name})}},{title:"\u5BFC\u51FA\u4EBA",dataIndex:"user",ellipsis:!0,render:function(n){return n==null?void 0:n.real_name}},{title:"\u4E0B\u8F7D\u6B21\u6570",dataIndex:"downloads"},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_at",width:"20%",render:function(n){return y()(n).format("YYYY-MM-DD HH:mm:ss")}},{title:"\u64CD\u4F5C",ellipsis:!0,render:function(n,e,o){return _.a.createElement("span",{style:{cursor:"pointer",color:"#4cacff"},onClick:function(){Object(W.o)({id:e==null?void 0:e.id})}},(e==null?void 0:e.status)==="finished"?"\u4E0B\u8F7D":"")}}].filter(function(a){return!!a});return _.a.createElement("div",{style:{background:"#fff"}},_.a.createElement("span",{style:{fontSize:"16px",height:"40px",display:"flex",background:"#fff",padding:"10px 20px"}},_.a.createElement(B.a,{onClick:function(){F.goBack()},style:{marginTop:"4px",cursor:"pointer",marginRight:"5px"}})," \u5BFC\u51FA\u5217\u8868"),_.a.createElement("p",{style:{background:"#fff"}},_.a.createElement(b.a,{columns:$,dataSource:r==null?void 0:r.export_records,pagination:!1})),_.a.createElement(A.a,{hideOnSinglePage:!0,pageSize:10,showSizeChanger:!1,onChange:function(){var a=Object(O.a)(E.a.mark(function n(e,o){var m;return E.a.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return H(e),c.next=3,Object(U.a)("/api/courses/".concat(u.coursesId,"/export_records.json"),{method:"get",params:{page:e,per_page:10,export_types:j}});case 3:m=c.sent,m&&C(m);case 5:case"end":return c.stop()}},n)}));return function(n,e){return a.apply(this,arguments)}}(),style:{textAlign:"center"},current:Y,total:r==null?void 0:r.total_count}))};P.default=Object(L.a)(function(v){var l=v.loading,d=v.globalSetting;return{globalSetting:d,loading:l}})(K)}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[68],{"9Bz6":function(N,P,t){"use strict";t.r(P);var $=t("DjyN"),j=t("NUBc"),V=t("g9YV"),A=t("wCAj"),G=t("5Dmo"),h=t("3S7+"),T=t("WmNS"),p=t.n(T),O=t("9og8"),S=t("k1fw"),E=t("tJVT"),s=t("q1tI"),_=t.n(s),x=t("5bA4"),B=t("wd/R"),y=t.n(B),D=t("Ty5D"),L=t("9kvl"),U=t("ErOA"),W=t("mgmH");y.a.locale("zh-cn");var g=[{id:"exercise_score",name:"\u8BD5\u5377\u6210\u7EE9"},{id:"shixun_work_list",name:"\u5B9E\u8BAD\u4F5C\u4E1A\u6210\u7EE9"},{id:"normal_work_list",name:"\u666E\u901A\u4F5C\u4E1A\u6210\u7EE9"},{id:"group_work_list",name:"\u5206\u7EC4\u4F5C\u4E1A\u6210\u7EE9"},{id:"course_total_score",name:"\u8BFE\u5802\u603B\u6210\u7EE9"},{id:"course_total_homework",name:"\u8BFE\u5802\u4F5C\u4E1A\u6210\u7EE9"},{id:"course_total_exercise_and_other",name:"\u8BFE\u5802\u8BD5\u5377\u6210\u7EE9"},{id:"course_member_act_score",name:"\u8BFE\u5802\u6D3B\u8DC3\u5EA6"},{id:"mooc_records",name:"\u7B2C\u4E09\u65B9\u6155\u8BFE"}],f=[{id:"failed",name:"\u5931\u8D25"},{id:"running",name:"\u6267\u884C\u4E2D"},{id:"finished",name:"\u5B8C\u6210"}],K=function(l){var d,Q=l.globalSetting,X=l.loading,Z=l.dispatch,z=Object(s.useState)(Object(S.a)({},Object(D.m)())),M=Object(E.a)(z,2),u=M[0],q=M[1],w=Object(s.useState)(),R=Object(E.a)(w,2),r=R[0],b=R[1],k=Object(s.useState)(1),I=Object(E.a)(k,2),Y=I[0],H=I[1],F=Object(D.k)(),C=u==null||((d=u.type)===null||d===void 0)?void 0:d.split(",");Object(s.useEffect)(function(){function a(){return n.apply(this,arguments)}function n(){return n=Object(O.a)(p.a.mark(function e(){var o;return p.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Object(U.a)("/api/courses/".concat(u.coursesId,"/export_records.json"),{method:"get",params:{page:1,per_page:10,export_types:C}});case 2:o=i.sent,o&&b(o);case 4:case"end":return i.stop()}},e)})),n.apply(this,arguments)}a()},[]);var J=[{title:"\u6587\u4EF6\u540D",dataIndex:"filename",ellipsis:!0,width:"30%",render:function(n,e,o){return _.a.createElement(h.a,{title:n},_.a.createElement("span",null,n||(e==null?void 0:e.preview_filename)))}},{title:"\u7C7B\u578B",dataIndex:"export_type",ellipsis:!0,render:function(n){return g==null?void 0:g.map(function(e){if(n===(e==null?void 0:e.id))return _.a.createElement(h.a,{title:e.name},_.a.createElement("span",null,e.name))})}},{title:"\u72B6\u6001",dataIndex:"status",ellipsis:!0,render:function(n){return f==null?void 0:f.map(function(e){if(n===(e==null?void 0:e.id))return e.name})}},{title:"\u5BFC\u51FA\u4EBA",dataIndex:"user",ellipsis:!0,render:function(n){return n==null?void 0:n.real_name}},{title:"\u4E0B\u8F7D\u6B21\u6570",dataIndex:"downloads"},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_at",width:"20%",render:function(n){return y()(n).format("YYYY-MM-DD HH:mm:ss")}},{title:"\u64CD\u4F5C",ellipsis:!0,render:function(n,e,o){return _.a.createElement("span",{style:{cursor:"pointer",color:"#4cacff"},onClick:function(){Object(W.o)({id:e==null?void 0:e.id})}},(e==null?void 0:e.status)==="finished"?"\u4E0B\u8F7D":"")}}].filter(function(a){return!!a});return _.a.createElement("div",{style:{background:"#fff"}},_.a.createElement("span",{style:{fontSize:"16px",height:"40px",display:"flex",background:"#fff",padding:"10px 20px"}},_.a.createElement(x.a,{onClick:function(){F.goBack()},style:{marginTop:"4px",cursor:"pointer",marginRight:"5px"}})," \u5BFC\u51FA\u5217\u8868"),_.a.createElement("p",{style:{background:"#fff"}},_.a.createElement(A.a,{columns:J,dataSource:r==null?void 0:r.export_records,pagination:!1})),_.a.createElement(j.a,{hideOnSinglePage:!0,pageSize:10,showSizeChanger:!1,onChange:function(){var a=Object(O.a)(p.a.mark(function n(e,o){var m;return p.a.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return H(e),c.next=3,Object(U.a)("/api/courses/".concat(u.coursesId,"/export_records.json"),{method:"get",params:{page:e,per_page:10,export_types:C}});case 3:m=c.sent,m&&b(m);case 5:case"end":return c.stop()}},n)}));return function(n,e){return a.apply(this,arguments)}}(),style:{textAlign:"center"},current:Y,total:r==null?void 0:r.total_count}))};P.default=Object(L.a)(function(v){var l=v.loading,d=v.globalSetting;return{globalSetting:d,loading:l}})(K)}}]);

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([[87,14],{jlxL:function(D,m,_){D.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(D,m,_){"use strict";_.r(m);var S=_("+L6B"),y=_("2/Rp"),p=_("c1Ei"),U=_.n(p),O=_("XEnU"),B=_("5Tp6"),z=_("5NDa"),R=_("5rEg"),$=_("14J3"),L=_("BMrR"),H=_("jCWc"),g=_("kPKH"),J=_("sPJy"),r=_("bE4q"),Y=_("y8nQ"),n=_("Vl3Y"),I=_("k16G"),A=_("q1tI"),e=_.n(A),C=_("WHYC"),E=_("uYtH"),M=_("9kvl"),T=_("tgas"),b=_("jlxL"),h=_.n(b),x=_("1vsH"),W=function(t){var l,f=t.classroomList,v=t.globalSetting,V=t.loading,K=t.user,G=t.dispatch,u=Object(C.m)(),s=K.userInfo,F=n.a.useForm(),j=Object(I.a)(F,1),d=j[0];return e.a.createElement("section",{className:"edu-container"},e.a.createElement("section",{className:"animated fadeIn"},e.a.createElement("aside",{className:"mt10"},s&&e.a.createElement(r.a,{separator:">"},e.a.createElement(r.a.Item,null,e.a.createElement(E.Link,{to:"".concat(s.first_category_url)},s==null||((l=s.course)===null||l===void 0)?void 0:l.course_name)),e.a.createElement(r.a.Item,null,e.a.createElement(E.Link,{to:"/classrooms/".concat(u.coursesId,"/poll")},"\u95EE\u5377\u5217\u8868")),e.a.createElement(r.a.Item,null,"\u65B0\u5EFA\u95EE\u5377"))),e.a.createElement("aside",{className:[h.a.title,"mt20"].join(" ")},e.a.createElement(L.a,{style:{width:"100%"}},e.a.createElement(g.a,{flex:"1"},e.a.createElement("strong",{className:"font20 ml5"},"\u65B0\u5EFA\u95EE\u5377")),e.a.createElement(g.a,null,e.a.createElement(E.Link,{className:"font16 c-light-black",to:"/classrooms/".concat(u.coursesId,"/poll")},"\u8FD4\u56DE"))))),e.a.createElement("section",{className:[h.a.bg,"pt30","pl30","pr30","pb30","mt20"].join(" ")},e.a.createElement(n.a,{layout:"vertical",form:d},e.a.createElement(n.a.Item,{name:"polls_name",label:"\u95EE\u5377\u6807\u9898\uFF1A",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u95EE\u5377\u6807\u9898"}]},e.a.createElement(R.a,{maxLength:60,placeholder:"\u95EE\u5377\u6807\u9898\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26"})),e.a.createElement(n.a.Item,{label:"\u95EE\u5377\u987B\u77E5\uFF1A",name:"polls_description"},e.a.createElement(R.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"})),e.a.createElement(n.a.Item,{className:"tr"},e.a.createElement(y.a,{type:"primary",onClick:Object(B.a)(U.a.mark(function N(){var i,c,P;return U.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,d.validateFields();case 2:return i=d.getFieldValue(),i.is_md=!0,a.next=6,Object(T.d)(Object(O.a)(Object(O.a)({},i),u));case 6:c=a.sent,c.status===0&&(Object(x.P)(["\u6559\u5B66\u8BFE\u5802","\u95EE\u5377","\u65B0\u5EFA\u95EE\u5377"]),M.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(M.a)(function(o){var t=o.classroomList,l=o.loading,f=o.user,v=o.globalSetting;return{classroomList:t,globalSetting:v,user:f,loading:l.effects}})(W)}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[87,14],{jlxL:function(D,u,_){D.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(D,u,_){"use strict";_.r(u);var S=_("+L6B"),v=_("2/Rp"),y=_("WmNS"),U=_.n(y),O=_("k1fw"),B=_("9og8"),z=_("5NDa"),R=_("5rEg"),J=_("14J3"),L=_("BMrR"),$=_("jCWc"),g=_("kPKH"),V=_("sPJy"),r=_("bE4q"),H=_("y8nQ"),o=_("Vl3Y"),I=_("tJVT"),b=_("q1tI"),e=_.n(b),A=_("Ty5D"),E=_("55Ip"),M=_("9kvl"),C=_("tgas"),T=_("jlxL"),f=_.n(T),x=_("1vsH"),W=function(a){var l,h=a.classroomList,p=a.globalSetting,Y=a.loading,K=a.user,G=a.dispatch,m=Object(A.m)(),s=K.userInfo,F=o.a.useForm(),j=Object(I.a)(F,1),d=j[0];return e.a.createElement("section",{className:"edu-container"},e.a.createElement("section",{className:"animated fadeIn"},e.a.createElement("aside",{className:"mt10"},s&&e.a.createElement(r.a,{separator:">"},e.a.createElement(r.a.Item,null,e.a.createElement(E.Link,{to:"".concat(s.first_category_url)},s==null||((l=s.course)===null||l===void 0)?void 0:l.course_name)),e.a.createElement(r.a.Item,null,e.a.createElement(E.Link,{to:"/classrooms/".concat(m.coursesId,"/poll")},"\u95EE\u5377\u5217\u8868")),e.a.createElement(r.a.Item,null,"\u65B0\u5EFA\u95EE\u5377"))),e.a.createElement("aside",{className:[f.a.title,"mt20"].join(" ")},e.a.createElement(L.a,{style:{width:"100%"}},e.a.createElement(g.a,{flex:"1"},e.a.createElement("strong",{className:"font20 ml5"},"\u65B0\u5EFA\u95EE\u5377")),e.a.createElement(g.a,null,e.a.createElement(E.Link,{className:"font16 c-light-black",to:"/classrooms/".concat(m.coursesId,"/poll")},"\u8FD4\u56DE"))))),e.a.createElement("section",{className:[f.a.bg,"pt30","pl30","pr30","pb30","mt20"].join(" ")},e.a.createElement(o.a,{layout:"vertical",form:d},e.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"}]},e.a.createElement(R.a,{maxLength:60,placeholder:"\u95EE\u5377\u6807\u9898\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26"})),e.a.createElement(o.a.Item,{label:"\u95EE\u5377\u987B\u77E5\uFF1A",name:"polls_description"},e.a.createElement(R.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"})),e.a.createElement(o.a.Item,{className:"tr"},e.a.createElement(v.a,{type:"primary",onClick:Object(B.a)(U.a.mark(function N(){var i,c,P;return U.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d.validateFields();case 2:return i=d.getFieldValue(),i.is_md=!0,t.next=6,Object(C.d)(Object(O.a)(Object(O.a)({},i),m));case 6:c=t.sent,c.status===0&&(Object(x.P)(["\u6559\u5B66\u8BFE\u5802","\u95EE\u5377","\u65B0\u5EFA\u95EE\u5377"]),M.c.push("/classrooms/".concat(m.coursesId,"/poll/").concat((P=c.data)===null||P===void 0?void 0:P.id,"/edit")));case 8:case"end":return t.stop()}},N)}))},"\u4FDD\u5B58")))))};u.default=Object(M.a)(function(n){var a=n.classroomList,l=n.loading,h=n.user,p=n.globalSetting;return{classroomList:a,globalSetting:p,user:h,loading:l.effects}})(W)}}]);

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…
Cancel
Save