代码提交

master
徐景良 2023-09-25 13:50:03 +08:00
parent 35247067a7
commit ccbf7d137f
4 changed files with 23 additions and 9 deletions

View File

@ -233,7 +233,7 @@ import { getMethodCommon, postMethodCommon } from '../../../api/common';
videoCall(phone){
let userId = localStorage.getItem("userName");
let wind = window.open("https://ssl.hopetrytech.com:9233/#/?userID="+userId+"&callUserID="+phone, "视频通话", "location=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,width=640,height=460");
let wind = window.open("https://ssl.hopetrytech.com:9237?userID="+userId+"&callUserID="+phone, "视频通话", "location=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,width=640,height=460");
wind.onload = function(){
wind.document.title = "视频通话";
}

View File

@ -119,7 +119,14 @@ export default {
},
methods: {
videoCall(phone) {
this.$emit("videoCall", phone);
let userId = localStorage.getItem("userName");
let wind = window.open("https://ssl.hopetrytech.com:9237?userID="+userId+"&callUserID="+phone, "视频通话", "location=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,width=640,height=460");
wind.onload = function(){
wind.document.title = "视频通话";
}
// this.$emit("videoCall", phone);
},
close() {
this.graphicLayerArr.forEach(item => {
@ -316,6 +323,7 @@ export default {
phoneArr.push(item.phone)
})
}
let param = {
phoneNumbers: phoneArr.join(','),
time: dates,

View File

@ -1,11 +1,11 @@
<template>
<div class="box">
<div class="box-title">数据统计</div>
<div class="box-container">
<div class="max-w max-h" id="echartsId"></div>
</div>
<div class="box">
<div class="box-title">数据统计</div>
<div class="box-container">
<div class="max-w max-h" id="echartsId"></div>
</div>
</template>
</div>
</template>
<script>
let BASE_URL = process.env.VUE_APP_BASE_API
@ -203,6 +203,7 @@
);
myChart.setOption(option);
}
}
}
</script>

View File

@ -67,7 +67,12 @@ export default {
this.$emit("close");
},
videoCall(phone) {
this.$emit("videoCall", phone);
let userId = localStorage.getItem("userName");
let wind = window.open("https://ssl.hopetrytech.com:9237?userID="+userId+"&callUserID="+phone, "视频通话", "location=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,width=640,height=460");
wind.onload = function(){
wind.document.title = "视频通话";
}
},
getOnLineInfo() {
getMethodCommon("/FireManagement/GetOnOffLineInfo").then((res) => {