Commit df6a1b91 authored by afc163's avatar afc163

Updates

parent bec3155d
This diff is collapsed.
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 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.
This diff is collapsed.
webpackJsonp([22],{1224: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(15),r=a(i),s=n(831),o=a(s),c=n(829),u=a(c);t.default=l,n(869);var d=n(6),f=a(d),p=n(310),m=a(p),_=n(1225),y=a(_);e.exports=t.default},1225: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"}},1447:function(e,t){e.exports={registerResult:"registerResult___IPmKq",title:"title___2zsbu",actions:"actions___2SvTl"}},826: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(841),i=a(l);n(851);var r=n(6),s=a(r),o=n(315),c=n(1224),u=a(c),d=n(1447),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},829: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}},831:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(15),l=n.n(a),i=n(195),r=n.n(i),s=n(6),o=(n.n(s),n(310)),c=n.n(o),u=n(312),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},841:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(863),l=n(864);a.a.Group=l.a,t.default=a.a},851:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(311),l=(n.n(a),n(868));n.n(l)},863: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(15),r=n.n(i),s=n(195),o=n.n(s),c=n(65),u=n.n(c),d=n(66),f=n.n(d),p=n(76),m=n.n(p),_=n(77),y=n.n(_),v=n(6),g=(n.n(v),n(11)),h=n.n(g),b=n(310),O=n.n(b),N=n(312),x=n(831),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}},864:function(e,t,n){"use strict";var a=n(15),l=n.n(a),i=n(195),r=n.n(i),s=n(6),o=(n.n(s),n(310)),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},868:function(e,t){},869:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(311);n.n(a)}});
\ No newline at end of file
webpackJsonp([22],{1221: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(15),r=a(i),s=n(828),o=a(s),c=n(826),u=a(c);t.default=l,n(866);var d=n(6),f=a(d),p=n(307),m=a(p),_=n(1222),y=a(_);e.exports=t.default},1222: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"}},1444:function(e,t){e.exports={registerResult:"registerResult___IPmKq",title:"title___2zsbu",actions:"actions___2SvTl"}},823: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(838),i=a(l);n(848);var r=n(6),s=a(r),o=n(312),c=n(1221),u=a(c),d=n(1444),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},826: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}},828:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(15),l=n.n(a),i=n(190),r=n.n(i),s=n(6),o=(n.n(s),n(307)),c=n.n(o),u=n(309),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},838:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(860),l=n(861);a.a.Group=l.a,t.default=a.a},848:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(308),l=(n.n(a),n(865));n.n(l)},860: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(15),r=n.n(i),s=n(190),o=n.n(s),c=n(64),u=n.n(c),d=n(65),f=n.n(d),p=n(76),m=n.n(p),_=n(77),y=n.n(_),v=n(6),g=(n.n(v),n(11)),h=n.n(g),b=n(307),O=n.n(b),N=n(309),x=n(828),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}},861:function(e,t,n){"use strict";var a=n(15),l=n.n(a),i=n(190),r=n.n(i),s=n(6),o=(n.n(s),n(307)),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},865:function(e,t){},866:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(308);n.n(a)}});
\ No newline at end of file
webpackJsonp([28],{1312: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(129),a=n(u),s=r(342),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(343)),f=n(o)},797: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(15),a=n(u),s=r(129),c=n(s),o=r(1312);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([28],{1309: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(129),a=n(u),s=r(339),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(340)),f=n(o)},794: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(15),a=n(u),s=r(129),c=n(s),o=r(1309);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],{796: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(15),u=n(r),c=t(129),d=n(c),o=t(321);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
webpackJsonp([29],{793: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(15),u=n(r),c=t(129),d=n(c),o=t(318);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],{795: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(15),u=n(r),s=a(129),i=n(s),c=a(321);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([30],{792: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(15),u=n(r),s=a(129),i=n(s),c=a(318);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],{794: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(15),c=n(r),o=a(129),u=n(o),s=a(321);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
webpackJsonp([31],{791: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(15),c=n(r),o=a(129),u=n(o),s=a(318);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
webpackJsonp([33],{792:function(e,t,a){"use strict";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(15),n=s(r),u=a(129),c=s(u),f=a(321);t.default={namespace:"monitor",state:{tags:[]},effects:{fetchTags:c.default.mark(function e(t,a){var s,r=a.call,n=a.put;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r(f.queryTags);case 2:return s=e.sent,e.next=5,n({type:"saveTags",payload:s.list});case 5:case"end":return e.stop()}},e,this)})},reducers:{saveTags:function(e,t){return(0,n.default)({},e,{tags:t.payload})}}},e.exports=t.default}});
\ No newline at end of file
webpackJsonp([33],{789:function(e,t,a){"use strict";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(15),n=s(r),u=a(129),c=s(u),f=a(318);t.default={namespace:"monitor",state:{tags:[]},effects:{fetchTags:c.default.mark(function e(t,a){var s,r=a.call,n=a.put;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r(f.queryTags);case 2:return s=e.sent,e.next=5,n({type:"saveTags",payload:s.list});case 5:case"end":return e.stop()}},e,this)})},reducers:{saveTags:function(e,t){return(0,n.default)({},e,{tags: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.
......@@ -30,6 +30,6 @@
<div id="root"></div>
<script src="https://gw.alipayobjects.com/as/g/??datavis/g2/2.3.12/index.js,datavis/g-cloud/1.0.2/index.js,datavis/g2-plugin-slider/1.2.1/slider.js"></script>
<script type="text/javascript" src="/index.f3ed8479.js"></script></body>
<script type="text/javascript" src="/index.c6dc41c4.js"></script></body>
</html>
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