|  |  |  | 
|---|
|  |  |  | getSystemInfo: function (){ | 
|---|
|  |  |  | this.$axios({ | 
|---|
|  |  |  | method: 'get', | 
|---|
|  |  |  | url: `./api/server/system/info`, | 
|---|
|  |  |  | url: `/api/server/system/info`, | 
|---|
|  |  |  | }).then( (res)=> { | 
|---|
|  |  |  | if (res.data.code === 0) { | 
|---|
|  |  |  | this.$refs.consoleCPU.setData(res.data.data.cpu) | 
|---|
|  |  |  | 
|---|
|  |  |  | getLoad: function (){ | 
|---|
|  |  |  | this.$axios({ | 
|---|
|  |  |  | method: 'get', | 
|---|
|  |  |  | url: `./api/server/media_server/load`, | 
|---|
|  |  |  | url: `/api/server/media_server/load`, | 
|---|
|  |  |  | }).then( (res)=> { | 
|---|
|  |  |  | if (res.data.code === 0) { | 
|---|
|  |  |  | this.$refs.consoleNodeLoad.setData(res.data.data) | 
|---|
|  |  |  | 
|---|
|  |  |  | getResourceInfo: function (){ | 
|---|
|  |  |  | this.$axios({ | 
|---|
|  |  |  | method: 'get', | 
|---|
|  |  |  | url: `./api/server/resource/info`, | 
|---|
|  |  |  | url: `/api/server/resource/info`, | 
|---|
|  |  |  | }).then( (res)=> { | 
|---|
|  |  |  | if (res.data.code === 0) { | 
|---|
|  |  |  | this.$refs.consoleResource.setData(res.data.data) | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | this.$axios({ | 
|---|
|  |  |  | method: 'get', | 
|---|
|  |  |  | url: `./api/server/system/configInfo`, | 
|---|
|  |  |  | url: `/api/server/system/configInfo`, | 
|---|
|  |  |  | }).then( (res)=> { | 
|---|
|  |  |  | console.log(res) | 
|---|
|  |  |  | if (res.data.code === 0) { | 
|---|