This commit is contained in:
2026-04-21 19:42:00 +08:00
parent c4cc33bee3
commit e4a044944d

View File

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