更新
This commit is contained in:
@ -16,8 +16,9 @@ import { ElMessage,ElMessageBox,ElNotification } from "element-plus";
|
||||
import useBaseDataModule from '@/components/Consultation/sdk/baseData';
|
||||
import AudioAndVoice from './components/audioAndVoice.vue'
|
||||
import MeetingView from './components/meetingView.vue'
|
||||
import { defineExpose , nextTick, onMounted, onUnmounted, ref} from 'vue';
|
||||
import { defineExpose , nextTick, onMounted, onUnmounted, defineEmits, ref} from 'vue';
|
||||
import { useStore } from "vuex";
|
||||
const emit = defineEmits(['update']);
|
||||
const modleType = ref('')
|
||||
const store = useStore();
|
||||
const sdkBDModule = useBaseDataModule();
|
||||
@ -115,6 +116,7 @@ const conferenceActionSDK = async (record ) => {
|
||||
if (createRes.result === 0) {
|
||||
ElMessage.success(jsonData.value['data']['conference.book.result.ok']);
|
||||
record.number = createRes.meeting.number;
|
||||
emit('update',record);
|
||||
enterConferenceByNumber(record) //进入会议
|
||||
} else {
|
||||
ElMessage.error(jsonData.value['errorCode'][createRes?.result]);
|
||||
@ -156,8 +158,8 @@ const Init = () => {
|
||||
let token = window.localStorage.getItem("rhToken");
|
||||
if (!token) {
|
||||
let userInfo = {
|
||||
username: "linzhigongan2",
|
||||
password: "linzhigongan2",
|
||||
username: "sgxtcs",
|
||||
password: "sgxtcs",
|
||||
realm: "puc.com",
|
||||
webpucUrl: "https://89.40.9.95:16888"
|
||||
};
|
||||
@ -173,7 +175,7 @@ const Init = () => {
|
||||
|
||||
const ConnectWebsocket = (token) => {
|
||||
lemon.login.reConnectWebsocket({
|
||||
username: "linzhigongan2",
|
||||
username: "sgxtcs",
|
||||
realm: "puc.com",
|
||||
webpucUrl: "https://89.40.9.95:16888",
|
||||
token: token
|
||||
|
||||
Reference in New Issue
Block a user