更新页面
This commit is contained in:
@ -1,13 +1,10 @@
|
||||
<template>
|
||||
<div class="titleBox">
|
||||
<PageTitle title="网上会议室">
|
||||
<PageTitle title="网上会议室55">
|
||||
<el-button type="primary" @click="addEdit('add', '')">
|
||||
<el-icon style="vertical-align: middle"><CirclePlus /></el-icon>
|
||||
<span style="vertical-align: middle">新增</span>
|
||||
</el-button>
|
||||
<el-button type="primary" @click="openDemo">
|
||||
<span style="vertical-align: middle">DEMO</span>
|
||||
</el-button>
|
||||
</PageTitle>
|
||||
</div>
|
||||
<div ref="searchBox">
|
||||
@ -32,7 +29,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<el-button type="primary" size="small" @click="joinMeeting(item)">加入会议</el-button>
|
||||
<el-button type="primary" size="small" @click="joinMeeting(item,'会议')">加入会议</el-button>
|
||||
<el-button type="primary" size="small">反馈情况</el-button>
|
||||
<el-button type="primary" size="small">处置下发</el-button>
|
||||
</div>
|
||||
@ -71,13 +68,14 @@
|
||||
<ConferenceRoom v-model="conferenceRoomVisible" titleValue="会议详情" />
|
||||
|
||||
<!-- 音视频会议窗口 -->
|
||||
<MeetingView v-model="openMeeting" v-if="openMeeting" ></MeetingView>
|
||||
<MeetingView ref="refMeetingView"></MeetingView>
|
||||
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import MeetingView from '@/components/Consultation/demo.vue'
|
||||
import { ElMessageBox } from "element-plus";
|
||||
import * as MOSTY from "@/components/MyComponents/index";
|
||||
import MeetingView from "@/views/consultation/components/meetingView.vue";
|
||||
import PageTitle from "@/components/aboutTable/PageTitle.vue";
|
||||
import Pages from "@/components/aboutTable/Pages.vue";
|
||||
import Search from "@/components/aboutTable/Search.vue";
|
||||
@ -93,6 +91,7 @@
|
||||
const detailDiloag = ref();
|
||||
const searchBox = ref(); //搜索框
|
||||
const openMeeting = ref(false); // 打开会议窗口
|
||||
const refMeetingView = ref()
|
||||
const searchConfiger = ref([
|
||||
{
|
||||
label: "会议主题",
|
||||
@ -119,9 +118,9 @@
|
||||
});
|
||||
const jsonData = ref('')
|
||||
onMounted(() => {
|
||||
jsonData.value = require('@/views/consultation/components/zh_CN.json');
|
||||
jsonData.value = require('@/components/Consultation/components/zh_CN.json');
|
||||
nextTick(()=>{
|
||||
Init();
|
||||
Init();
|
||||
})
|
||||
getList();
|
||||
tabHeightFn();
|
||||
@ -186,12 +185,6 @@ const exsit = () =>{
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
function openDemo() {
|
||||
const NPShref = router.resolve({ path: '/consultation', query: {}});
|
||||
window.open(NPShref.href, "_blank");
|
||||
}
|
||||
|
||||
// 搜索
|
||||
const onSearch = (val) => {
|
||||
queryFrom.value = { ...val };
|
||||
@ -244,33 +237,9 @@ const exsit = () =>{
|
||||
})
|
||||
};
|
||||
// 加入会议
|
||||
const joinMeeting = (item) => {
|
||||
console.log(item.hybh,'===========00');
|
||||
|
||||
ElMessageBox.confirm('确定开始会议?','提示',{ confirmButtonText:'确定', cancelButtonText:'取消', type:'warning' }).then(res=>{
|
||||
openMeeting.value = true;
|
||||
nextTick(()=>{
|
||||
let params = {
|
||||
"number": it.number,
|
||||
"nick": it.subject,
|
||||
"mute_status": it.status,
|
||||
"microphone_status": 1,
|
||||
"camera_status": 1
|
||||
}
|
||||
// lemon.conference.enterConferenceByNumber(params).then(res=> {
|
||||
// console.log(res,'加入会议......');
|
||||
// }).catch(err=> {
|
||||
// console.log(err,' 加入会议失败......');
|
||||
// })
|
||||
})
|
||||
}).catch(()=>{
|
||||
|
||||
})
|
||||
|
||||
// conferenceRoomVisible.value = true;
|
||||
// qcckPost({id:item.id},'/mosty-gsxt/wshs/addWshyRy').then((res)=>{
|
||||
// getList();
|
||||
// })
|
||||
const joinMeeting = (item,type) => {
|
||||
item.number = item.hybh;
|
||||
refMeetingView.value.openInit(item,type)
|
||||
};
|
||||
|
||||
// 删除
|
||||
|
||||
Reference in New Issue
Block a user