(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[16],{HaWf:function(e,t,a){e.exports={leftTitle:"leftTitle___3mD5u",wap:"wap___3he48",linkA:"linkA___14Y7R",transferType:"transferType___6oDms",active:"active___2yuSd",hyItemRightTitle:"hyItemRightTitle___35syq",formWap:"formWap___236Jk",steps:"steps___2SF_9"}},toUs:function(e,t,a){"use strict";var l=a("g09b");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("T2oS");var n=l(a("W9HT")),o=l(a("2Taf")),r=l(a("vZ4D")),u=l(a("MhPg")),i=l(a("l4Ni")),f=l(a("ujKo")),c=l(a("q1tI")),s=l(a("3DE7")),d=l(a("yjQv")),m=l(a("rsTz")),p=l(a("3a4m")),y=a("CH3+"),h=l(a("HaWf")),g=a("tAgF"),_=l(a("cfF8")),T=l(a("q0YR")),k=l(a("NLgB"));function v(e){var t=D();return function(){var a,l=(0,f.default)(e);if(t){var n=(0,f.default)(this).constructor;a=Reflect.construct(l,arguments,n)}else a=l.apply(this,arguments);return(0,i.default)(this,a)}}function D(){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 E=function(e,t,a,l){var n,o=arguments.length,r=o<3?t:null===l?l=Object.getOwnPropertyDescriptor(t,a):l;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,a,l);else for(var u=e.length-1;u>=0;u--)(n=e[u])&&(r=(o<3?n(r):o>3?n(t,a,r):n(t,a))||r);return o>3&&r&&Object.defineProperty(t,a,r),r},R=function(e){(0,u.default)(a,e);var t=v(a);function a(e){var l;return(0,o.default)(this,a),l=t.call(this,e),l.isTaskDetail=!0,l.timer=null,l.onCheckPackedData=function(e){},l.onValidateForm=function(e){p.default.push({pathname:y.TaskCompleteCreateTargetHost,query:{taskId:l.props.location.query.taskId}})},l.getTaskDetail=function(){var e=_.default.GetTaskDetail({Id:l.props.location.query.taskId});l.isTaskDetail&&e.then(function(e){var t=e.Data;l.setState({taskDetail:t},function(){1006!==t.ActionState&&(l.timer=setTimeout(function(){l.getTaskDetail()},3e3))})}).catch(function(e){console.error(e)})},l.state={taskDetail:new T.default,loading:!1},l}return(0,r.default)(a,[{key:"componentDidMount",value:function(){this.getTaskDetail()}},{key:"componentWillUnmount",value:function(){this.isTaskDetail=!1,clearTimeout(this.timer)}},{key:"render",value:function(){var e=this.state.taskDetail,t=e.ProgressPrecent,a=e.LastSync,l=e.ActionState;return c.default.createElement("div",null,c.default.createElement(s.default,{layout:"horizontal",style:{marginTop:"90px"}},1===a?c.default.createElement(d.default,Object.assign({},m.default.getNoTitleFormItemLayout3()),c.default.createElement("h3",{className:h.default.title},c.default.createElement(n.default,{size:"small",style:{marginRight:"10px"}}),"\u5f53\u524d\u6570\u636e\u540c\u6b65",t,"\uff0c\u7b49\u5f85\u6700\u540e\u4e00\u6b21\u6570\u636e\u540c\u6b65")):1005===l?c.default.createElement(d.default,Object.assign({},m.default.getNoTitleFormItemLayout3()),c.default.createElement("h3",{className:h.default.title},c.default.createElement(n.default,{size:"small",style:{marginRight:"10px"}}),"\u6b63\u5728\u6267\u884c\u865a\u62df\u5316\u64cd\u4f5c\uff0c\u8bf7\u7b49\u5f85")):1006===l?c.default.createElement(d.default,Object.assign({},m.default.getNoTitleFormItemLayout3()),c.default.createElement("h3",{className:h.default.title},c.default.createElement(g.IconFont,{type:"icon-icon_complete",style:{fontSize:"18px",marginRight:"10px"}}),"\u865a\u62df\u5316\u5b8c\u6210\uff0c\u53ef\u4ee5\u521b\u5efa\u76ee\u6807\u865a\u62df\u673a")):"0"===t?"":c.default.createElement(d.default,Object.assign({},m.default.getNoTitleFormItemLayout3()),c.default.createElement("h3",{className:h.default.title},c.default.createElement(n.default,{size:"small",style:{marginRight:"10px"}}),"\u6b63\u5728\u540c\u6b65\u6570\u636e\uff0c",t,"...")),c.default.createElement(k.default,{formItemLayout:m.default.layerFormItemLayout,style:{marginTop:"90px"},okButtonProps:{disabled:!(2===a&&1006===l)},onOKButtonClick:this.onValidateForm})))}}]),a}(c.default.Component);R=E([s.default.create()],R);var I=R;t.default=I}}]);