dev_local_v5_gfcxyjs
parent
7baed98857
commit
9bc84c6683
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 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([[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"),f=e("c1Ei"),c=e.n(f),v=e("5Tp6"),x=e("y8nQ"),_=e("Vl3Y"),P=e("k16G"),g=e("q1tI"),n=e.n(g),R=e("uYtH"),b=e("jb+D"),C=e("4i/N"),L=e("WHYC"),p=e("9kvl"),B=e("1bfj"),S=e.n(B),o={height:48,borderRadius:4},T=function(s){var u=s.dispatch,l=_.a.useForm(),A=Object(P.a)(l,1),I=A[0],z=Object(L.l)(),W=Object(g.useState)(""),y=Object(P.a)(W,2),D=y[0],i=y[1],K=function(){var m=Object(v.a)(c.a.mark(function h(O){var a;return c.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(b.a)(O);case 2:if(a=t.sent,!a.status){t.next=6;break}return i(a==null?void 0:a.message),t.abrupt("return");case 6:return t.next=8,u({type:"user/getUserInfo",payload:{}});case 8:p.c.replace("/exam");case 9:case"end":return t.stop()}},h)}));return function(O){return m.apply(this,arguments)}}();return n.a.createElement(_.a,{layout:"vertical",form:I,initialValues:{autologin:!0},onFinish:K,onValuesChange:function(){return i("")}},!!D&&n.a.createElement("div",{className:"res-error-values"},n.a.createElement("span",null,D),n.a.createElement(C.a,{onClick:function(){return i("")}})),n.a.createElement(_.a.Item,{name:"login",label:"\u8D26\u53F7",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7528\u6237\u540D\u3001\u624B\u673A\u53F7\u6216\u90AE\u7BB1"}]},n.a.createElement(E.a,{style:o,size:"large",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\u53F7"})),n.a.createElement(_.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"}]},n.a.createElement(E.a.Password,{style:o,size:"large",placeholder:"\u5BC6\u7801"})),n.a.createElement(_.a.Item,null,n.a.createElement(U.a,{size:"large",type:"primary",htmlType:"submit",block:!0,className:"font16",style:o},"\u767B\u5F55")),n.a.createElement(R.Link,{to:"/login"},"<<\u8FD4\u56DE\u9009\u62E9\u8EAB\u4EFD"))};d.a=Object(p.a)(function(r){var s=r.user,u=r.loading,l=r.globalSetting;return{user:s,globalSetting:l,loading:u.models.index}})(T)}}]);
|
||||
@ -1 +1 @@
|
||||
(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"),g=t("SIvP"),l=t("q1tI"),e=t.n(l),h=t("ruvs"),p=t("7A1C"),U=t.n(p),P=t("WHYC"),a=t("9kvl");function v(n){var _=n.dispatch,i=n.globalSetting,r=n.children,R=Object(g.a)(n,["dispatch","globalSetting","children"]),s=Object(P.l)();Object(l.useEffect)(function(){i.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"},s.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")),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)))}o.default=Object(a.a)(function(n){var _=n.loading,i=n.globalSetting;return{globalSetting:i,loading:_.models.index}})(v)}}]);
|
||||
(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)}}]);
|
||||
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 G=e("miYZ"),A=e("tsqr"),B=e("c1Ei"),l=e.n(B),J=e("/zsF"),F=e("PArb"),$=e("+L6B"),d=e("2/Rp"),P=e("5Tp6"),m=e("k16G"),T=e("SIvP"),Y=e("5NDa"),j=e("5rEg"),o=e("q1tI"),t=e.n(o),L=e("9kvl"),I=e("9ryg"),s=e.n(I),D=e("ErOA"),W=j.a.TextArea,x=function(u){var y=u.user,O=u.account,f=u.globalSetting,Z=u.loading,Q=u.dispatch,V=Object(T.a)(u,["user","account","globalSetting","loading","dispatch"]),K=Object(o.useState)(),v=Object(m.a)(K,2),U=v[0],S=v[1],z=Object(o.useState)(),b=Object(m.a)(z,2),c=b[0],C=b[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 _(){var n;return l.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,Object(D.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()}},_)})),p.apply(this,arguments)}function N(){return g.apply(this,arguments)}function g(){return g=Object(P.a)(l.a.mark(function _(){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(D.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()}},_)})),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(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 N()}},"\u786E\u8BA4"),t.a.createElement(d.a,{style:{marginTop:"10px"},onClick:function(){return E(!1)}},"\u53D6\u6D88")):U||"\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 u=r.user,y=r.account,O=r.loading,f=r.globalSetting;return{user:u,account:y,globalSetting:f,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 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)}}]);
|
||||
@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{y3wM:function(u,t,e){"use strict";e.r(t);var r=e("IIKO"),n=e("q1tI"),s=e.n(n),a=e("m3rI");t.default=function(d){var o=Object(r.a)({},d);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(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)}}}]);
|
||||
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 @@
|
||||
(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"),v=e("c1Ei"),D=e.n(v),U=e("XEnU"),b=e("5Tp6"),z=e("5NDa"),O=e("5rEg"),$=e("14J3"),L=e("BMrR"),H=e("jCWc"),f=e("kPKH"),J=e("sPJy"),r=e("bE4q"),Y=e("y8nQ"),s=e("Vl3Y"),B=e("k16G"),I=e("q1tI"),_=e.n(I),x=e("WHYC"),d=e("uYtH"),g=e("9kvl"),A=e("tgas"),C=e("jlxL"),y=e.n(C),T=e("1vsH"),W=function(t){var l,M=t.classroomList,R=t.globalSetting,G=t.loading,K=t.user,V=t.dispatch,u=Object(x.m)(),n=K.userInfo,j=s.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(s.a,{layout:"vertical",form:i},_.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"}]},_.a.createElement(O.a,{maxLength:60,placeholder:"\u95EE\u5377\u6807\u9898\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26"})),_.a.createElement(s.a.Item,{label:"\u95EE\u5377\u987B\u77E5\uFF1A",name:"polls_description"},_.a.createElement(O.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(s.a.Item,{className:"tr"},_.a.createElement(h.a,{type:"primary",onClick:Object(b.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.R)(["\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(o){var t=o.classroomList,l=o.loading,M=o.user,R=o.globalSetting;return{classroomList:t,globalSetting:R,user:M,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"),b=e("2/Rp"),v=e("c1Ei"),D=e.n(v),U=e("XEnU"),L=e("5Tp6"),$=e("5NDa"),O=e("5rEg"),H=e("14J3"),g=e("BMrR"),J=e("jCWc"),f=e("kPKH"),Y=e("sPJy"),r=e("bE4q"),G=e("y8nQ"),s=e("Vl3Y"),B=e("k16G"),I=e("q1tI"),t=e.n(I),x=e("WHYC"),d=e("uYtH"),y=e("9kvl"),A=e("tgas"),C=e("jlxL"),M=e.n(C),T=e("1vsH"),j=function(_){var l,R=_.classroomList,h=_.globalSetting,V=_.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:[M.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:[M.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(O.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(O.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(b.a,{type:"primary",onClick:Object(L.a)(D.a.mark(function N(){var i,c,P;return D.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(U.a)(Object(U.a)({},i),u));case 6:c=a.sent,c.status===0&&(Object(T.R)(["\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,R=o.user,h=o.globalSetting;return{classroomList:_,globalSetting:h,user:R,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
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue