(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-3e585670"],{"05ea7":function(t,e,r){"use strict";r.r(e),r("d3b7"),r("25f0"),r("a9e3");var n=r("2909"),a=r("c7eb"),s=r("1da1"),o=(r("99af"),r("7db0"),r("d81d"),r("ac1f"),r("5319"),r("3ca3"),r("ddb0"),r("2b3d"),r("9861"),r("88a7"),r("271a"),r("5494"),r("8593")),i=r("bc3a"),u=r.n(i),c=r("5723"),d=r("c276"),l=r("d708");i={name:"systemUpgradeclient",data:function(){return{Panel:"1",currentTab:"1",declaration:!1,updateModal:!1,modal_loading:!1,percent:0,params:[],arr:[],dynamic:!1,status:!1,version:"",forceVersion:"",headerList:[{label:"系统升级",value:1},{label:"升级记录",value:2}],upgradeList:[],upgradeLogList:[],upgradeableList:[],upgradeProgress:{speed:0},upgradeAgreement:[],upgradeStatus:{},downloadStatus:null,page:1,limit:15,timer:null,params_key:void 0,newKey:null,servionStatus:!1,count:0}},created:function(){},mounted:function(){var t=this;return Object(s.a)(Object(a.a)().mark((function e(){return Object(a.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.getUpgradeStatus(),e.next=3,t.getUpgradeList();case 3:return e.next=5,t.getupgradeableList();case 5:t.$store.state.upgrade.toggleStatus&&(t.servionStatus=!0,t.getUpgradeAgreement());case 6:case"end":return e.stop()}}),e)})))()},watch:{"upgradeProgress.speed":{handler:function(t,e){"100.0"===t&&clearInterval(this.timer)}}},methods:{handleReachBottom:function(){this.count===this.upgradeLogList.length?this.$message.warning("暂无更多升级记录"):this.getUpgradeLogList()},handleClick:function(){(this.page=1)==this.currentTab?this.getupgradeableList():(this.upgradeLogList=[],this.getUpgradeLogList())},getUpgradeList:function(){var t=this;return Object(s.a)(Object(a.a)().mark((function e(){var r;return Object(a.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={page:t.page,limit:t.limit},e.next=3,Object(o.lb)(r);case 3:r=e.sent,t.upgradeList=r.data.list,t.upgradeList=r.data.list;case 6:case"end":return e.stop()}}),e)})))()},getUpgradeLogList:function(){var t=this,e={page:this.page,limit:this.limit};Object(o.mb)(e).then((function(e){t.upgradeLogList=[].concat(Object(n.a)(t.upgradeLogList),Object(n.a)(e.data.list)),t.count=e.data.count,t.upgradeLogList.length