From acd2347bea0ab6e002f236ac879eb57fce3c545c Mon Sep 17 00:00:00 2001
From: 648540858 <18010473990@163.com>
Date: Mon, 13 Sep 2021 16:42:22 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=89=88=E6=9C=AC=E4=BF=A1?=
=?UTF-8?q?=E6=81=AF=E5=B1=95=E7=A4=BA=E5=92=8Cwvp=E9=85=8D=E7=BD=AE?=
=?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=B1=95=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
web_src/src/components/control.vue | 55 +++++++++++++++++++++++++++---
1 file changed, 51 insertions(+), 4 deletions(-)
diff --git a/web_src/src/components/control.vue b/web_src/src/components/control.vue
index b8b0efc1..63267128 100644
--- a/web_src/src/components/control.vue
+++ b/web_src/src/components/control.vue
@@ -8,7 +8,7 @@
控制台
- 节点选择:
+ 节点选择:
-
查看服务器配置
+
媒体服务器配置
-
重启服务器
+
+
+
+ {{ key }}:
+
+
+ {{ subKey }} |
+ {{ subValue }} |
+
+
+
{{ value }}
+
+
+
+ 版本信息:
+
+
+ {{ key }} |
+ {{ value }} |
+
+
+
+
+ 信令服务器配置
+
+
重启媒体服务器
@@ -99,7 +124,10 @@ export default {
chartInterval: 0, //更新图表统计图定时任务标识
allSessionData: [],
visible: false,
+ wvpVisible: false,
serverConfig: {},
+ wvpServerConfig: {},
+ wvpServerVersion: {},
mediaServer : new MediaServer(),
mediaServerChoose : null,
loadCount : 0,
@@ -306,12 +334,31 @@ export default {
let that = this;
this.$axios({
method: 'get',
- url: '/zlm/index/api/getServerConfig'
+ url: '/zlm/' + that.mediaServerChoose +'/index/api/getServerConfig'
}).then(function (res) {
that.serverConfig = res.data.data[0];
that.visible = true;
});
},
+ getWVPServerConfig: function () {
+ let that = this;
+ this.$axios({
+ method: 'get',
+ url: '/api/server/config'
+ }).then(function (res) {
+ console.log(res)
+ that.wvpServerConfig = res.data.data;
+ that.wvpVisible = true;
+ });
+ this.$axios({
+ method: 'get',
+ url: '/api/server/version'
+ }).then(function (res) {
+ console.log(res)
+ that.wvpServerVersion = res.data.data;
+ that.wvpVisible = true;
+ });
+ },
reStartServer: function () {
let that = this;
this.$confirm('此操作将重启媒体服务器, 是否继续?', '提示', {