dev_local_v5_hhsly
陈博文 4 years ago
parent 31c06146d1
commit 42a7a8d3c1

File diff suppressed because one or more lines are too long

@ -93,6 +93,6 @@
gtag('config', 'UA-198293321-1');
</script> -->
<script src="/react/build/umi.05a3edc4.js"></script>
<script src="/react/build/umi.28988b76.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

@ -1 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{"7A1C":function(E,_,n){},zCei:function(E,_,n){"use strict";n.r(_);var d=n("IIKO"),g=n("SIvP"),r=n("q1tI"),e=n.n(r),P=n("ruvs"),h=n("7A1C"),U=n.n(h),p=n("WHYC"),a=n("9kvl");function v(t){var i=t.dispatch,o=t.globalSetting,s=t.children,R=Object(g.a)(t,["dispatch","globalSetting","children"]),l=Object(p.l)();Object(r.useEffect)(function(){o.setting||i({type:"globalSetting/query"})},[]);var c=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(P.a,Object(d.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"},c(1),s),l.pathname==="/login/student"&&e.a.createElement("div",{className:"register-panel"},c(2),s)))}_.default=Object(a.a)(function(t){var i=t.loading,o=t.globalSetting;return{globalSetting:o,loading:i.models.index}})(v)}}]);

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{"7A1C":function(E,_,t){},zCei:function(E,_,t){"use strict";t.r(_);var d=t("IIKO"),g=t("SIvP"),r=t("q1tI"),e=t.n(r),P=t("ruvs"),h=t("7A1C"),U=t.n(h),p=t("WHYC"),a=t("9kvl");function v(n){var o=n.dispatch,l=n.globalSetting,s=n.children,R=Object(g.a)(n,["dispatch","globalSetting","children"]),i=Object(p.l)();Object(r.useEffect)(function(){l.setting||o({type:"globalSetting/query"})},[]);var c=function(u){return e.a.createElement("div",{className:"register-nav"},u===1&&e.a.createElement("div",null,"\u7BA1\u7406\u5458/\u6559\u5E08\u767B\u5F55"),u===2&&e.a.createElement("div",null,"\u5B66\u751F\u767B\u5F55"))};return e.a.createElement("div",{className:"register-container"},e.a.createElement(P.a,Object(d.a)({isLogin:!0},R)),e.a.createElement("div",{className:"register-bg"},i.pathname==="/login"&&e.a.createElement("div",{className:"login-select"},e.a.createElement("span",{onClick:function(){a.c.push("/login/teacher")}},e.a.createElement("i",{className:"iconfont icon-laoshi"}),"\u6559\u5E08\u767B\u5F55"),e.a.createElement("span",{style:{marginRight:0},onClick:function(){a.c.push("/login/student")}},e.a.createElement("i",{className:"iconfont icon-xuesheng"}),"\u5B66\u751F\u767B\u5F55")),i.pathname==="/login/teacher"&&e.a.createElement("div",{className:"register-panel"},c(1),s),i.pathname==="/login/student"&&e.a.createElement("div",{className:"register-panel"},c(2),s)))}_.default=Object(a.a)(function(n){var o=n.loading,l=n.globalSetting;return{globalSetting:l,loading:o.models.index}})(v)}}]);

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{"9ryg":function(P,i,t){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,t){"use strict";t.r(i);var J=t("miYZ"),A=t("tsqr"),$=t("/zsF"),B=t("PArb"),Y=t("+L6B"),E=t("2/Rp"),h=t("5Tp6"),m=t("k16G"),F=t("SIvP"),Z=t("5NDa"),j=t("5rEg"),T=t("c1Ei"),l=t.n(T),o=t("q1tI"),e=t.n(o),L=t("9kvl"),I=t("9ryg"),r=t.n(I),O=t("ErOA"),W=j.a.TextArea,K=function(n){var g=n.user,U=n.account,y=n.globalSetting,Q=n.loading,V=n.dispatch,X=Object(F.a)(n,["user","account","globalSetting","loading","dispatch"]),S=Object(o.useState)(),f=Object(m.a)(S,2),v=f[0],x=f[1],H=Object(o.useState)(),C=Object(m.a)(H,2),d=C[0],R=C[1],w=Object(o.useState)(!1),M=Object(m.a)(w,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 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,_&&(b(),c(!1));case 7:case"end":return a.stop()}},u)})),D.apply(this,arguments)}return e.a.createElement("section",{className:r.a.wrap},e.a.createElement("div",{className:r.a.content},e.a.createElement("div",{className:"".concat(r.a.titleWrap," mt10")},e.a.createElement("div",{className:r.a.title,style:{width:"100%",display:"flex"}},e.a.createElement("span",{style:{flex:"1"}},e.a.createElement("span",null,"\u6210\u679C\u8363\u8A89"),e.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")),e.a.createElement(E.a,{onClick:function(){return c(!0)}},"\u7F16\u8F91"))),e.a.createElement(B.a,null),N?e.a.createElement("div",null,e.a.createElement(W,{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}),e.a.createElement(E.a,{type:"primary",style:{marginRight:"10px",marginTop:"10px"},onClick:function(){return z()}},"\u786E\u8BA4"),e.a.createElement(E.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~"),e.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)}}]);

