Commit 58c303d2 by dupengfei

运控大屏新增 在线人数

parent 528ce709
...@@ -104,6 +104,9 @@ $border:1px solid rgba(42,101,103,0.3); ...@@ -104,6 +104,9 @@ $border:1px solid rgba(42,101,103,0.3);
.jqrfhyzs{ .jqrfhyzs{
color:#70FBFF; color:#70FBFF;
} }
.zxyhzs{
color:#3bc080;
}
} }
.right_top_c{ .right_top_c{
width:444px;margin-right:0;display:inline-block;height:100%; vertical-align: top; width:444px;margin-right:0;display:inline-block;height:100%; vertical-align: top;
......
...@@ -32,7 +32,8 @@ ...@@ -32,7 +32,8 @@
<p class="num jqrhyzs">{{activeUserNum}}</p> <p class="num jqrhyzs">{{activeUserNum}}</p>
<p class="center-title">近7日非活跃用户</p> <p class="center-title">近7日非活跃用户</p>
<p class="num jqrfhyzs">{{InActiveUserNum}}</p> <p class="num jqrfhyzs">{{InActiveUserNum}}</p>
<p class="center-title">在线用户数</p>
<p class="num jqrfhyzs">{{inlineNum}}</p>
</div> </div>
<div style="width:100%;height:100%;position: relative;z-index:10;" v-loading="Loading8" element-loading-text="拼命加载中"> <div style="width:100%;height:100%;position: relative;z-index:10;" v-loading="Loading8" element-loading-text="拼命加载中">
<video width="100%" height="100%" id="myVideo" class="video-js video" style="object-fit: fill" <video width="100%" height="100%" id="myVideo" class="video-js video" style="object-fit: fill"
...@@ -112,7 +113,10 @@ ...@@ -112,7 +113,10 @@
xtjqrfwlURL, xtjqrfwlURL,
xzzygnURL, xzzygnURL,
ggfwURL, ggfwURL,
sjzytjURL,hysURL} from "@/utils/params"; sjzytjURL,
hysURL,
} from "@/utils/params";
import Http from "@/utils/axiosHttp.js"; import Http from "@/utils/axiosHttp.js";
import url from "@/api/base"; import url from "@/api/base";
...@@ -150,6 +154,7 @@ ...@@ -150,6 +154,7 @@
userTotal:0, userTotal:0,
activeUserNum:0, activeUserNum:0,
InActiveUserNum:0, InActiveUserNum:0,
inlineNum:0,
} }
}, },
methods:{ methods:{
...@@ -1031,6 +1036,7 @@ ...@@ -1031,6 +1036,7 @@
self.userTotal=response.data.userTotal; self.userTotal=response.data.userTotal;
self.activeUserNum=response.data.activeUserNum; self.activeUserNum=response.data.activeUserNum;
self.InActiveUserNum=response.data.InActiveUserNum; self.InActiveUserNum=response.data.InActiveUserNum;
self.inlineNum=response.data.inlineNum;
} else { } else {
self.$message({ self.$message({
type: "error", type: "error",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment