From fb9809bb5a7fe9f7384e0909a6fce0f466d95805 Mon Sep 17 00:00:00 2001 From: "SWX\\10484" <1048449493@qq.com> Date: Thu, 11 Jun 2026 14:52:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E8=AE=AF=E6=88=BF=E9=97=B4=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/videoCommunication/caseStudy.vue | 9 +++++---- src/views/videoCommunication/qualityControl.vue | 5 +++-- .../videoCommunication/realTimeConsultation.vue | 14 ++++++++------ src/views/videoCommunication/training.vue | 9 +++++---- 4 files changed, 21 insertions(+), 16 deletions(-) diff --git a/src/views/videoCommunication/caseStudy.vue b/src/views/videoCommunication/caseStudy.vue index d75def9..017d7ff 100644 --- a/src/views/videoCommunication/caseStudy.vue +++ b/src/views/videoCommunication/caseStudy.vue @@ -288,7 +288,7 @@ export default { data() { return { // ==================== 会议基础信息 ==================== - meetingTitle: "测试部门的云诊室", + meetingTitle: "", meetingCode: "1687110", participantCount: 1, resolution: "1080P", @@ -356,7 +356,7 @@ export default { audioOutList: [], tempSetting: {}, globalSetting: { - meetingTitle: "测试部门的云诊室", + meetingTitle: "", cameraId: "", micId: "", speakerId: "", @@ -422,11 +422,12 @@ export default { }) console.log(res) this.consultation_id = res.data.consultation_id - await postConsultationInfo({ + const ret = await postConsultationInfo({ consultation_id: res.data.consultation_id, from_history: 0, room_id: '' }) + this.meetingTitle = ret.data.name } catch (error) { } @@ -434,7 +435,7 @@ export default { // ==================== 【1】初始化 ==================== // 页面初始化 initPage() { - this.loadLocalSetting(); + // this.loadLocalSetting(); this.updateClock(); setInterval(this.updateClock, 1000); this.initCanvas(); diff --git a/src/views/videoCommunication/qualityControl.vue b/src/views/videoCommunication/qualityControl.vue index 509d2e7..fd87370 100644 --- a/src/views/videoCommunication/qualityControl.vue +++ b/src/views/videoCommunication/qualityControl.vue @@ -129,7 +129,7 @@ export default { }, mounted() { 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("settings/changeSetting", { key: "fixedHeader", @@ -170,11 +170,12 @@ export default { }) console.log(res) this.consultation_id = res.data.consultation_id - await postConsultationInfo({ + const ret = await postConsultationInfo({ consultation_id: res.data.consultation_id, from_history: 0, room_id: '' }) + this.queryParams.name = ret.data.name } catch (error) { } diff --git a/src/views/videoCommunication/realTimeConsultation.vue b/src/views/videoCommunication/realTimeConsultation.vue index 54bda7b..305017c 100644 --- a/src/views/videoCommunication/realTimeConsultation.vue +++ b/src/views/videoCommunication/realTimeConsultation.vue @@ -272,7 +272,7 @@ export default { data() { return { // ==================== 会议基础信息 ==================== - meetingTitle: '测试部门的云诊室', + meetingTitle: '', meetingCode: '1687110', participantCount: 1, resolution: '1080P', @@ -342,7 +342,7 @@ export default { audioOutList: [], tempSetting: {}, globalSetting: { - meetingTitle: '测试部门的云诊室', + meetingTitle: '', cameraId: '', micId: '', speakerId: '', @@ -391,9 +391,10 @@ export default { }, }, mounted() { + if (this.$route.query.roomId_id) this.creatRoom() + this.initPage(); this.initSDK(); - if (this.$route.query.roomId_id) this.creatRoom() }, methods: { @@ -406,13 +407,14 @@ export default { name: '', room_id: this.$route.query.roomId_id }) - console.log(res) + console.log(1111111111,res) this.consultation_id = res.data.consultation_id - await postConsultationInfo({ + const ret = await postConsultationInfo({ consultation_id: res.data.consultation_id, from_history: 0, room_id: '' }) + this.meetingTitle = ret.data.name } catch (error) { } @@ -428,7 +430,7 @@ export default { // ==================== 【1】初始化 ==================== // 页面初始化 initPage() { - this.loadLocalSetting(); + // this.loadLocalSetting(); this.updateClock(); setInterval(this.updateClock, 1000); this.initCanvas(); diff --git a/src/views/videoCommunication/training.vue b/src/views/videoCommunication/training.vue index e291d93..8b8ab95 100644 --- a/src/views/videoCommunication/training.vue +++ b/src/views/videoCommunication/training.vue @@ -230,7 +230,7 @@ export default { data() { return { // ==================== 会议基础信息 ==================== - meetingTitle: "超声事业部的云教学", + meetingTitle: "", meetingCode: "9019100", participantCount: 1, resolution: "1080P", @@ -272,7 +272,7 @@ export default { audioOutList: [], tempSetting: {}, globalSetting: { - meetingTitle: "超声事业部的云教学", + meetingTitle: "", cameraId: "", micId: "", speakerId: "", @@ -321,18 +321,19 @@ export default { }) console.log(res) this.consultation_id = res.data.consultation_id - await postConsultationInfo({ + const ret = await postConsultationInfo({ consultation_id: res.data.consultation_id, from_history: 0, room_id: '' }) + this.meetingTitle = ret.data.name } catch (error) { } }, // ==================== 【1】初始化 ==================== initPage() { - this.loadLocalSetting(); + // this.loadLocalSetting(); this.startTimer(); this.openCameraAndMic(); // 进入页面自动打开摄像头和麦克风 this.fetchMeetingInfo();