parent
3975f74fc1
commit
a8930a32b6
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
@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[17,16],{"1bfj":function(C,y,e){},Y8AM:function(C,y,e){"use strict";var z=e("+L6B"),b=e("2/Rp"),V=e("5NDa"),h=e("5rEg"),B=e("WmNS"),D=e.n(B),L=e("9og8"),w=e("y8nQ"),t=e("Vl3Y"),O=e("tJVT"),v=e("q1tI"),_=e.n(v),I=e("jb+D"),T=e("4i/N"),A=e("Ty5D"),s=e("9kvl"),W=e("1bfj"),x=e.n(W),u={height:48,borderRadius:4},K=function(i){var m=i.dispatch,d=t.a.useForm(),F=Object(O.a)(d,1),f=F[0],n=Object(A.l)(),j=Object(v.useState)(""),g=Object(O.a)(j,2),U=g[0],E=g[1],S=function(){var l=Object(L.a)(D.a.mark(function M(R){var o,p,c,P;return D.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,Object(I.a)(R);case 2:if(o=a.sent,!o.status){a.next=6;break}return E(o==null?void 0:o.message),a.abrupt("return");case 6:console.log(s.c,"history"),n.pathname==="/user/login"||n.pathname==="/login"?(P=((p=n.query)===null||p===void 0?void 0:p.from)||((c=n.query)===null||c===void 0?void 0:c.back_url),P?window.location.href=decodeURIComponent(P):s.c.replace("/")):window.location.reload(),f.resetFields();case 9:case"end":return a.stop()}},M)}));return function(R){return l.apply(this,arguments)}}(),N=function(){m({type:"user/showPopLogin",payload:{showPopLogin:!1}})};return _.a.createElement(t.a,{layout:"vertical",form:f,initialValues:{autologin:!0},onFinish:S,onValuesChange:function(){return E("")}},!!U&&_.a.createElement("div",{className:"res-error-values"},_.a.createElement("span",null,U),_.a.createElement(T.a,{onClick:function(){return E("")}})),_.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.createElement(h.a,{style:u,size:"large",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\u53F7"})),_.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.createElement(h.a.Password,{style:u,size:"large",placeholder:"\u5BC6\u7801"})),_.a.createElement(t.a.Item,null,_.a.createElement(b.a,{size:"large",type:"primary",htmlType:"submit",block:!0,className:"font16",style:u},"\u5B8C\u6210")))};y.a=Object(s.a)(function(r){var i=r.user,m=r.loading,d=r.globalSetting;return{user:i,globalSetting:d,loading:m.models.index}})(K)}}]);
|
||||
@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[19,15,18],{"1bfj":function(b,h,e){},Y8AM:function(b,h,e){"use strict";var V=e("+L6B"),C=e("2/Rp"),w=e("5NDa"),y=e("5rEg"),B=e("WmNS"),D=e.n(B),L=e("9og8"),x=e("y8nQ"),t=e("Vl3Y"),O=e("tJVT"),v=e("q1tI"),_=e.n(v),I=e("jb+D"),T=e("4i/N"),A=e("Ty5D"),s=e("9kvl"),W=e("1bfj"),N=e.n(W),u={height:48,borderRadius:4},j=function(i){var m=i.dispatch,E=t.a.useForm(),K=Object(O.a)(E,1),f=K[0],r=Object(A.l)(),F=Object(v.useState)(""),g=Object(O.a)(F,2),U=g[0],d=g[1],S=function(){var l=Object(L.a)(D.a.mark(function M(R){var o,p,c,P;return D.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,Object(I.a)(R);case 2:if(o=a.sent,!o.status){a.next=6;break}return d(o==null?void 0:o.message),a.abrupt("return");case 6:console.log(s.c,"history"),r.pathname==="/user/login"||r.pathname==="/login"?(P=((p=r.query)===null||p===void 0?void 0:p.from)||((c=r.query)===null||c===void 0?void 0:c.back_url),P?window.location.href=decodeURIComponent(P):s.c.replace("/")):window.location.reload(),f.resetFields();case 9:case"end":return a.stop()}},M)}));return function(R){return l.apply(this,arguments)}}(),$=function(){m({type:"user/showPopLogin",payload:{showPopLogin:!1}})};return _.a.createElement(t.a,{layout:"vertical",form:f,initialValues:{autologin:!0},onFinish:S,onValuesChange:function(){return d("")}},!!U&&_.a.createElement("div",{className:"res-error-values"},_.a.createElement("span",null,U),_.a.createElement(T.a,{onClick:function(){return d("")}})),_.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.createElement(y.a,{style:u,size:"large",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\u53F7"})),_.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.createElement(y.a.Password,{style:u,size:"large",placeholder:"\u5BC6\u7801"})),_.a.createElement(t.a.Item,null,_.a.createElement(C.a,{size:"large",type:"primary",htmlType:"submit",block:!0,className:"font16",style:u},"\u5B8C\u6210")))};h.a=Object(s.a)(function(n){var i=n.user,m=n.loading,E=n.globalSetting;return{user:i,globalSetting:E,loading:m.models.index}})(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
@ -1,4 +1,4 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{YQfW:function(ze,me,ge){},urRO:function(ze,me,ge){/*!
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{YQfW:function(ze,me,ge){},urRO:function(ze,me,ge){/*!
|
||||
* Cropper.js v1.5.7
|
||||
* https://fengyuanchen.github.io/cropperjs
|
||||
*
|
||||
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([[39],{"4w5S":function(d,u,e){"use strict";e.r(u);var R=e("y8nQ"),_=e("Vl3Y"),U=e("+L6B"),r=e("2/Rp"),c=e("PpiC"),s=e("q1tI"),a=e.n(s),E=e("9kvl"),v=e("vjIP"),n=e.n(v),P=e("Z3SC"),p=e("1vsH"),D=function(l){var i=l.account,m=l.globalSetting,h=l.loading,f=l.dispatch,y=Object(c.a)(l,["account","globalSetting","loading","dispatch"]),t=i.basicInfo;return a.a.createElement("section",{className:n.a.wrap},a.a.createElement("div",{className:n.a.content},a.a.createElement("div",{className:n.a.titleWrap},a.a.createElement("div",{className:n.a.title},"\u57FA\u672C\u4FE1\u606F"),a.a.createElement(r.a,{type:"primary",ghost:!0,onClick:function(){return E.c.push("/account/profile/edit")}},"\u4FEE\u6539")),a.a.createElement(_.a,{className:n.a.formWrap,labelCol:{span:3},wrapperCol:{span:21},layout:"horizontal"},a.a.createElement(_.a.Item,{label:"\u6635\u79F0"},t==null?void 0:t.nickname),a.a.createElement(_.a.Item,{label:"\u59D3\u540D"},(t==null?void 0:t.show_realname)==!0?t==null?void 0:t.name:Object(p.w)(t==null?void 0:t.name)),a.a.createElement(_.a.Item,{label:"\u6027\u522B"},(t==null?void 0:t.gender)==0?"\u7537":"\u5973"),a.a.createElement(_.a.Item,{label:"\u6240\u5728\u5730"},t==null?void 0:t.location,"\u3000",t==null?void 0:t.location_city),a.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)),a.a.createElement(_.a.Item,{label:"\u5B66\u6821/\u5355\u4F4D"},t==null?void 0:t.school_name),a.a.createElement(_.a.Item,{label:"\u9662\u7CFB/\u90E8\u95E8"},t==null?void 0:t.department_name),a.a.createElement(_.a.Item,{label:"\u6700\u9AD8\u5B66\u5386"},t==null?void 0:t.edu_background),a.a.createElement(_.a.Item,{label:"\u5165\u5B66\u5E74\u4EFD"},t==null?void 0:t.edu_entry_year),a.a.createElement(_.a.Item,{label:"\u7B80\u4ECB"},t==null?void 0:t.brief_introduction))),a.a.createElement("div",{className:"".concat(n.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"))};u.default=Object(E.a)(function(o){var l=o.account,i=o.loading,m=o.globalSetting;return{account:l,globalSetting:m,loading:i.models.index}})(D)},vjIP:function(d,u,e){d.exports={wrap:"wrap___1ZoME",content:"content___2ISmw",hint:"hint___1VSGa",title:"title___3mBb8",titleWrap:"titleWrap___1YH9W",formWrap:"formWrap___3ynAf"}}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{"4w5S":function(d,u,e){"use strict";e.r(u);var R=e("y8nQ"),_=e("Vl3Y"),U=e("+L6B"),r=e("2/Rp"),c=e("PpiC"),s=e("q1tI"),a=e.n(s),E=e("9kvl"),v=e("vjIP"),n=e.n(v),P=e("Z3SC"),p=e("1vsH"),D=function(l){var i=l.account,m=l.globalSetting,f=l.loading,h=l.dispatch,y=Object(c.a)(l,["account","globalSetting","loading","dispatch"]),t=i.basicInfo;return a.a.createElement("section",{className:n.a.wrap},a.a.createElement("div",{className:n.a.content},a.a.createElement("div",{className:n.a.titleWrap},a.a.createElement("div",{className:n.a.title},"\u57FA\u672C\u4FE1\u606F"),a.a.createElement(r.a,{type:"primary",ghost:!0,onClick:function(){return E.c.push("/account/profile/edit")}},"\u4FEE\u6539")),a.a.createElement(_.a,{className:n.a.formWrap,labelCol:{span:3},wrapperCol:{span:21},layout:"horizontal"},a.a.createElement(_.a.Item,{label:"\u6635\u79F0"},t==null?void 0:t.nickname),a.a.createElement(_.a.Item,{label:"\u59D3\u540D"},(t==null?void 0:t.show_realname)==!0?t==null?void 0:t.name:Object(p.w)(t==null?void 0:t.name)),a.a.createElement(_.a.Item,{label:"\u6027\u522B"},(t==null?void 0:t.gender)==0?"\u7537":"\u5973"),a.a.createElement(_.a.Item,{label:"\u6240\u5728\u5730"},t==null?void 0:t.location,"\u3000",t==null?void 0:t.location_city),a.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)),a.a.createElement(_.a.Item,{label:"\u5B66\u6821/\u5355\u4F4D"},t==null?void 0:t.school_name),a.a.createElement(_.a.Item,{label:"\u9662\u7CFB/\u90E8\u95E8"},t==null?void 0:t.department_name),a.a.createElement(_.a.Item,{label:"\u6700\u9AD8\u5B66\u5386"},t==null?void 0:t.edu_background),a.a.createElement(_.a.Item,{label:"\u5165\u5B66\u5E74\u4EFD"},t==null?void 0:t.edu_entry_year),a.a.createElement(_.a.Item,{label:"\u7B80\u4ECB"},t==null?void 0:t.brief_introduction))),a.a.createElement("div",{className:"".concat(n.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"))};u.default=Object(E.a)(function(o){var l=o.account,i=o.loading,m=o.globalSetting;return{account:l,globalSetting:m,loading:i.models.index}})(D)},vjIP:function(d,u,e){d.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([[40],{"9ryg":function(P,i,e){P.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(P,i,e){"use strict";e.r(i);var G=e("miYZ"),A=e("tsqr"),B=e("WmNS"),l=e.n(B),$=e("/zsF"),F=e("PArb"),V=e("+L6B"),E=e("2/Rp"),h=e("9og8"),m=e("tJVT"),j=e("PpiC"),Y=e("5NDa"),T=e("5rEg"),o=e("q1tI"),t=e.n(o),L=e("9kvl"),W=e("9ryg"),r=e.n(W),O=e("ErOA"),I=T.a.TextArea,K=function(n){var g=n.user,U=n.account,y=n.globalSetting,Z=n.loading,Q=n.dispatch,X=Object(j.a)(n,["user","account","globalSetting","loading","dispatch"]),S=Object(o.useState)(),f=Object(m.a)(S,2),C=f[0],x=f[1],H=Object(o.useState)(),v=Object(m.a)(H,2),d=v[0],R=v[1],N=Object(o.useState)(!1),b=Object(m.a)(N,2),w=b[0],c=b[1];Object(o.useEffect)(function(){M()},[]);function M(){return p.apply(this,arguments)}function p(){return p=Object(h.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(O.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 z(){return D.apply(this,arguments)}function D(){return D=Object(h.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(O.a)("/api/users/brief_introduction.json",{method:"post",body:{honor:d}});case 5:_=a.sent,_&&(M(),c(!1));case 7:case"end":return a.stop()}},u)})),D.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(E.a,{onClick:function(){return c(!0)}},"\u7F16\u8F91"))),t.a.createElement(F.a,null),w?t.a.createElement("div",null,t.a.createElement(I,{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(E.a,{type:"primary",style:{marginRight:"10px",marginTop:"10px"},onClick:function(){return z()}},"\u786E\u8BA4"),t.a.createElement(E.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(L.a)(function(s){var n=s.user,g=s.account,U=s.loading,y=s.globalSetting;return{user:n,account:g,globalSetting:y,loading:U.models.index}})(K)}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{"9ryg":function(P,i,e){P.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(P,i,e){"use strict";e.r(i);var G=e("miYZ"),A=e("tsqr"),B=e("WmNS"),l=e.n(B),$=e("/zsF"),F=e("PArb"),V=e("+L6B"),E=e("2/Rp"),h=e("9og8"),m=e("tJVT"),T=e("PpiC"),Y=e("5NDa"),L=e("5rEg"),o=e("q1tI"),t=e.n(o),W=e("9kvl"),I=e("9ryg"),r=e.n(I),O=e("ErOA"),j=L.a.TextArea,K=function(n){var g=n.user,U=n.account,y=n.globalSetting,Z=n.loading,Q=n.dispatch,X=Object(T.a)(n,["user","account","globalSetting","loading","dispatch"]),S=Object(o.useState)(),f=Object(m.a)(S,2),C=f[0],x=f[1],z=Object(o.useState)(),v=Object(m.a)(z,2),d=v[0],R=v[1],H=Object(o.useState)(!1),M=Object(m.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(h.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(O.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 D.apply(this,arguments)}function D(){return D=Object(h.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(O.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)})),D.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(E.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(E.a,{type:"primary",style:{marginRight:"10px",marginTop:"10px"},onClick:function(){return w()}},"\u786E\u8BA4"),t.a.createElement(E.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,g=s.account,U=s.loading,y=s.globalSetting;return{user:n,account:g,globalSetting:y,loading:U.models.index}})(K)}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[41],{y3wM:function(s,e,o){"use strict";o.r(e);var _=o("0Owb"),n=o("q1tI"),a=o.n(n),r=o("m3rI");e.default=function(l){var t=Object(_.a)({},l);return Object(n.useEffect)(function(){window.location.href=r.a.API_SERVER+t.location.pathname+t.location.search},[t.location.pathname]),a.a.createElement("div",null)}}}]);
|
||||
@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{y3wM:function(s,n,o){"use strict";o.r(n);var _=o("0Owb"),e=o("q1tI"),a=o.n(e),r=o("m3rI");n.default=function(l){var t=Object(_.a)({},l);return Object(e.useEffect)(function(){window.location.href=r.a.API_SERVER+t.location.pathname+t.location.search},[t.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
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 @@
|
||||
.flex_box_center___uTq5a{-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___LTVj-{-ms-flex-pack:justify;justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___1L3z-{-ms-flex-align:center;align-items:center;box-align:center}.flex_box_center_end___3ghBL{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___2bU1n{-ms-flex-direction:column;flex-direction:column;box-orient:block-axis}.bg___2iXhR{background:#fff;min-height:1000px}.title___2PlPP{display:box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;box-align:center}.title___2PlPP strong{color:#333}.questionIcons___3jZbU [class~=ant-anchor-link]{display:inline}.questionIcons___3jZbU [class~=ant-anchor-wrapper]{margin:0;overflow:hidden}.questionIcons___3jZbU a,.questionIcons___3jZbU span{width:40px;height:40px;line-height:40px;text-align:center;color:#fff;background:#fb3226;display:inline-block;margin-right:8px;margin-bottom:20px;border-radius:40px;font-weight:700;cursor:pointer}.questionIcons___3jZbU a:hover,.questionIcons___3jZbU span:hover{background-color:#ec7d72}.questionIcons___3jZbU a:nth-child(5n),.questionIcons___3jZbU span:nth-child(5n){margin-right:25px}.questionIcons___3jZbU .green___1msyJ{background-color:#2abd8c}.questionIcons___3jZbU .green___1msyJ:hover{background-color:#88d19e}.questionIcons___3jZbU .orange___1uebJ{background-color:#fd8001}.questionIcons___3jZbU .orange___1uebJ:hover{background-color:#fb9f42}.greenTip___1th4S{color:#2abd8c;margin-left:15px}.greenTip___1th4S:before{content:"";width:12px;height:12px;background:#2abd8c;border-radius:12px;display:inline-block;margin-right:4px;position:relative;top:1px}.redTip___18tx7{color:#fb3226;margin-left:15px}.redTip___18tx7:before{content:"";width:12px;height:12px;background:#fb3226;border-radius:12px;display:inline-block;margin-right:4px;position:relative;top:1px}.orangeTip___2T44_{color:#fd8001;margin-left:15px}.orangeTip___2T44_:before{content:"";width:12px;height:12px;background:#fd8001;border-radius:12px;display:inline-block;margin-right:4px;position:relative;top:1px}.flexRow___14mZI{display:-ms-flexbox;display:flex}.simpleWrap___325ES{background:#fff;border-radius:2px;border:1px solid #f9f9f9;font-weight:300;padding:12px}.divider___33qYV{width:auto;min-width:auto}.modal___B_owv [class~=ant-btn]{display:none}.programTitle___1CfOY [class~=markdown-body]{overflow:visible;overflow:initial}.wrap___1AALq{position:relative;font-size:14px}.wrap___1AALq [class~=ant-table-footer]{background-color:#fff;padding:0}.img___20GEO{position:absolute;height:100px;width:140px;top:2px;left:2px}.table___26NT5 a{color:rgba(0,0,0,.85)}.totalScore___1t1Bx{margin-right:142px;padding:12px 8px;border-right:1px solid #f0f0f0;border-left:1px solid #f0f0f0}.people___BMR7K{padding:12px 8px;border-right:1px solid #f0f0f0}.glassSeal___2woZ-{position:absolute;font-size:16px;left:-480px;top:520px;width:1000px;-ms-transform:rotate(-90deg);transform:rotate(-90deg);border-bottom:2px dashed #fb3226}.glassSeal___2woZ- span{padding-right:50px;padding-left:10px}
|
||||
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 @@
|
||||
.ant-image-preview,.ant-modal{pointer-events:none}.ant-image-preview.zoom-appear,.ant-image-preview.zoom-enter,.ant-modal.zoom-appear,.ant-modal.zoom-enter{-ms-transform:none;transform:none;opacity:0;animation-duration:.3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-image-preview-mask,.ant-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;height:100%;background-color:rgba(0,0,0,.45);filter:alpha(opacity=50)}.ant-image-preview-mask-hidden,.ant-modal-mask-hidden{display:none}.ant-image-preview-wrap,.ant-modal-wrap{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch}.ant-image{position:relative;display:inline-block}.ant-image-img{width:100%;height:auto}.ant-image-img-placeholder{background-color:#f5f5f5;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE0LjUgMi41aC0xM0EuNS41IDAgMDAxIDN2MTBhLjUuNSAwIDAwLjUuNWgxM2EuNS41IDAgMDAuNS0uNVYzYS41LjUgMCAwMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwMTAgMiAxIDEgMCAwMTAtMnptOC4wMyA2LjgzYS4xMjcuMTI3IDAgMDEtLjA4MS4wM0gyLjc2OWEuMTI1LjEyNSAwIDAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAxLjE3Ny0uMDE2bC4wMTYuMDE2TDcuMDggMTAuMDlsMi40Ny0yLjkzYS4xMjYuMTI2IDAgMDEuMTc3LS4wMTZsLjAxNS4wMTYgMy41ODggNC4yNDRhLjEyNy4xMjcgMCAwMS0uMDIuMTc1eiIgZmlsbD0iIzhDOEM4QyIvPjwvc3ZnPg==);background-repeat:no-repeat;background-position:50%;background-size:30%}.ant-image-placeholder{position:absolute;top:0;right:0;bottom:0;left:0}.ant-image-preview{height:100%;text-align:center}.ant-image-preview-body{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.ant-image-preview-img{max-width:100%;max-height:100%;vertical-align:middle;transform:scaleX(1);cursor:-webkit-grab;cursor:grab;transition:transform .3s cubic-bezier(.215,.61,.355,1) 0s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:auto}.ant-image-preview-img-wrapper{position:absolute;top:0;right:0;bottom:0;left:0;transition:transform .3s cubic-bezier(.215,.61,.355,1) 0s}.ant-image-preview-img-wrapper:before{display:inline-block;width:1px;height:50%;margin-right:-1px;content:""}.ant-image-preview-moving .ant-image-preview-img{cursor:-webkit-grabbing;cursor:grabbing}.ant-image-preview-moving .ant-image-preview-img-wrapper{transition-duration:0s}.ant-image-preview-wrap{z-index:1080}.ant-image-preview-operations{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;font-feature-settings:tnum,"tnum";position:absolute;top:0;right:0;z-index:1;display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-align:center;align-items:center;width:100%;color:hsla(0,0%,100%,.85);list-style:none;background:rgba(0,0,0,.1);pointer-events:auto}.ant-image-preview-operations-operation{margin-left:8px;padding:8px;cursor:pointer}.ant-image-preview-operations-operation-disabled{color:hsla(0,0%,100%,.45);pointer-events:none}.ant-image-preview-operations-operation:last-of-type{margin-left:0}.ant-image-preview-operations-icon{font-size:18px}.image-preview-container{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;top:0;left:0;right:0;bottom:0;z-index:99999;background:rgba(0,0,0,.8)}.image-preview-container .image-preview{transition:transform .4s linear;max-width:86%}.image-preview-container .button-group{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;position:absolute;z-index:101;right:10px;top:10px}.image-preview-container .button-group a,.image-preview-container .button-group button{color:rgba(0,0,0,.65);margin-right:10px}.preview-wrp-group{overflow:auto;width:100%;text-align:center}
|
||||
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([[73],{"9Bz6":function(N,g,t){"use strict";t.r(g);var $=t("DjyN"),C=t("NUBc"),V=t("g9YV"),A=t("wCAj"),G=t("5Dmo"),h=t("3S7+"),T=t("WmNS"),c=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 f=[{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"}],v=[{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,w=Object(s.useState)(Object(S.a)({},Object(D.m)())),M=Object(E.a)(w,2),u=M[0],q=M[1],z=Object(s.useState)(),R=Object(E.a)(z,2),r=R[0],b=R[1],Y=Object(s.useState)(1),j=Object(E.a)(Y,2),H=j[0],k=j[1],F=Object(D.k)(),I=u==null||((d=u.type)===null||d===void 0)?void 0:d.split(",");Object(s.useEffect)(function(){function n(){return a.apply(this,arguments)}function a(){return a=Object(O.a)(c.a.mark(function e(){var o;return c.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:I}});case 2:o=i.sent,o&&b(o);case 4:case"end":return i.stop()}},e)})),a.apply(this,arguments)}n()},[]);var J=[{title:"\u6587\u4EF6\u540D",dataIndex:"filename",ellipsis:!0,width:"30%",render:function(a,e,o){return _.a.createElement(h.a,{title:a},_.a.createElement("span",null,a||(e==null?void 0:e.preview_filename)))}},{title:"\u7C7B\u578B",dataIndex:"export_type",ellipsis:!0,render:function(a){return f==null?void 0:f.map(function(e){if(a===(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(a){return v==null?void 0:v.map(function(e){if(a===(e==null?void 0:e.id))return e.name})}},{title:"\u5BFC\u51FA\u4EBA",dataIndex:"user",ellipsis:!0,render:function(a){return a==null?void 0:a.real_name}},{title:"\u4E0B\u8F7D\u6B21\u6570",dataIndex:"downloads"},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_at",width:"20%",render:function(a){return y()(a).format("YYYY-MM-DD HH:mm:ss")}},{title:"\u64CD\u4F5C",ellipsis:!0,render:function(a,e,o){return _.a.createElement("span",{style:{cursor:"pointer",color:"#4cacff"},onClick:function(){Object(W.p)({id:e==null?void 0:e.id})}},(e==null?void 0:e.status)==="finished"?"\u4E0B\u8F7D":"")}}].filter(function(n){return!!n});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(C.a,{hideOnSinglePage:!0,pageSize:10,showSizeChanger:!1,onChange:function(){var n=Object(O.a)(c.a.mark(function a(e,o){var m;return c.a.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return k(e),p.next=3,Object(U.a)("/api/courses/".concat(u.coursesId,"/export_records.json"),{method:"get",params:{page:e,per_page:10,export_types:I}});case 3:m=p.sent,m&&b(m);case 5:case"end":return p.stop()}},a)}));return function(a,e){return n.apply(this,arguments)}}(),style:{textAlign:"center"},current:H,total:r==null?void 0:r.total_count}))};g.default=Object(L.a)(function(P){var l=P.loading,d=P.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
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue