(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[14],{DFXE:function(t,e,a){"use strict";var n=a("g09b");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=n(a("2Taf")),o=n(a("vZ4D")),r=n(a("MhPg")),u=n(a("l4Ni")),i=n(a("ujKo")),c=n(a("q1tI")),f=n(a("3DE7")),s=n(a("yjQv")),d=n(a("rsTz")),p=n(a("9H8L")),m=n(a("3a4m")),y=a("CH3+"),h=n(a("SUr0")),k=n(a("cfF8")),v=n(a("07P5")),_=a("yjBh"),g=n(a("q0YR"));function T(t){var e=E();return function(){var a,n=(0,i.default)(t);if(e){var l=(0,i.default)(this).constructor;a=Reflect.construct(n,arguments,l)}else a=n.apply(this,arguments);return(0,u.default)(this,a)}}function E(){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(t){return!1}}var D=function(t,e,a,n){var l,o=arguments.length,r=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,a):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(t,e,a,n);else for(var u=t.length-1;u>=0;u--)(l=t[u])&&(r=(o<3?l(r):o>3?l(e,a,r):l(e,a))||r);return o>3&&r&&Object.defineProperty(e,a,r),r},S=function(t){(0,r.default)(a,t);var e=T(a);function a(t){var n;return(0,l.default)(this,a),n=e.call(this,t),n.onValidateForm=function(t){n.setState({loading:!0});var e=k.default.CompleteTask({Id:n.props.location.query.taskId});e.then(function(t){n.setState({loading:!1});var e=n.state.taskDetail.ActionState===_.ActionStateEnum.TaskInRecovery?y.TaskCompleteSwitchOperations:y.TaskCompleteSyncData;m.default.push({pathname:e,query:{taskId:n.props.location.query.taskId}})}).catch(function(t){console.error(t),n.setState({loading:!1})})},n.handleStopClick=function(){n.state.taskDetail&&0===n.state.taskDetail.LastSync?v.default.confirmEx({title:"\u8fc1\u79fb\u786e\u8ba4",okText:"\u786e\u8ba4",cancelText:"\u53d6\u6d88",content:c.default.createElement("div",null,c.default.createElement("span",null,"\u5f00\u59cb\u5b8c\u6210\u8fc1\u79fb\u540e\uff0c\u7cfb\u7edf\u4f1a\u5c06\u8fc1\u79fb\u81f3\u4e91\u7aef\u7684\u6570\u636e\u8fdb\u884c\u8f6c\u6362\uff0c\u4ee5\u521b\u5efa",c.default.createElement("br",null),"\u76ee\u6807\u865a\u62df\u673a\uff0c\u8f6c\u6362\u540e\u5c06\u65e0\u6cd5\u7ee7\u7eed\u505a\u589e\u91cf\u540c\u6b65\uff0c\u8bf7\u786e\u8ba4\u662f\u5426\u8981\u8fdb\u884c",c.default.createElement("br",null),"\u6700\u7ec8\u7684\u8fc1\u79fb\u64cd\u4f5c\uff1f")),onOk:function(){n.onValidateForm("")}}):n.onValidateForm("")},n.getTaskDetail=function(){n.setState({loading:!0});var t=k.default.GetTaskDetail({Id:n.props.location.query.taskId});t.then(function(t){var e=t.Data;n.setState({taskDetail:e,loading:!1})}).catch(function(t){n.setState({loading:!1})})},n.state={taskDetail:new g.default,loading:!1},n}return(0,o.default)(a,[{key:"componentDidMount",value:function(){this.getTaskDetail()}},{key:"render",value:function(){return c.default.createElement("div",null,c.default.createElement(f.default,{layout:"horizontal",style:{marginTop:"90px"}},c.default.createElement(s.default,Object.assign({},d.default.getNoTitleFormItemLayout3(),{label:""}),c.default.createElement("h4",{className:h.default.title},"\u5207\u6362\u4e1a\u52a1\u524d\u9700\u505c\u6b62\u6e90\u4e3b\u673a\u4e0a\u7684\u4e1a\u52a1\uff0c\u907f\u514d\u4e1a\u52a1\u5207\u6362\u671f\u95f4\u6709\u65b0\u6570\u636e\u5199\u5165\u5bfc\u81f4\u4e24\u7aef\u6570\u636e\u4e0d\u4e00\u81f4\u3002"),c.default.createElement("h4",{className:h.default.title},"\u505c\u6b62\u4e1a\u52a1\u540e\u7cfb\u7edf\u5c06\u4f1a\u8fdb\u884c\u4e00\u6b21\u589e\u91cf\u540c\u6b65\uff0c\u786e\u4fdd\u4e24\u7aef\u6570\u636e\u4e00\u81f4\u540e\u518d\u8fdb\u884c\u4e1a\u52a1\u5207\u6362\u3002")),c.default.createElement("div",{style:{marginTop:"80px"}},c.default.createElement(s.default,Object.assign({},d.default.getNoTitleFormItemLayout3()),c.default.createElement(p.default,{type:"primary",onClick:this.handleStopClick},"\u6211\u5df2\u505c\u6b62\u4e1a\u52a1"),c.default.createElement(p.default,{style:{marginLeft:"10px"},onClick:function(){return m.default.goBack()}},"\u53d6\u6d88")))))}}]),a}(c.default.Component);S=D([f.default.create()],S);var R=S;e.default=R},SUr0:function(t,e,a){t.exports={leftTitle:"leftTitle___93Ofa",wap:"wap___35xZQ",linkA:"linkA___2In6D",transferType:"transferType___38ya5",active:"active___3o-RW",hyItemRightTitle:"hyItemRightTitle___gUK5V",formWap:"formWap___1zvKh",steps:"steps___1UeQR",title:"title___bCLgH"}}}]);