18792927508 2 лет назад
Родитель
Сommit
c098116879
4 измененных файлов: 13 добавлений и 15 удалений
  1. 0
    1
      dist/css/app.b59bb92e.css
  2. 1
    1
      dist/index.html
  3. 12
    12
      src/components/homeh5.vue
  4. 0
    1
      src/views/room.vue

+ 0
- 1
dist/css/app.b59bb92e.css Просмотреть файл

@@ -1 +0,0 @@
1
-*{margin:0;padding:0}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50}

+ 1
- 1
dist/index.html Просмотреть файл

@@ -1 +1 @@
1
-<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>nouiroom</title><script defer="defer" src="/js/chunk-vendors.5307e452.js"></script><script defer="defer" src="/js/app.f09cb758.js"></script><link href="/css/chunk-vendors.10dd4e95.css" rel="stylesheet"><link href="/css/app.b59bb92e.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but nouiroom doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
1
+<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>nouiroom</title><script defer="defer" src="/js/chunk-vendors.8e75e7c3.js"></script><script defer="defer" src="/js/app.76b4be16.js"></script><link href="/css/chunk-vendors.10dd4e95.css" rel="stylesheet"><link href="/css/app.ff48263a.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but nouiroom doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

+ 12
- 12
src/components/homeh5.vue Просмотреть файл

@@ -35,20 +35,21 @@ export default {
35 35
   },
36 36
   methods: {
37 37
     async enterRoom() {
38
-      if (this.roomId != this.enterRoomFrom.roomId) {
39
-        this.$message({
40
-          message: "房间号不是对应案件的房间号",
41
-          type: "error"
42
-        });
43
-        return;
44
-      }
38
+      // if (this.roomId != this.enterRoomFrom.roomId) {
39
+      //     this.$message({
40
+      //         message: "房间号不是对应案件的房间号",
41
+      //         type: 'error'
42
+      //     });
43
+      //     return
44
+      // }
45 45
       this.$router.push({
46 46
         name: "Room",
47 47
         query: {
48 48
           userId: this.userId,
49
-          roomId: this.enterRoomFrom.roomId,
49
+          roomId: this.roomId,
50 50
           flag: this.roleFlag,
51
-          caseId: this.caseId
51
+          caseId: this.caseId,
52
+          id: this.userCode
52 53
         }
53 54
       });
54 55
     },
@@ -58,13 +59,13 @@ export default {
58 59
     // 根据案件id查询主持人信息
59 60
     async reserveConferenceListFn(data) {
60 61
       await reserveConferenceList(data).then(res => {
61
-        if (res.data.length > 1) {
62
+        if (res.data.length >= 1) {
62 63
           if (this.userCode == res.data[0].userId) {
63 64
             this.roleFlag = true;
64 65
           } else {
65 66
             this.roleFlag = false;
66 67
           }
67
-        } else {
68
+        }else{
68 69
           this.roleFlag = false;
69 70
         }
70 71
       });
@@ -76,7 +77,6 @@ export default {
76 77
     this.roomId = routeParams.roomId;
77 78
     this.userCode = routeParams.userId;
78 79
     this.caseId = routeParams.id;
79
-    sessionStorage.setItem('type',appType);
80 80
     if (this.caseId) {
81 81
       await this.reserveConferenceListFn(this.caseId);
82 82
       await this.enterRoom();

+ 0
- 1
src/views/room.vue Просмотреть файл

@@ -286,7 +286,6 @@ export default {
286 286
             needvad: 1,
287 287
             audioTrack: trtc.getAudioTrack(),
288 288
         });
289
-        console.log(trtc.getAudioTrack('zhongcaibai'),);
290 289
         this.localStreamAsr.start();
291 290
         // 开始识别
292 291
         this.localStreamAsr.OnRecognitionStart = (res) => {