parent
aa79d2c818
commit
2e22d4b89d
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,15],{"1bfj":function(M,d,e){},Y8AM:function(M,d,e){"use strict";var j=e("+L6B"),U=e("2/Rp"),F=e("5NDa"),E=e("5rEg"),b=e("WmNS"),c=e.n(b),f=e("9og8"),x=e("y8nQ"),t=e("Vl3Y"),p=e("tJVT"),P=e("q1tI"),_=e.n(P),v=e("55Ip"),R=e("jb+D"),C=e("4i/N"),L=e("Ty5D"),D=e("9kvl"),B=e("1bfj"),S=e.n(B),o={height:48,borderRadius:4},T=function(s){var l=s.dispatch,u=t.a.useForm(),I=Object(p.a)(u,1),A=I[0],z=Object(L.l)(),W=Object(P.useState)(""),y=Object(p.a)(W,2),h=y[0],m=y[1],K=function(){var i=Object(f.a)(c.a.mark(function O(g){var n;return c.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,Object(R.a)(g);case 2:if(n=a.sent,!n.status){a.next=6;break}return m(n==null?void 0:n.message),a.abrupt("return");case 6:return a.next=8,l({type:"user/getUserInfo",payload:{}});case 8:D.c.replace("/exam");case 9:case"end":return a.stop()}},O)}));return function(g){return i.apply(this,arguments)}}();return _.a.createElement(t.a,{layout:"vertical",form:A,initialValues:{autologin:!0},onFinish:K,onValuesChange:function(){return m("")}},!!h&&_.a.createElement("div",{className:"res-error-values"},_.a.createElement("span",null,h),_.a.createElement(C.a,{onClick:function(){return m("")}})),_.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(E.a,{style:o,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(E.a.Password,{style:o,size:"large",placeholder:"\u5BC6\u7801"})),_.a.createElement(t.a.Item,null,_.a.createElement(U.a,{size:"large",type:"primary",htmlType:"submit",block:!0,className:"font16",style:o},"\u767B\u5F55")),_.a.createElement(v.Link,{to:"/login"},"<<\u8FD4\u56DE\u9009\u62E9\u8EAB\u4EFD"))};d.a=Object(D.a)(function(r){var s=r.user,l=r.loading,u=r.globalSetting;return{user:s,globalSetting:u,loading:l.models.index}})(T)}}]);
|
||||
@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[17,15],{"1bfj":function(M,d,e){},Y8AM:function(M,d,e){"use strict";var K=e("+L6B"),U=e("2/Rp"),F=e("5NDa"),E=e("5rEg"),f=e("c1Ei"),p=e.n(f),v=e("5Tp6"),x=e("y8nQ"),n=e("Vl3Y"),c=e("k16G"),P=e("q1tI"),t=e.n(P),b=e("uYtH"),R=e("jb+D"),C=e("4i/N"),L=e("WHYC"),y=e("9kvl"),B=e("1bfj"),S=e.n(B),o={height:48,borderRadius:4},T=function(s){var l=s.dispatch,u=n.a.useForm(),A=Object(c.a)(u,1),I=A[0],V=Object(L.l)(),j=Object(P.useState)(""),D=Object(c.a)(j,2),h=D[0],m=D[1],W=function(){var i=Object(v.a)(p.a.mark(function O(g){var a;return p.a.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,Object(R.a)(g);case 2:if(a=_.sent,!a.status){_.next=6;break}return m(a==null?void 0:a.message),_.abrupt("return");case 6:return _.next=8,l({type:"user/getUserInfo",payload:{}});case 8:y.c.replace("/exam");case 9:case"end":return _.stop()}},O)}));return function(g){return i.apply(this,arguments)}}();return t.a.createElement(n.a,{layout:"vertical",form:I,initialValues:{autologin:!0},onFinish:W,onValuesChange:function(){return m("")}},!!h&&t.a.createElement("div",{className:"res-error-values"},t.a.createElement("span",null,h),t.a.createElement(C.a,{onClick:function(){return m("")}})),t.a.createElement(n.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(E.a,{style:o,size:"large",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\u53F7"})),t.a.createElement(n.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(E.a.Password,{style:o,size:"large",placeholder:"\u5BC6\u7801"})),t.a.createElement(n.a.Item,null,t.a.createElement(U.a,{size:"large",type:"primary",htmlType:"submit",block:!0,className:"font16",style:o},"\u767B\u5F55")),t.a.createElement(b.Link,{to:"/login"},"<<\u8FD4\u56DE\u9009\u62E9\u8EAB\u4EFD"))};d.a=Object(y.a)(function(r){var s=r.user,l=r.loading,u=r.globalSetting;return{user:s,globalSetting:u,loading:l.models.index}})(T)}}]);
|
||||
@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{"7A1C":function(c,o,t){},zCei:function(c,o,t){"use strict";t.r(o);var E=t("IIKO"),p=t("SIvP"),i=t("q1tI"),e=t.n(i),h=t("ruvs"),g=t("7A1C"),U=t.n(g),P=t("WHYC"),a=t("9kvl");function v(n){var _=n.dispatch,s=n.globalSetting,r=n.children,R=Object(p.a)(n,["dispatch","globalSetting","children"]),l=Object(P.l)();Object(i.useEffect)(function(){s.setting||_({type:"globalSetting/query"})},[]);var u=function(m){return e.a.createElement("div",{className:"register-nav"},m===1&&e.a.createElement("div",null,"\u7BA1\u7406\u5458/\u6559\u5E08\u767B\u5F55"),m===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},R)),e.a.createElement("div",{className:"register-bg"},l.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")),l.pathname==="/login/teacher"&&e.a.createElement("div",{className:"register-panel"},u(1),r),l.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}})(v)}}]);
|
||||
@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{"7A1C":function(d,a,t){},zCei:function(d,a,t){"use strict";t.r(a);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"),o=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(){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")),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)))}a.default=Object(o.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
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(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 J=e("miYZ"),A=e("tsqr"),B=e("c1Ei"),l=e.n(B),$=e("/zsF"),j=e("PArb"),Y=e("+L6B"),d=e("2/Rp"),D=e("5Tp6"),m=e("k16G"),F=e("SIvP"),Z=e("5NDa"),T=e("5rEg"),o=e("q1tI"),t=e.n(o),L=e("9kvl"),I=e("9ryg"),s=e.n(I),g=e("ErOA"),W=T.a.TextArea,x=function(_){var y=_.user,O=_.account,b=_.globalSetting,Q=_.loading,V=_.dispatch,X=Object(F.a)(_,["user","account","globalSetting","loading","dispatch"]),K=Object(o.useState)(),f=Object(m.a)(K,2),v=f[0],S=f[1],w=Object(o.useState)(),U=Object(m.a)(w,2),c=U[0],C=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(D.a)(l.a.mark(function u(){var n;return l.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,Object(g.a)("/api/users/honor.json",{method:"get"});case 2:n=a.sent,n&&(S(n==null?void 0:n.honor),C(n==null?void 0:n.honor));case 4:case"end":return a.stop()}},u)})),p.apply(this,arguments)}function z(){return h.apply(this,arguments)}function h(){return h=Object(D.a)(l.a.mark(function u(){var n;return l.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(c){a.next=3;break}return A.b.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),a.abrupt("return");case 3:return a.next=5,Object(g.a)("/api/users/brief_introduction.json",{method:"post",body:{honor:c}});case 5:n=a.sent,n&&(M(),E(!1));case 7:case"end":return a.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(W,{value:c,onChange:function(n){return C(n.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")):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(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,y=r.account,O=r.loading,b=r.globalSetting;return{user:_,account:y,globalSetting:b,loading:O.models.index}})(x)}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{"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 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"),D=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),b=e("ErOA"),I=j.a.TextArea,x=function(n){var g=n.user,O=n.account,f=n.globalSetting,Y=n.loading,Z=n.dispatch,Q=Object(T.a)(n,["user","account","globalSetting","loading","dispatch"]),K=Object(o.useState)(),y=Object(m.a)(K,2),C=y[0],S=y[1],w=Object(o.useState)(),U=Object(m.a)(w,2),c=U[0],v=U[1],z=Object(o.useState)(!1),R=Object(m.a)(z,2),H=R[0],E=R[1];Object(o.useEffect)(function(){M()},[]);function M(){return p.apply(this,arguments)}function p(){return p=Object(D.a)(l.a.mark(function u(){var a;return l.a.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,Object(b.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 N(){return h.apply(this,arguments)}function h(){return h=Object(D.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(b.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(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 n=r.user,g=r.account,O=r.loading,f=r.globalSetting;return{user:n,account:g,globalSetting:f,loading:O.models.index}})(x)}}]);
|
||||
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{y3wM:function(u,t,e){"use strict";e.r(t);var s=e("IIKO"),n=e("q1tI"),r=e.n(n),a=e("m3rI");t.default=function(l){var o=Object(s.a)({},l);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)}}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{y3wM:function(l,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)}}}]);
|
||||
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
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue