|  |  | 
 |  |  |     mounted() { | 
 |  |  |  | 
 |  |  |         this.initTable(); | 
 |  |  |         this.updateData(); | 
 |  |  |         this.chartInterval = setInterval(this.updateData, 3000); | 
 |  |  |         this.mediaServer.getOnlineMediaServerList((data)=>{ | 
 |  |  |           this.mediaServerList = data.data; | 
 |  |  |           if (this.mediaServerList && this.mediaServerList.length > 0) { | 
 |  |  |             this.mediaServerChoose = this.mediaServerList[0].id | 
 |  |  |             this.loadCount = this.mediaServerList[0].count; | 
 |  |  |             this.getThreadsLoad(); | 
 |  |  |             this.getAllSession(); | 
 |  |  |             this.updateData(); | 
 |  |  |           } | 
 |  |  |         }) | 
 |  |  |     }, | 
 |  |  | 
 |  |  |                 let that = this; | 
 |  |  |                 this.$axios({ | 
 |  |  |                     method: 'get', | 
 |  |  |                     url: '/zlm/index/api/restartServer' | 
 |  |  |                     url: '/zlm/' + that.mediaServerChoose +'/index/api/restartServer' | 
 |  |  |                 }).then(function (res) { | 
 |  |  |                     that.getAllSession(); | 
 |  |  |                     if (res.data.code == 0) { | 
 |  |  | 
 |  |  |             let that = this; | 
 |  |  |             this.$axios({ | 
 |  |  |                 method: 'get', | 
 |  |  |                 url: '/zlm/index/api/kick_session&id=' + id | 
 |  |  |                 url: '/zlm/' + that.mediaServerChoose +'/index/api/kick_session&id=' + id | 
 |  |  |             }).then(function (res) { | 
 |  |  |                 that.getAllSession(); | 
 |  |  |                 that.$message({ |