+
+
+
+
-
-
确认修改内容
@@ -244,7 +167,7 @@ export default {
resFlag: null,
appFlag: null,
userClassPhone: "userVideoPhone",
- userList: [],
+ userList: [1,2,3,4,5],
userHeight: "100%",
userPhoneHeight: "92%",
userSign: "",
@@ -299,7 +222,7 @@ export default {
filedata3: {
annexType: 7,
officeFlag: 0,
- isMediaBook:1,
+ isMediaBook: 1,
caseId: null,
},
fileList3: [],
@@ -311,7 +234,7 @@ export default {
},
methods: {
UploadUrl() {
- return window.location.origin + "/tiaojie/video/upload";
+ return window.location.origin + "/tjformal/video/upload";
},
/**点击开启麦克风图标,关闭麦克风 */
micClickOn() {
@@ -621,24 +544,11 @@ export default {
const streamType = event.streamType;
const userId = event.userId;
if (streamType == "main") {
- // if (this.hostId == userId) {
- // alert("主持人已经解散会议");
- // this.$router.push({
- // name: "Home",
- // });
- // this.userList = [];
- // return;
- // }
let deleteIndex = this.userList.indexOf(userId);
this.userList = this.userList.filter((item) => item !== userId);
if (deleteIndex !== -1) {
this.userList.splice(deleteIndex, 1);
}
- // if (this.modileFlag) {
- // // this.userHeight = getHeight(this.userList);
- // } else {
- // this.userClassPhone = getWidthPhone(this.userList);
- // }
Object.keys(this.asrList).forEach((key) => {
this.asrList[userId].stop();
});
@@ -733,10 +643,13 @@ export default {
async mounted() {
if (this.userList.length == 1) {
this.videoClass = "videoItem3";
+ this.userClassPhone = "userVideoPhone1";
} else if (this.userList.length > 1) {
this.videoClass = "videoItem1";
+ this.userClassPhone = "userVideoPhone2";
} else if (this.userList.length < 1) {
this.videoClass = "videoItem";
+ this.userClassPhone = "userVideoPhone";
}
// 判断设备类型
this.modileFlag = getModile();
@@ -827,6 +740,13 @@ export default {