@ -1 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{"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"),J=e("/zsF"),F=e("PArb"),$=e("+L6B"),d=e("2/Rp"),P=e("5Tp6"),E=e("k16G"),b=e("SIvP"),Y=e("5NDa"),T=e("5rEg"),L=e("c1Ei"),l=e.n(L),o=e("q1tI"),t=e.n(o),I=e("9kvl"),W=e("9ryg"),r=e.n(W),h=e("ErOA"),j=T.a.TextArea,K=function(n){var O=n.user,U=n.account,y=n.globalSetting,Z=n.loading,Q=n.dispatch,V=Object(b.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(F.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)}}]);

@ -1 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{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)}}}]);

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{y3wM:function(s,n,o){"use strict";o.r(n);var e=o("IIKO"),_=o("q1tI"),a=o.n(_),r=o("m3rI");n.default=function(l){var t=Object(e.a)({},l);return Object(_.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

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[83],{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"),U=_("XEnU"),p=_("5Tp6"),z=_("5NDa"),O=_("5rEg"),$=_("14J3"),B=_("BMrR"),H=_("jCWc"),R=_("kPKH"),J=_("sPJy"),r=_("bE4q"),Y=_("y8nQ"),n=_("Vl3Y"),L=_("k16G"),I=_("c1Ei"),g=_.n(I),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(L.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(B.a,{style:{width:"100%"}},e.a.createElement(R.a,{flex:"1"},e.a.createElement("strong",{className:"font20 ml5"},"\u65B0\u5EFA\u95EE\u5377")),e.a.createElement(R.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(O.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(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"})),e.a.createElement(n.a.Item,{className:"tr"},e.a.createElement(y.a,{type:"primary",onClick:Object(p.a)(g.a.mark(function N(){var i,c,P;return g.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(U.a)(Object(U.a)({},i),u));case 6:c=a.sent,c.status===0&&(Object(x.R)(["\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([[83],{jlxL:function(p,m,_){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,_){"use strict";_.r(m);var S=_("+L6B"),y=_("2/Rp"),D=_("XEnU"),B=_("5Tp6"),$=_("5NDa"),U=_("5rEg"),H=_("14J3"),L=_("BMrR"),J=_("jCWc"),O=_("kPKH"),Y=_("sPJy"),r=_("bE4q"),V=_("y8nQ"),l=_("Vl3Y"),g=_("k16G"),I=_("c1Ei"),R=_.n(I),b=_("q1tI"),e=_.n(b),A=_("WHYC"),E=_("uYtH"),M=_("9kvl"),C=_("tgas"),T=_("jlxL"),h=_.n(T),x=_("1vsH"),W=function(t){var n,f=t.classroomList,v=t.globalSetting,G=t.loading,K=t.user,Q=t.dispatch,u=Object(A.m)(),s=K.userInfo,j=l.a.useForm(),F=Object(g.a)(j,1),d=F[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||((n=s.course)===null||n===void 0)?void 0:n.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(O.a,{flex:"1"},e.a.createElement("strong",{className:"font20 ml5"},"\u65B0\u5EFA\u95EE\u5377")),e.a.createElement(O.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(l.a,{layout:"vertical",form:d},e.a.createElement(l.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(U.a,{maxLength:60,placeholder:"\u95EE\u5377\u6807\u9898\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26"})),e.a.createElement(l.a.Item,{label:"\u95EE\u5377\u987B\u77E5\uFF1A",name:"polls_description"},e.a.createElement(U.a.TextArea,{rows:6,maxLength:100,placeholder:"\u8BF7\u5728\u6B64\u8F93\u5165\u672C\u6B21\u95EE\u5377\u7B54\u9898\u7684\u76F8\u5173\u8BF4\u660E\uFF0C\u6700\u5927\u9650\u5236100\u4E2A\u5B57\u7B26"})),e.a.createElement(l.a.Item,{className:"tr"},e.a.createElement(y.a,{type:"primary",onClick:Object(B.a)(R.a.mark(function N(){var i,c,P;return R.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(C.d)(Object(D.a)(Object(D.a)({},i),u));case 6:c=a.sent,c.status===0&&(Object(x.R)(["\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,n=o.loading,f=o.user,v=o.globalSetting;return{classroomList:t,globalSetting:v,user:f,loading:n.effects}})(W)}}]);

File diff suppressed because one or more lines are 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…
Cancel
Save