Commit a054adb5 authored by afc163's avatar afc163

Updates

parent 62342765
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([20],{1006:function(e,t){e.exports={stepForm:"stepForm___2dNH0",stepFormText:"stepFormText___8f9Gp",result:"result___Mvkvs",desc:"desc___1Hidv",information:"information___3Dwf0",label:"label___lLVL4",money:"money___6-ji-",uppercase:"uppercase___3OjmB"}},552:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(591),s=r(a),i=n(654),o=r(i),l=n(655),u=r(l);n(601),n(656),n(657);var c=n(0),f=r(c),d=n(232),p=n(960),m=r(p),h=n(1006),y=r(h);t.default=function(e){var t=e.dispatch,n=e.data,r=function(){t(d.routerRedux.push("/form/step-form"))},a=f.default.createElement("div",{className:y.default.information},f.default.createElement(o.default,null,f.default.createElement(u.default,{span:8,className:y.default.label},"\u4ed8\u6b3e\u8d26\u6237\uff1a"),f.default.createElement(u.default,{span:16},n.payAccount)),f.default.createElement(o.default,null,f.default.createElement(u.default,{span:8,className:y.default.label},"\u6536\u6b3e\u8d26\u6237\uff1a"),f.default.createElement(u.default,{span:16},n.receiverAccount)),f.default.createElement(o.default,null,f.default.createElement(u.default,{span:8,className:y.default.label},"\u6536\u6b3e\u4eba\u59d3\u540d\uff1a"),f.default.createElement(u.default,{span:16},n.receiverName)),f.default.createElement(o.default,null,f.default.createElement(u.default,{span:8,className:y.default.label},"\u8f6c\u8d26\u91d1\u989d\uff1a"),f.default.createElement(u.default,{span:16},f.default.createElement("span",{className:y.default.money},n.amount)," \u5143"))),i=f.default.createElement("div",null,f.default.createElement(s.default,{type:"primary",onClick:r},"\u518d\u8f6c\u4e00\u7b14"),f.default.createElement(s.default,null,"\u67e5\u770b\u8d26\u5355"));return f.default.createElement(m.default,{type:"success",title:"\u64cd\u4f5c\u6210\u529f",description:"\u9884\u8ba1\u4e24\u5c0f\u65f6\u5185\u5230\u8d26",extra:a,actions:i,className:y.default.result})},e.exports=t.default},580:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},581:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),a=n.n(r),s=n(123),i=n.n(s),o=n(0),l=(n.n(o),n(227)),u=n.n(l),c=n(229),f=function(e){var t=e.type,n=e.className,r=void 0===n?"":n,s=e.spin,l=u()(i()({anticon:!0,"anticon-spin":!!s||"loading"===t},"anticon-"+t,!0),r);return o.createElement("i",a()({},Object(c.a)(e,["type","spin"]),{className:l}))};t.default=f},591:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(613),a=n(614);r.a.Group=a.a,t.default=r.a},593:function(e,t){},595:function(e,t,n){"use strict";var r=n(616),a=n(617);n.d(t,"b",function(){return r.a}),n.d(t,"a",function(){return a.a})},598:function(e,t){function n(e,t){var n=0,r=e.length;for(n;n<r&&!1!==t(e[n],n);n++);}function r(e){return"[object Array]"===Object.prototype.toString.apply(e)}function a(e){return"function"==typeof e}e.exports={isFunction:a,isArray:r,each:n}},601:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(228),a=(n.n(r),n(618));n.n(a)},613:function(e,t,n){"use strict";function r(e){return"string"==typeof e}function a(e,t){if(null!=e){var n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&r(e.type)&&E(e.props.children)?v.cloneElement(e,{},e.props.children.split("").join(n)):"string"==typeof e?(E(e)&&(e=e.split("").join(n)),v.createElement("span",null,e)):e}}var s=n(5),i=n.n(s),o=n(123),l=n.n(o),u=n(28),c=n.n(u),f=n(29),d=n.n(f),p=n(39),m=n.n(p),h=n(40),y=n.n(h),v=n(0),_=(n.n(v),n(2)),g=n.n(_),b=n(227),O=n.n(b),x=n(229),j=n(581),w=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&(n[r[a]]=e[r[a]]);return n},N=/^[\u4e00-\u9fa5]{2}$/,E=N.test.bind(N),P=function(e){function t(e){c()(this,t);var n=m()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClick=function(e){n.setState({clicked:!0}),clearTimeout(n.timeout),n.timeout=window.setTimeout(function(){return n.setState({clicked:!1})},500);var t=n.props.onClick;t&&t(e)},n.state={loading:e.loading,clicked:!1},n}return y()(t,e),d()(t,[{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.props.loading,r=e.loading;n&&clearTimeout(this.delayTimeout),"boolean"!=typeof r&&r&&r.delay?this.delayTimeout=window.setTimeout(function(){return t.setState({loading:r})},r.delay):this.setState({loading:r})}},{key:"componentWillUnmount",value:function(){this.timeout&&clearTimeout(this.timeout),this.delayTimeout&&clearTimeout(this.delayTimeout)}},{key:"render",value:function(){var e,t=this.props,n=t.type,r=t.shape,s=t.size,o=t.className,u=t.htmlType,c=t.children,f=t.icon,d=t.prefixCls,p=t.ghost,m=w(t,["type","shape","size","className","htmlType","children","icon","prefixCls","ghost"]),h=this.state,y=h.loading,_=h.clicked,g="";switch(s){case"large":g="lg";break;case"small":g="sm"}var b=O()(d,o,(e={},l()(e,d+"-"+n,n),l()(e,d+"-"+r,r),l()(e,d+"-"+g,g),l()(e,d+"-icon-only",!c&&f),l()(e,d+"-loading",y),l()(e,d+"-clicked",_),l()(e,d+"-background-ghost",p),e)),N=y?"loading":f,E=N?v.createElement(j.default,{type:N}):null,P=1===v.Children.count(c)&&(!N||"loading"===N),k=c?v.Children.map(c,function(e){return a(e,P)}):null;return v.createElement("button",i()({},Object(x.a)(m,["loading"]),{type:u||"button",className:b,onClick:this.handleClick}),E,k)}}]),t}(v.Component);t.a=P,P.__ANT_BUTTON=!0,P.defaultProps={prefixCls:"ant-btn",loading:!1,ghost:!1},P.propTypes={type:g.a.string,shape:g.a.oneOf(["circle","circle-outline"]),size:g.a.oneOf(["large","default","small"]),htmlType:g.a.oneOf(["submit","button","reset"]),onClick:g.a.func,loading:g.a.oneOfType([g.a.bool,g.a.object]),className:g.a.string,icon:g.a.string}},614:function(e,t,n){"use strict";var r=n(5),a=n.n(r),s=n(123),i=n.n(s),o=n(0),l=(n.n(o),n(227)),u=n.n(l),c=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&(n[r[a]]=e[r[a]]);return n},f=function(e){var t=e.prefixCls,n=void 0===t?"ant-btn-group":t,r=e.size,s=e.className,l=c(e,["prefixCls","size","className"]),f="";switch(r){case"large":f="lg";break;case"small":f="sm"}var d=u()(n,i()({},n+"-"+f,f),s);return o.createElement("div",a()({},l,{className:d}))};t.a=f},616:function(e,t,n){"use strict";var r=n(123),a=n.n(r),s=n(5),i=n.n(s),o=n(18),l=n.n(o),u=n(28),c=n.n(u),f=n(29),d=n.n(f),p=n(39),m=n.n(p),h=n(40),y=n.n(h),v=n(0),_=(n.n(v),n(227)),g=n.n(_),b=n(2),O=n.n(b),x=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&(n[r[a]]=e[r[a]]);return n},j=void 0;if("undefined"!=typeof window){var w=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}};window.matchMedia=window.matchMedia||w,j=n(630)}var N=["xxl","xl","lg","md","sm","xs"],E={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},P=function(e){function t(){c()(this,t);var e=m()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.state={screens:{}},e}return y()(t,e),d()(t,[{key:"componentDidMount",value:function(){var e=this;Object.keys(E).map(function(t){return j.register(E[t],{match:function(){"object"===l()(e.props.gutter)&&e.setState(function(e){return{screens:i()({},e.screens,a()({},t,!0))}})},unmatch:function(){"object"===l()(e.props.gutter)&&e.setState(function(e){return{screens:i()({},e.screens,a()({},t,!1))}})},destroy:function(){}})})}},{key:"componentWillUnmount",value:function(){Object.keys(E).map(function(e){return j.unregister(E[e])})}},{key:"getGutter",value:function(){var e=this.props.gutter;if("object"===(void 0===e?"undefined":l()(e)))for(var t=0;t<=N.length;t++)if(this.state.screens[N[t]]&&void 0!==e[N[t]])return e[N[t]];return e}},{key:"render",value:function(){var e,t=this.props,n=t.type,r=t.justify,s=t.align,o=t.className,l=t.style,u=t.children,c=t.prefixCls,f=void 0===c?"ant-row":c,d=x(t,["type","justify","align","className","style","children","prefixCls"]),p=this.getGutter(),m=g()((e={},a()(e,f,!n),a()(e,f+"-"+n,n),a()(e,f+"-"+n+"-"+r,n&&r),a()(e,f+"-"+n+"-"+s,n&&s),e),o),h=p>0?i()({marginLeft:p/-2,marginRight:p/-2},l):l,y=v.Children.map(u,function(e){return e?e.props&&p>0?Object(v.cloneElement)(e,{style:i()({paddingLeft:p/2,paddingRight:p/2},e.props.style)}):e:null}),_=i()({},d);return delete _.gutter,v.createElement("div",i()({},_,{className:m,style:h}),y)}}]),t}(v.Component);t.a=P,P.defaultProps={gutter:0},P.propTypes={type:O.a.string,align:O.a.string,justify:O.a.string,className:O.a.string,children:O.a.node,gutter:O.a.oneOfType([O.a.object,O.a.number]),prefixCls:O.a.string}},617:function(e,t,n){"use strict";var r=n(123),a=n.n(r),s=n(5),i=n.n(s),o=n(18),l=n.n(o),u=n(28),c=n.n(u),f=n(29),d=n.n(f),p=n(39),m=n.n(p),h=n(40),y=n.n(h),v=n(0),_=(n.n(v),n(2)),g=n.n(_),b=n(227),O=n.n(b),x=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&(n[r[a]]=e[r[a]]);return n},j=g.a.oneOfType([g.a.string,g.a.number]),w=g.a.oneOfType([g.a.object,g.a.number]),N=function(e){function t(){return c()(this,t),m()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return y()(t,e),d()(t,[{key:"render",value:function(){var e,t=this.props,n=t.span,r=t.order,s=t.offset,o=t.push,u=t.pull,c=t.className,f=t.children,d=t.prefixCls,p=void 0===d?"ant-col":d,m=x(t,["span","order","offset","push","pull","className","children","prefixCls"]),h={};["xs","sm","md","lg","xl","xxl"].forEach(function(e){var n,r={};"number"==typeof t[e]?r.span=t[e]:"object"===l()(t[e])&&(r=t[e]||{}),delete m[e],h=i()({},h,(n={},a()(n,p+"-"+e+"-"+r.span,void 0!==r.span),a()(n,p+"-"+e+"-order-"+r.order,r.order||0===r.order),a()(n,p+"-"+e+"-offset-"+r.offset,r.offset||0===r.offset),a()(n,p+"-"+e+"-push-"+r.push,r.push||0===r.push),a()(n,p+"-"+e+"-pull-"+r.pull,r.pull||0===r.pull),n))});var y=O()((e={},a()(e,p+"-"+n,void 0!==n),a()(e,p+"-order-"+r,r),a()(e,p+"-offset-"+s,s),a()(e,p+"-push-"+o,o),a()(e,p+"-pull-"+u,u),e),c,h);return v.createElement("div",i()({},m,{className:y}),f)}}]),t}(v.Component);t.a=N,N.propTypes={span:j,order:j,offset:j,push:j,pull:j,className:g.a.string,children:g.a.node,xs:w,sm:w,md:w,lg:w,xl:w}},618:function(e,t){},619:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(228);n.n(r)},630:function(e,t,n){var r=n(631);e.exports=new r},631:function(e,t,n){function r(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}var a=n(632),s=n(598),i=s.each,o=s.isFunction,l=s.isArray;r.prototype={constructor:r,register:function(e,t,n){var r=this.queries,s=n&&this.browserIsIncapable;return r[e]||(r[e]=new a(e,s)),o(t)&&(t={match:t}),l(t)||(t=[t]),i(t,function(t){o(t)&&(t={match:t}),r[e].addHandler(t)}),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=r},632:function(e,t,n){function r(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}var a=n(633),s=n(598).each;r.prototype={constuctor:r,addHandler:function(e){var t=new a(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;s(t,function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){s(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";s(this.handlers,function(t){t[e]()})}},e.exports=r},633:function(e,t){function n(e){this.options=e,!e.deferSetup&&this.setup()}n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=n},654:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(595);t.default=r.b},655:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(595);t.default=r.a},656:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(228),a=(n.n(r),n(593));n.n(a)},657:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(228),a=(n.n(r),n(593));n.n(a)},960:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.className,n=e.type,r=e.title,a=e.description,s=e.extra,o=e.actions,u=(0,c.default)(e,["className","type","title","description","extra","actions"]),f={error:d.default.createElement(l.default,{className:y.default.error,type:"close-circle"}),success:d.default.createElement(l.default,{className:y.default.success,type:"check-circle"})},p=(0,m.default)(y.default.result,t);return d.default.createElement("div",(0,i.default)({className:p},u),d.default.createElement("div",{className:y.default.icon},f[n]),d.default.createElement("div",{className:y.default.title},r),a&&d.default.createElement("div",{className:y.default.description},a),s&&d.default.createElement("div",{className:y.default.extra},s),o&&d.default.createElement("div",{className:y.default.actions},o))}Object.defineProperty(t,"__esModule",{value:!0});var s=n(5),i=r(s),o=n(581),l=r(o),u=n(580),c=r(u);t.default=a,n(619);var f=n(0),d=r(f),p=n(227),m=r(p),h=n(961),y=r(h);e.exports=t.default},961:function(e,t){e.exports={result:"result___Hm4g7",icon:"icon___3gQI1",success:"success___mKc7I",error:"error___1xqXc",title:"title___3_4zg",description:"description___1xuel",extra:"extra___2XdYc",actions:"actions___1qj92"}}});
\ No newline at end of file
This diff is collapsed.
webpackJsonp([22],{1183:function(e,t){e.exports={registerResult:"registerResult___IPmKq",title:"title___2zsbu",actions:"actions___2SvTl"}},576:function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var l=n(591),i=a(l);n(601);var r=n(0),s=a(r),o=n(232),c=n(960),u=a(c),d=n(1183),f=a(d),p=s.default.createElement("div",{className:f.default.title},"\u4f60\u7684\u8d26\u6237\uff1aAntDesign@example.com \u6ce8\u518c\u6210\u529f"),m=s.default.createElement("div",{className:f.default.actions},s.default.createElement("a",{href:""},s.default.createElement(i.default,{size:"large",type:"primary"},"\u67e5\u770b\u90ae\u7bb1")),s.default.createElement(o.Link,{to:"/"},s.default.createElement(i.default,{size:"large"},"\u8fd4\u56de\u9996\u9875")));t.default=function(){return s.default.createElement(u.default,{className:f.default.registerResult,type:"success",title:p,description:"\u6fc0\u6d3b\u90ae\u4ef6\u5df2\u53d1\u9001\u5230\u4f60\u7684\u90ae\u7bb1\u4e2d\uff0c\u90ae\u4ef6\u6709\u6548\u671f\u4e3a24\u5c0f\u65f6\u3002\u8bf7\u53ca\u65f6\u767b\u5f55\u90ae\u7bb1\uff0c\u70b9\u51fb\u90ae\u4ef6\u4e2d\u7684\u94fe\u63a5\u6fc0\u6d3b\u5e10\u6237\u3002",actions:m,style:{marginTop:56}})},e.exports=t.default},580:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}},581:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(5),l=n.n(a),i=n(123),r=n.n(i),s=n(0),o=(n.n(s),n(227)),c=n.n(o),u=n(229),d=function(e){var t=e.type,n=e.className,a=void 0===n?"":n,i=e.spin,o=c()(r()({anticon:!0,"anticon-spin":!!i||"loading"===t},"anticon-"+t,!0),a);return s.createElement("i",l()({},Object(u.a)(e,["type","spin"]),{className:o}))};t.default=d},591:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(613),l=n(614);a.a.Group=l.a,t.default=a.a},601:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(228),l=(n.n(a),n(618));n.n(l)},613:function(e,t,n){"use strict";function a(e){return"string"==typeof e}function l(e,t){if(null!=e){var n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&a(e.type)&&T(e.props.children)?v.cloneElement(e,{},e.props.children.split("").join(n)):"string"==typeof e?(T(e)&&(e=e.split("").join(n)),v.createElement("span",null,e)):e}}var i=n(5),r=n.n(i),s=n(123),o=n.n(s),c=n(28),u=n.n(c),d=n(29),f=n.n(d),p=n(39),m=n.n(p),_=n(40),y=n.n(_),v=n(0),g=(n.n(v),n(2)),h=n.n(g),b=n(227),O=n.n(b),N=n(229),x=n(581),E=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,a=Object.getOwnPropertySymbols(e);l<a.length;l++)t.indexOf(a[l])<0&&(n[a[l]]=e[a[l]]);return n},j=/^[\u4e00-\u9fa5]{2}$/,T=j.test.bind(j),k=function(e){function t(e){u()(this,t);var n=m()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClick=function(e){n.setState({clicked:!0}),clearTimeout(n.timeout),n.timeout=window.setTimeout(function(){return n.setState({clicked:!1})},500);var t=n.props.onClick;t&&t(e)},n.state={loading:e.loading,clicked:!1},n}return y()(t,e),f()(t,[{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.props.loading,a=e.loading;n&&clearTimeout(this.delayTimeout),"boolean"!=typeof a&&a&&a.delay?this.delayTimeout=window.setTimeout(function(){return t.setState({loading:a})},a.delay):this.setState({loading:a})}},{key:"componentWillUnmount",value:function(){this.timeout&&clearTimeout(this.timeout),this.delayTimeout&&clearTimeout(this.delayTimeout)}},{key:"render",value:function(){var e,t=this.props,n=t.type,a=t.shape,i=t.size,s=t.className,c=t.htmlType,u=t.children,d=t.icon,f=t.prefixCls,p=t.ghost,m=E(t,["type","shape","size","className","htmlType","children","icon","prefixCls","ghost"]),_=this.state,y=_.loading,g=_.clicked,h="";switch(i){case"large":h="lg";break;case"small":h="sm"}var b=O()(f,s,(e={},o()(e,f+"-"+n,n),o()(e,f+"-"+a,a),o()(e,f+"-"+h,h),o()(e,f+"-icon-only",!u&&d),o()(e,f+"-loading",y),o()(e,f+"-clicked",g),o()(e,f+"-background-ghost",p),e)),j=y?"loading":d,T=j?v.createElement(x.default,{type:j}):null,k=1===v.Children.count(u)&&(!j||"loading"===j),P=u?v.Children.map(u,function(e){return l(e,k)}):null;return v.createElement("button",r()({},Object(N.a)(m,["loading"]),{type:c||"button",className:b,onClick:this.handleClick}),T,P)}}]),t}(v.Component);t.a=k,k.__ANT_BUTTON=!0,k.defaultProps={prefixCls:"ant-btn",loading:!1,ghost:!1},k.propTypes={type:h.a.string,shape:h.a.oneOf(["circle","circle-outline"]),size:h.a.oneOf(["large","default","small"]),htmlType:h.a.oneOf(["submit","button","reset"]),onClick:h.a.func,loading:h.a.oneOfType([h.a.bool,h.a.object]),className:h.a.string,icon:h.a.string}},614:function(e,t,n){"use strict";var a=n(5),l=n.n(a),i=n(123),r=n.n(i),s=n(0),o=(n.n(s),n(227)),c=n.n(o),u=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,a=Object.getOwnPropertySymbols(e);l<a.length;l++)t.indexOf(a[l])<0&&(n[a[l]]=e[a[l]]);return n},d=function(e){var t=e.prefixCls,n=void 0===t?"ant-btn-group":t,a=e.size,i=e.className,o=u(e,["prefixCls","size","className"]),d="";switch(a){case"large":d="lg";break;case"small":d="sm"}var f=c()(n,r()({},n+"-"+d,d),i);return s.createElement("div",l()({},o,{className:f}))};t.a=d},618:function(e,t){},619:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(228);n.n(a)},960:function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=e.className,n=e.type,a=e.title,l=e.description,i=e.extra,s=e.actions,c=(0,u.default)(e,["className","type","title","description","extra","actions"]),d={error:f.default.createElement(o.default,{className:y.default.error,type:"close-circle"}),success:f.default.createElement(o.default,{className:y.default.success,type:"check-circle"})},p=(0,m.default)(y.default.result,t);return f.default.createElement("div",(0,r.default)({className:p},c),f.default.createElement("div",{className:y.default.icon},d[n]),f.default.createElement("div",{className:y.default.title},a),l&&f.default.createElement("div",{className:y.default.description},l),i&&f.default.createElement("div",{className:y.default.extra},i),s&&f.default.createElement("div",{className:y.default.actions},s))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(5),r=a(i),s=n(581),o=a(s),c=n(580),u=a(c);t.default=l,n(619);var d=n(0),f=a(d),p=n(227),m=a(p),_=n(961),y=a(_);e.exports=t.default},961:function(e,t){e.exports={result:"result___Hm4g7",icon:"icon___3gQI1",success:"success___mKc7I",error:"error___1xqXc",title:"title___3_4zg",description:"description___1xuel",extra:"extra___2XdYc",actions:"actions___1qj92"}}});
\ No newline at end of file
webpackJsonp([23],{572:function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var l=n(0),i=a(l),o=n(232),s=n(975),r=a(s);t.default=function(){return i.default.createElement(r.default,{type:"500",style:{minHeight:500,height:"80%"},linkElement:o.Link})},e.exports=t.default},580:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}},581:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(5),l=n.n(a),i=n(123),o=n.n(i),s=n(0),r=(n.n(s),n(227)),c=n.n(r),u=n(229),d=function(e){var t=e.type,n=e.className,a=void 0===n?"":n,i=e.spin,r=c()(o()({anticon:!0,"anticon-spin":!!i||"loading"===t},"anticon-"+t,!0),a);return s.createElement("i",l()({},Object(u.a)(e,["type","spin"]),{className:r}))};t.default=d},591:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(613),l=n(614);a.a.Group=l.a,t.default=a.a},601:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(228),l=(n.n(a),n(618));n.n(l)},613:function(e,t,n){"use strict";function a(e){return"string"==typeof e}function l(e,t){if(null!=e){var n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&a(e.type)&&w(e.props.children)?h.cloneElement(e,{},e.props.children.split("").join(n)):"string"==typeof e?(w(e)&&(e=e.split("").join(n)),h.createElement("span",null,e)):e}}var i=n(5),o=n.n(i),s=n(123),r=n.n(s),c=n(28),u=n.n(c),d=n(29),f=n.n(d),p=n(39),m=n.n(p),y=n(40),g=n.n(y),h=n(0),v=(n.n(h),n(2)),_=n.n(v),b=n(227),O=n.n(b),k=n(229),E=n(581),j=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,a=Object.getOwnPropertySymbols(e);l<a.length;l++)t.indexOf(a[l])<0&&(n[a[l]]=e[a[l]]);return n},N=/^[\u4e00-\u9fa5]{2}$/,w=N.test.bind(N),T=function(e){function t(e){u()(this,t);var n=m()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClick=function(e){n.setState({clicked:!0}),clearTimeout(n.timeout),n.timeout=window.setTimeout(function(){return n.setState({clicked:!1})},500);var t=n.props.onClick;t&&t(e)},n.state={loading:e.loading,clicked:!1},n}return g()(t,e),f()(t,[{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.props.loading,a=e.loading;n&&clearTimeout(this.delayTimeout),"boolean"!=typeof a&&a&&a.delay?this.delayTimeout=window.setTimeout(function(){return t.setState({loading:a})},a.delay):this.setState({loading:a})}},{key:"componentWillUnmount",value:function(){this.timeout&&clearTimeout(this.timeout),this.delayTimeout&&clearTimeout(this.delayTimeout)}},{key:"render",value:function(){var e,t=this.props,n=t.type,a=t.shape,i=t.size,s=t.className,c=t.htmlType,u=t.children,d=t.icon,f=t.prefixCls,p=t.ghost,m=j(t,["type","shape","size","className","htmlType","children","icon","prefixCls","ghost"]),y=this.state,g=y.loading,v=y.clicked,_="";switch(i){case"large":_="lg";break;case"small":_="sm"}var b=O()(f,s,(e={},r()(e,f+"-"+n,n),r()(e,f+"-"+a,a),r()(e,f+"-"+_,_),r()(e,f+"-icon-only",!u&&d),r()(e,f+"-loading",g),r()(e,f+"-clicked",v),r()(e,f+"-background-ghost",p),e)),N=g?"loading":d,w=N?h.createElement(E.default,{type:N}):null,T=1===h.Children.count(u)&&(!N||"loading"===N),x=u?h.Children.map(u,function(e){return l(e,T)}):null;return h.createElement("button",o()({},Object(k.a)(m,["loading"]),{type:c||"button",className:b,onClick:this.handleClick}),w,x)}}]),t}(h.Component);t.a=T,T.__ANT_BUTTON=!0,T.defaultProps={prefixCls:"ant-btn",loading:!1,ghost:!1},T.propTypes={type:_.a.string,shape:_.a.oneOf(["circle","circle-outline"]),size:_.a.oneOf(["large","default","small"]),htmlType:_.a.oneOf(["submit","button","reset"]),onClick:_.a.func,loading:_.a.oneOfType([_.a.bool,_.a.object]),className:_.a.string,icon:_.a.string}},614:function(e,t,n){"use strict";var a=n(5),l=n.n(a),i=n(123),o=n.n(i),s=n(0),r=(n.n(s),n(227)),c=n.n(r),u=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,a=Object.getOwnPropertySymbols(e);l<a.length;l++)t.indexOf(a[l])<0&&(n[a[l]]=e[a[l]]);return n},d=function(e){var t=e.prefixCls,n=void 0===t?"ant-btn-group":t,a=e.size,i=e.className,r=u(e,["prefixCls","size","className"]),d="";switch(a){case"large":d="lg";break;case"small":d="sm"}var f=c()(n,o()({},n+"-"+d,d),i);return s.createElement("div",l()({},r,{className:f}))};t.a=d},618:function(e,t){},975:function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var l=n(5),i=a(l),o=n(591),s=a(o),r=n(580),c=a(r);n(601);var u=n(0),d=a(u),f=n(227),p=a(f),m=n(976),y=a(m),g=n(977),h=a(g);t.default=function(e){var t=e.className,n=e.linkElement,a=void 0===n?"a":n,l=e.type,o=e.title,r=e.desc,f=e.img,m=e.actions,g=(0,c.default)(e,["className","linkElement","type","title","desc","img","actions"]),v=l in y.default?l:"404",_=(0,p.default)(h.default.exception,t);return d.default.createElement("div",(0,i.default)({className:_},g),d.default.createElement("div",{className:h.default.imgBlock},d.default.createElement("div",{className:h.default.imgEle,style:{backgroundImage:"url("+(f||y.default[v].img)+")"}})),d.default.createElement("div",{className:h.default.content},d.default.createElement("h1",null,o||y.default[v].title),d.default.createElement("div",{className:h.default.desc},r||y.default[v].desc),d.default.createElement("div",{className:h.default.actions},m||(0,u.createElement)(a,{to:"/",href:"/"},d.default.createElement(s.default,{type:"primary"},"\u8fd4\u56de\u9996\u9875")))))},e.exports=t.default},976:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={403:{img:"https://gw.alipayobjects.com/zos/rmsportal/wZcnGqRDyhPOEYFcZDnb.svg",title:"403",desc:"\u62b1\u6b49\uff0c\u4f60\u65e0\u6743\u8bbf\u95ee\u8be5\u9875\u9762"},404:{img:"https://gw.alipayobjects.com/zos/rmsportal/KpnpchXsobRgLElEozzI.svg",title:"404",desc:"\u62b1\u6b49\uff0c\u4f60\u8bbf\u95ee\u7684\u9875\u9762\u4e0d\u5b58\u5728"},500:{img:"https://gw.alipayobjects.com/zos/rmsportal/RVRUAYdCGeYNBWoKiIwB.svg",title:"500",desc:"\u62b1\u6b49\uff0c\u670d\u52a1\u5668\u51fa\u9519\u4e86"}};t.default=a,e.exports=t.default},977:function(e,t){e.exports={exception:"exception___2aJ0K",imgBlock:"imgBlock___2pLzV",imgEle:"imgEle___BEmAa",content:"content___Vjtij",desc:"desc___3v73k",actions:"actions___2I7s9"}}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([28],{1048:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.queryCurrent=t.query=void 0;var u=r(81),a=n(u),s=r(255),c=n(s),o=(t.query=function(){var e=(0,c.default)(a.default.mark(function e(){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,f.default)("/api/users"));case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),t.queryCurrent=function(){var e=(0,c.default)(a.default.mark(function e(){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,f.default)("/api/currentUser"));case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),r(256)),f=n(o)},547:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var u=r(5),a=n(u),s=r(81),c=n(s),o=r(1048);t.default={namespace:"user",state:{list:[],loading:!1,currentUser:{}},effects:{fetch:c.default.mark(function e(t,r){var n,u=r.call,a=r.put;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a({type:"changeLoading",payload:!0});case 2:return e.next=4,u(o.query);case 4:return n=e.sent,e.next=7,a({type:"save",payload:n});case 7:return e.next=9,a({type:"changeLoading",payload:!1});case 9:case"end":return e.stop()}},e,this)}),fetchCurrent:c.default.mark(function e(t,r){var n,u=r.call,a=r.put;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u(o.queryCurrent);case 2:return n=e.sent,e.next=5,a({type:"saveCurrentUser",payload:n});case 5:case"end":return e.stop()}},e,this)})},reducers:{save:function(e,t){return(0,a.default)({},e,{list:t.payload})},changeLoading:function(e,t){return(0,a.default)({},e,{loading:t.payload})},saveCurrentUser:function(e,t){return(0,a.default)({},e,{currentUser:t.payload})},changeNotifyCount:function(e,t){return(0,a.default)({},e,{currentUser:(0,a.default)({},e.currentUser,{notifyCount:t.payload})})}}},e.exports=t.default}});
\ No newline at end of file
webpackJsonp([29],{546:function(e,a,t){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(a,"__esModule",{value:!0});var r=t(5),u=n(r),c=t(81),d=n(c),o=t(237);a.default={namespace:"rule",state:{data:{list:[],pagination:{}},loading:!0},effects:{fetch:d.default.mark(function e(a,t){var n,r=a.payload,u=t.call,c=t.put;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c({type:"changeLoading",payload:!0});case 2:return e.next=4,u(o.queryRule,r);case 4:return n=e.sent,e.next=7,c({type:"save",payload:n});case 7:return e.next=9,c({type:"changeLoading",payload:!1});case 9:case"end":return e.stop()}},e,this)}),add:d.default.mark(function e(a,t){var n,r=a.payload,u=a.callback,c=t.call,s=t.put;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s({type:"changeLoading",payload:!0});case 2:return e.next=4,c(o.addRule,r);case 4:return n=e.sent,e.next=7,s({type:"save",payload:n});case 7:return e.next=9,s({type:"changeLoading",payload:!1});case 9:u&&u();case 10:case"end":return e.stop()}},e,this)}),remove:d.default.mark(function e(a,t){var n,r=a.payload,u=a.callback,c=t.call,s=t.put;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s({type:"changeLoading",payload:!0});case 2:return e.next=4,c(o.removeRule,r);case 4:return n=e.sent,e.next=7,s({type:"save",payload:n});case 7:return e.next=9,s({type:"changeLoading",payload:!1});case 9:u&&u();case 10:case"end":return e.stop()}},e,this)})},reducers:{save:function(e,a){return(0,u.default)({},e,{data:a.payload})},changeLoading:function(e,a){return(0,u.default)({},e,{loading:a.payload})}}},e.exports=a.default}});
\ No newline at end of file
This diff is collapsed.
webpackJsonp([30],{545:function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(5),u=n(r),s=a(81),i=n(s),c=a(237);t.default={namespace:"register",state:{status:void 0},effects:{submit:i.default.mark(function e(t,a){var n,r=a.call,u=a.put;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u({type:"changeSubmitting",payload:!0});case 2:return e.next=4,r(c.fakeRegister);case 4:return n=e.sent,e.next=7,u({type:"registerHandle",payload:n});case 7:return e.next=9,u({type:"changeSubmitting",payload:!1});case 9:case"end":return e.stop()}},e,this)})},reducers:{registerHandle:function(e,t){var a=t.payload;return(0,u.default)({},e,{status:a.status})},changeSubmitting:function(e,t){var a=t.payload;return(0,u.default)({},e,{submitting:a})}}},e.exports=t.default}});
\ No newline at end of file
webpackJsonp([31],{544:function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(5),c=n(r),o=a(81),u=n(o),s=a(237);t.default={namespace:"project",state:{notice:[],loading:!0},effects:{fetchNotice:u.default.mark(function e(t,a){var n,r=a.call,c=a.put;return u.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c({type:"changeLoading",payload:!0});case 2:return e.next=4,r(s.queryProjectNotice);case 4:return n=e.sent,e.next=7,c({type:"saveNotice",payload:Array.isArray(n)?n:[]});case 7:return e.next=9,c({type:"changeLoading",payload:!1});case 9:case"end":return e.stop()}},e,this)})},reducers:{saveNotice:function(e,t){return(0,c.default)({},e,{notice:t.payload})},changeLoading:function(e,t){return(0,c.default)({},e,{loading:t.payload})}}},e.exports=t.default}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment