(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[12],{"A+Fl":function(e,t,a){"use strict";var l=a("g09b");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("IzEo");var n=l(a("bx4M"));a("jCWc");var u=l(a("kPKH"));a("14J3");var r=l(a("BMrR")),c=l(a("jHYr")),s=l(a("MhPg")),o=l(a("l4Ni")),i=l(a("ujKo")),d=l(a("vZ4D")),f=l(a("2Taf"));a("FJo9");var m=l(a("L41K")),E=l(a("q1tI")),v=a("MuoO");a("9F56");var p=l(a("7sca")),T=l(a("pyCQ")),k=l(a("wY1l")),h=l(a("wJ6F")),y=a("CH3+"),g=l(a("cfF8")),L=l(a("Ty1P")),b=l(a("3a4m")),C=a("hAY+"),S=l(a("bx7e")),w=l(a("x/Cw"));function N(e){var t=R();return function(){var a,l=(0,i.default)(e);if(t){var n=(0,i.default)(this).constructor;a=Reflect.construct(l,arguments,n)}else a=l.apply(this,arguments);return(0,o.default)(this,a)}}function R(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var x=m.default.Step,P=function(e){(0,s.default)(l,e);var t=N(l);function l(e){var a;return(0,f.default)(this,l),a=t.call(this,e),a.handleGotoTaskList=function(e){b.default.push({pathname:y.TaskList,query:{taskStatus:e}})},a.queryList=function(){a.setState({loading:!0});var e=g.default.ListTasks({PageLimit:1,PageNum:0});e.then(function(e){var t=e.Data;a.setState({loading:!1,listTasksRes:t})}).catch(function(e){a.setState({loading:!1})})},a.state={listTasksRes:new L.default,loading:!1,license:new w.default},a}return(0,d.default)(l,[{key:"componentDidMount",value:function(){this.queryList()}},{key:"render",value:function(){var e=this;(0,c.default)(this.props);var t=this.state,l=t.listTasksRes,s=l.TaskTotal,o=l.TaskInProcess,i=l.TaskDone,d=t.license,f=d.Credits-d.Used;f=Number.isNaN(f)?0:f;var v=function(e){return E.default.createElement("div",{className:"headerInfo",onClick:e.onClick},E.default.createElement("div",{className:"types"},e.title),E.default.createElement("span",{className:"times"},e.value,e.remark&&E.default.createElement("i",{onClick:e.subClick},e.remark)))};return E.default.createElement(S.default,null,E.default.createElement(p.default,{shadow:!1,back:!1,title:"\u6982\u89c8",className:"overview",bottomBorder:!0},E.default.createElement("div",{className:"bottom-steps-overview"},E.default.createElement(r.default,{gutter:20},E.default.createElement(u.default,{className:"mb20",xl:8,md:12,sm:24},E.default.createElement(v,{onClick:function(){e.handleGotoTaskList(C.FILTER_TASK_STATUS.ALL)},title:"\u8fc1\u79fb\u4efb\u52a1\u6570",value:s})),E.default.createElement(u.default,{className:"mb20",xl:8,md:12,sm:24},E.default.createElement(v,{onClick:function(){e.handleGotoTaskList(C.FILTER_TASK_STATUS.NO_COMPLETE)},title:"\u8fdb\u884c\u4e2d\u4efb\u52a1",value:o})),E.default.createElement(u.default,{className:"mb20",xl:8,md:12,sm:24},E.default.createElement(v,{onClick:function(){e.handleGotoTaskList(C.FILTER_TASK_STATUS.COMPLETE)},title:"\u5df2\u5b8c\u6210\u4efb\u52a1",value:i}))),E.default.createElement(T.default,{text:"\u8fc1\u79fb\u5b9e\u8df5"},E.default.createElement(n.default,{bodyStyle:{paddingTop:50}},E.default.createElement(r.default,{type:"flex",justify:"space-around"},E.default.createElement(u.default,{md:10,sm:20},E.default.createElement(m.default,{direction:"vertical",current:-1},E.default.createElement(x,{title:"\u5b89\u88c5\u8fc1\u79fb\u5de5\u5177",description:E.default.createElement("div",null,E.default.createElement("span",{style:{color:"#89919B"}},"\u4e0b\u8f7d\u8fc1\u79fb\u5de5\u5177\u8fdb\u884c\u73af\u5883\u90e8\u7f72\uff0c"),E.default.createElement(k.default,{to:y.Direct},"\u90e8\u7f72\u73af\u5883"))}),E.default.createElement(x,{title:"\u65b0\u5efa\u8fc1\u79fb\u4efb\u52a1",description:E.default.createElement("div",null,E.default.createElement("span",{style:{color:"#89919B"}},"\u9009\u62e9\u9002\u5408\u7684\u8fc1\u79fb\u6a21\u5f0f\u8fdb\u884c\u4efb\u52a1\u914d\u7f6e\uff0c"),E.default.createElement(k.default,{to:y.TaskCreateConfigEnv},"\u65b0\u5efa\u4efb\u52a1"))}),E.default.createElement(x,{title:"\u5f00\u59cb\u8fdb\u884c\u8fc1\u79fb",description:E.default.createElement("div",null,E.default.createElement("span",{style:{color:"#89919B"}},"\u65b0\u5efa\u4efb\u52a1\u540e\u5373\u53ef\u8fdb\u884c\u8fc1\u79fb\u5de5\u4f5c\uff0c"),E.default.createElement(k.default,{to:y.TaskList},"\u67e5\u770b\u4efb\u52a1"))}))),E.default.createElement(u.default,{md:10,sm:20},E.default.createElement("img",{src:a("XgQ6"),alt:"",style:{marginTop:"40px",display:"none"}}))))))),E.default.createElement(h.default,{refs:function(t){return e.activationLicenseModal=t},onChange:function(){e.queryList(),console.log("\u5237\u65b0\u9875\u9762")}}))}}]),l}(E.default.Component),_=(0,v.connect)(function(e){var t=e.global;return{global:t}})(P);t.default=_},XgQ6:function(e,t,a){e.exports=a.p+"static/test_img01.b89194d4.jpg"}}]);