更新
This commit is contained in:
@ -114,7 +114,6 @@ const conferenceActionSDK = async (record ) => {
|
||||
}
|
||||
],//当前创建人
|
||||
});
|
||||
console.log(createRes,'===========创建的会议');
|
||||
if (createRes.result === 0) {
|
||||
ElMessage.success(jsonData.value['data']['conference.book.result.ok']);
|
||||
record.number = createRes.meeting.number;
|
||||
@ -147,7 +146,6 @@ const enterConferenceByNumber = (it) =>{
|
||||
// 获取会议
|
||||
const fetchConferences = (it) =>{
|
||||
lemon.conference.fetchConferences().then(res=> {
|
||||
console.log(res.conferenceList,'获取会议');
|
||||
meetList.value = res.conferenceList;
|
||||
let obj = meetList.value.find(v=>v.number == it.number);
|
||||
// 会议存在 ? 进入会议 : 创建会议 ;
|
||||
@ -161,7 +159,7 @@ const listenerEvents = () =>{
|
||||
useConfernceEvent()// 注册会议管理相关事件
|
||||
// 无人机对讲机的监听时事件
|
||||
window.lemon.call.addMediaStream((call_id, stream, type) => {
|
||||
console.log(call_id, stream, type,'=======无人机对讲机的监听时事件==');
|
||||
// console.log(call_id, stream, type,'=======无人机对讲机的监听时事件==');
|
||||
});
|
||||
}
|
||||
|
||||
@ -177,7 +175,6 @@ const getLoginAccountInfo =() =>{
|
||||
|
||||
// 加入会议
|
||||
const openInit = (it,type) =>{
|
||||
log(it,type,'=======加入会议');
|
||||
modleType.value = type;
|
||||
if(type == '会议'){
|
||||
//判断是否有会议号
|
||||
@ -204,9 +201,7 @@ const openInit = (it,type) =>{
|
||||
|
||||
const Init = () => {
|
||||
let token = window.localStorage.getItem("rhToken");
|
||||
console.log(token,'=======token');
|
||||
if (!token || 'undefined' == token || token == 'null') {
|
||||
console.log('融合通信登录=======token');
|
||||
let userInfo = {
|
||||
username: inDustRialId, //用户名
|
||||
password: "123456",
|
||||
@ -219,7 +214,6 @@ const Init = () => {
|
||||
listenerEvents()
|
||||
});
|
||||
} else {
|
||||
console.log('融合通信链接=======token');
|
||||
ConnectWebsocket(token);
|
||||
}
|
||||
};
|
||||
@ -244,7 +238,6 @@ const ConnectWebsocket = (token) => {
|
||||
};
|
||||
|
||||
onMounted(()=>{
|
||||
console.log('组件挂载了');
|
||||
jsonData.value = require('./components/zh_CN.json');
|
||||
nextTick(()=>{
|
||||
Init();
|
||||
|
||||
Reference in New Issue
Block a user