From 30af97e1ee3db05347639bdd24a2386940c8e6d9 Mon Sep 17 00:00:00 2001
From: "SWX\\10484" <1048449493@qq.com>
Date: Thu, 11 Jun 2026 09:29:25 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E7=BA=BF=E8=B4=A8=E6=8E=A7=E6=8E=A5?=
=?UTF-8?q?=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../videoCommunication/qualityControl.vue | 70 ++++++++++++-------
1 file changed, 45 insertions(+), 25 deletions(-)
diff --git a/src/views/videoCommunication/qualityControl.vue b/src/views/videoCommunication/qualityControl.vue
index 1b491b4..509d2e7 100644
--- a/src/views/videoCommunication/qualityControl.vue
+++ b/src/views/videoCommunication/qualityControl.vue
@@ -22,12 +22,7 @@
-
+
{{ item.user.name }}
@@ -36,23 +31,17 @@
-
![]()
+
{{ item.user.name.charAt(0) || "?" }}
{{ item.user.name }}
-
+
{{ item.user.online === 1 ? "在线" : "离线" }}
@@ -87,12 +76,7 @@
-->
-
+
@@ -104,6 +88,9 @@ import {
postUserInfo,
postQualityQuit,
postQualityStop,
+ postConsultationCreate,
+ postConsultationInfo,
+ postConsultationStop
} from "@/api/videoCommunication";
export default {
@@ -127,6 +114,7 @@ export default {
},
index: 0,
form: {},
+ consultation_id: null,
// 语音会议相关状态
// isJoined: false,
// isMuted: false,
@@ -152,6 +140,7 @@ export default {
value: false,
});
this.getList();
+ this.creatRoom()
// this.initRTC();
},
beforeDestroy() {
@@ -170,6 +159,26 @@ export default {
// this.unbindEvent();
// },
methods: {
+ async creatRoom() {
+ try {
+ const res = await postConsultationCreate({
+ avatar: '',
+ init_users: [],
+ invite_code: '1234',
+ name: '',
+ room_id: this.$route.query.roomId_id
+ })
+ console.log(res)
+ this.consultation_id = res.data.consultation_id
+ await postConsultationInfo({
+ consultation_id: res.data.consultation_id,
+ from_history: 0,
+ room_id: ''
+ })
+ } catch (error) {
+
+ }
+ },
// 初始化RTC SDK
// initRTC() {
// let localData = window.localStorage.getItem(this.storageKey);
@@ -349,9 +358,10 @@ export default {
key: "tagsView",
value: true,
});
+ postConsultationStop({ consultation_id: this.consultation_id });
this.$router.push("/");
})
- .catch(() => {});
+ .catch(() => { });
},
getList() {
this.loading = true;
@@ -405,7 +415,7 @@ export default {
that.list[index].user = {};
that.$modal.msgSuccess("取消质控成功");
})
- .catch(() => {});
+ .catch(() => { });
},
},
};
@@ -431,6 +441,7 @@ export default {
display: flex;
align-items: center;
font-weight: 600;
+
img {
width: 28px;
margin-right: 8px;
@@ -449,6 +460,7 @@ export default {
.window-controls {
display: flex;
align-items: center;
+
i {
margin-left: 15px;
cursor: pointer;
@@ -492,6 +504,7 @@ export default {
display: flex;
align-items: center;
justify-content: center;
+
i {
font-size: 42px;
color: #ffffff;
@@ -517,25 +530,32 @@ export default {
gap: 2px;
height: 14px;
z-index: 10;
+
.bar {
width: 3px;
background: #666;
border-radius: 1px;
+
&:nth-child(1) {
height: 4px;
}
+
&:nth-child(2) {
height: 7px;
}
+
&:nth-child(3) {
height: 10px;
}
+
&:nth-child(4) {
height: 13px;
}
+
&:nth-child(5) {
height: 16px;
}
+
&.active {
background: #4cd964;
}