视讯房间名

main
SWX\10484 4 days ago
parent ed66c64bce
commit fb9809bb5a
  1. 9
      src/views/videoCommunication/caseStudy.vue
  2. 5
      src/views/videoCommunication/qualityControl.vue
  3. 14
      src/views/videoCommunication/realTimeConsultation.vue
  4. 9
      src/views/videoCommunication/training.vue

@ -288,7 +288,7 @@ export default {
data() { data() {
return { return {
// ==================== ==================== // ==================== ====================
meetingTitle: "测试部门的云诊室", meetingTitle: "",
meetingCode: "1687110", meetingCode: "1687110",
participantCount: 1, participantCount: 1,
resolution: "1080P", resolution: "1080P",
@ -356,7 +356,7 @@ export default {
audioOutList: [], audioOutList: [],
tempSetting: {}, tempSetting: {},
globalSetting: { globalSetting: {
meetingTitle: "测试部门的云诊室", meetingTitle: "",
cameraId: "", cameraId: "",
micId: "", micId: "",
speakerId: "", speakerId: "",
@ -422,11 +422,12 @@ export default {
}) })
console.log(res) console.log(res)
this.consultation_id = res.data.consultation_id this.consultation_id = res.data.consultation_id
await postConsultationInfo({ const ret = await postConsultationInfo({
consultation_id: res.data.consultation_id, consultation_id: res.data.consultation_id,
from_history: 0, from_history: 0,
room_id: '' room_id: ''
}) })
this.meetingTitle = ret.data.name
} catch (error) { } catch (error) {
} }
@ -434,7 +435,7 @@ export default {
// ==================== 1 ==================== // ==================== 1 ====================
// //
initPage() { initPage() {
this.loadLocalSetting(); // this.loadLocalSetting();
this.updateClock(); this.updateClock();
setInterval(this.updateClock, 1000); setInterval(this.updateClock, 1000);
this.initCanvas(); this.initCanvas();

@ -129,7 +129,7 @@ export default {
}, },
mounted() { mounted() {
this.queryParams.room_id = this.$route.query.roomId_id; this.queryParams.room_id = this.$route.query.roomId_id;
this.queryParams.name = this.$route.query.name + "的云质控"; // this.queryParams.name = this.$route.query.name + "";
this.$store.dispatch("app/toggleSideBarHide", true); this.$store.dispatch("app/toggleSideBarHide", true);
this.$store.dispatch("settings/changeSetting", { this.$store.dispatch("settings/changeSetting", {
key: "fixedHeader", key: "fixedHeader",
@ -170,11 +170,12 @@ export default {
}) })
console.log(res) console.log(res)
this.consultation_id = res.data.consultation_id this.consultation_id = res.data.consultation_id
await postConsultationInfo({ const ret = await postConsultationInfo({
consultation_id: res.data.consultation_id, consultation_id: res.data.consultation_id,
from_history: 0, from_history: 0,
room_id: '' room_id: ''
}) })
this.queryParams.name = ret.data.name
} catch (error) { } catch (error) {
} }

@ -272,7 +272,7 @@ export default {
data() { data() {
return { return {
// ==================== ==================== // ==================== ====================
meetingTitle: '测试部门的云诊室', meetingTitle: '',
meetingCode: '1687110', meetingCode: '1687110',
participantCount: 1, participantCount: 1,
resolution: '1080P', resolution: '1080P',
@ -342,7 +342,7 @@ export default {
audioOutList: [], audioOutList: [],
tempSetting: {}, tempSetting: {},
globalSetting: { globalSetting: {
meetingTitle: '测试部门的云诊室', meetingTitle: '',
cameraId: '', cameraId: '',
micId: '', micId: '',
speakerId: '', speakerId: '',
@ -391,9 +391,10 @@ export default {
}, },
}, },
mounted() { mounted() {
if (this.$route.query.roomId_id) this.creatRoom()
this.initPage(); this.initPage();
this.initSDK(); this.initSDK();
if (this.$route.query.roomId_id) this.creatRoom()
}, },
methods: { methods: {
@ -406,13 +407,14 @@ export default {
name: '', name: '',
room_id: this.$route.query.roomId_id room_id: this.$route.query.roomId_id
}) })
console.log(res) console.log(1111111111,res)
this.consultation_id = res.data.consultation_id this.consultation_id = res.data.consultation_id
await postConsultationInfo({ const ret = await postConsultationInfo({
consultation_id: res.data.consultation_id, consultation_id: res.data.consultation_id,
from_history: 0, from_history: 0,
room_id: '' room_id: ''
}) })
this.meetingTitle = ret.data.name
} catch (error) { } catch (error) {
} }
@ -428,7 +430,7 @@ export default {
// ==================== 1 ==================== // ==================== 1 ====================
// //
initPage() { initPage() {
this.loadLocalSetting(); // this.loadLocalSetting();
this.updateClock(); this.updateClock();
setInterval(this.updateClock, 1000); setInterval(this.updateClock, 1000);
this.initCanvas(); this.initCanvas();

@ -230,7 +230,7 @@ export default {
data() { data() {
return { return {
// ==================== ==================== // ==================== ====================
meetingTitle: "超声事业部的云教学", meetingTitle: "",
meetingCode: "9019100", meetingCode: "9019100",
participantCount: 1, participantCount: 1,
resolution: "1080P", resolution: "1080P",
@ -272,7 +272,7 @@ export default {
audioOutList: [], audioOutList: [],
tempSetting: {}, tempSetting: {},
globalSetting: { globalSetting: {
meetingTitle: "超声事业部的云教学", meetingTitle: "",
cameraId: "", cameraId: "",
micId: "", micId: "",
speakerId: "", speakerId: "",
@ -321,18 +321,19 @@ export default {
}) })
console.log(res) console.log(res)
this.consultation_id = res.data.consultation_id this.consultation_id = res.data.consultation_id
await postConsultationInfo({ const ret = await postConsultationInfo({
consultation_id: res.data.consultation_id, consultation_id: res.data.consultation_id,
from_history: 0, from_history: 0,
room_id: '' room_id: ''
}) })
this.meetingTitle = ret.data.name
} catch (error) { } catch (error) {
} }
}, },
// ==================== 1 ==================== // ==================== 1 ====================
initPage() { initPage() {
this.loadLocalSetting(); // this.loadLocalSetting();
this.startTimer(); this.startTimer();
this.openCameraAndMic(); // this.openCameraAndMic(); //
this.fetchMeetingInfo(); this.fetchMeetingInfo();

Loading…
Cancel
Save