|
@@ -91,7 +91,7 @@
|
|
|
<div class="icon2"></div>
|
|
|
<div class="text">电话呼叫</div>
|
|
|
</div>
|
|
|
- <div class="btn">
|
|
|
+ <div class="btn" @click="handleStartMeeting">
|
|
|
<div class="icon3"></div>
|
|
|
<div class="text">发起会议</div>
|
|
|
</div>
|
|
@@ -102,6 +102,8 @@
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
import { Search } from '@element-plus/icons-vue';
|
|
|
+import { getStartMiniParan } from '@/api/emergencyCommandMap/communication';
|
|
|
+import { ConvergedCommunication } from '@/utils/convergedCommunication';
|
|
|
|
|
|
let activeIndex = ref(0);
|
|
|
const options = ref([{ name: '全部', value: '全部' }]);
|
|
@@ -250,6 +252,23 @@ const deleteItem = (item) => {
|
|
|
}
|
|
|
}
|
|
|
};
|
|
|
+// 发起会议
|
|
|
+const handleStartMeeting = () => {
|
|
|
+ const data = {
|
|
|
+ userid: 'mmyj0006@mm.zw.yj',
|
|
|
+ password: '123',
|
|
|
+ roomid: '',
|
|
|
+ 'dev-list': [{ id: 'hh@mm.zw.yj', avtype: 'av' }]
|
|
|
+ };
|
|
|
+ getStartMiniParan(data).then((res) => {
|
|
|
+ // 创建一个a标签元素
|
|
|
+ const a = document.createElement('a');
|
|
|
+ // 设置a标签的href属性
|
|
|
+ a.href = res.data;
|
|
|
+ // 触发点击事件
|
|
|
+ a.click();
|
|
|
+ });
|
|
|
+};
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|