|
|
@@ -1,5 +1,9 @@
|
|
1
|
1
|
<template>
|
|
2
|
2
|
<div class="page">
|
|
|
3
|
+ <div class="iconImg">
|
|
|
4
|
+ <i class="el-icon-d-arrow-left"></i>
|
|
|
5
|
+ <!-- <i class="el-icon-d-arrow-right"></i> -->
|
|
|
6
|
+ </div>
|
|
3
|
7
|
<div class="roompage" @mouseover="mouseHover" v-if="modileFlag">
|
|
4
|
8
|
<div class="txtContent">
|
|
5
|
9
|
<el-tag type="danger" @click="txtContent" v-if="modileFlag">会议内容</el-tag>
|
|
|
@@ -24,7 +28,18 @@
|
|
24
|
28
|
</div>
|
|
25
|
29
|
</div>
|
|
26
|
30
|
<div class="roomPhone" v-if="!modileFlag">
|
|
27
|
|
- <div class="header">
|
|
|
31
|
+ <div class="bodyPhone">
|
|
|
32
|
+ <div :class="userClassPhone" id="localStream">
|
|
|
33
|
+ <div class="userNamePhone">{{ userId }}</div>
|
|
|
34
|
+ </div>
|
|
|
35
|
+ <div :class="userClassPhone" v-for="(item, index) in userList" :key="index" :id="item">
|
|
|
36
|
+ <div class="userNamePhone">{{ item }}</div>
|
|
|
37
|
+ </div>
|
|
|
38
|
+ </div>
|
|
|
39
|
+ <div class="footerPhone">
|
|
|
40
|
+ <roomFooterPhone @exitRoom="exitRoom"></roomFooterPhone>
|
|
|
41
|
+ </div>
|
|
|
42
|
+ <!-- <div class="header">
|
|
28
|
43
|
<roomFooterPhone @exitRoom="exitRoom"></roomFooterPhone>
|
|
29
|
44
|
</div>
|
|
30
|
45
|
<div class="bodyVideo">
|
|
|
@@ -34,102 +49,10 @@
|
|
34
|
49
|
<div :class="userClassPhone" v-for="(item, index) in userList" :key="index" :id="item">
|
|
35
|
50
|
<div class="userNamePhone">{{ item }}</div>
|
|
36
|
51
|
</div>
|
|
37
|
|
- </div>
|
|
|
52
|
+ </div> -->
|
|
38
|
53
|
</div>
|
|
39
|
54
|
<!-- 语音转文字弹窗 -->
|
|
40
|
55
|
<el-drawer title="会议内容" :visible.sync="textVisible" :modal="false">
|
|
41
|
|
- <!-- <div style="margin-left: 20px; margin-bottom: 10px">
|
|
42
|
|
- <div
|
|
43
|
|
- style="
|
|
44
|
|
- width: 100%;
|
|
45
|
|
- display: flex;
|
|
46
|
|
- justify-content: space-around;
|
|
47
|
|
- margin-bottom: 10px;
|
|
48
|
|
- "
|
|
49
|
|
- >
|
|
50
|
|
- <el-upload
|
|
51
|
|
- ref="upload"
|
|
52
|
|
- :limit="1"
|
|
53
|
|
- :action="UploadUrl()"
|
|
54
|
|
- :headers="headers"
|
|
55
|
|
- :data="filedata"
|
|
56
|
|
- :on-change="beforeUpload"
|
|
57
|
|
- :on-success="handlSuccess"
|
|
58
|
|
- :file-list="fileList"
|
|
59
|
|
- v-if="appFlag"
|
|
60
|
|
- >
|
|
61
|
|
- <el-button slot="trigger" size="small" type="primary"
|
|
62
|
|
- >申请人上传证据</el-button
|
|
63
|
|
- >
|
|
64
|
|
- </el-upload>
|
|
65
|
|
- <el-upload
|
|
66
|
|
- v-if="resFlag"
|
|
67
|
|
- ref="upload1"
|
|
68
|
|
- :limit="1"
|
|
69
|
|
- :action="UploadUrl()"
|
|
70
|
|
- :headers="headers1"
|
|
71
|
|
- :data="filedata1"
|
|
72
|
|
- :on-change="beforeUpload1"
|
|
73
|
|
- :on-success="handlSuccess1"
|
|
74
|
|
- :file-list="fileList1"
|
|
75
|
|
- >
|
|
76
|
|
- <el-button slot="trigger" size="small" type="primary"
|
|
77
|
|
- >被申请人上传证据</el-button
|
|
78
|
|
- >
|
|
79
|
|
- </el-upload>
|
|
80
|
|
- <el-upload
|
|
81
|
|
- v-if="updataFlag"
|
|
82
|
|
- ref="upload3"
|
|
83
|
|
- :limit="1"
|
|
84
|
|
- :action="UploadUrl()"
|
|
85
|
|
- :headers="headers3"
|
|
86
|
|
- :data="filedata3"
|
|
87
|
|
- :on-change="beforeUpload3"
|
|
88
|
|
- :on-success="handlSuccess3"
|
|
89
|
|
- :file-list="fileList3"
|
|
90
|
|
- accept=".doc,.docx"
|
|
91
|
|
- >
|
|
92
|
|
- <el-button slot="trigger" size="small" type="primary"
|
|
93
|
|
- >上传调解书</el-button
|
|
94
|
|
- >
|
|
95
|
|
- </el-upload>
|
|
96
|
|
- </div>
|
|
97
|
|
- <div class="list">
|
|
98
|
|
- <div class="applicant" v-if="applicantFile.length > 0">
|
|
99
|
|
- <div>申请人证据</div>
|
|
100
|
|
- <div
|
|
101
|
|
- style="color: #104fad; cursor: pointer"
|
|
102
|
|
- v-for="(item, index) in applicantFile"
|
|
103
|
|
- :key="index"
|
|
104
|
|
- @click="preview(item, 0)"
|
|
105
|
|
- >
|
|
106
|
|
- {{ item.annexName }}
|
|
107
|
|
- </div>
|
|
108
|
|
- </div>
|
|
109
|
|
- <div class="res" v-if="resFile.length > 0">
|
|
110
|
|
- <div>被申请人证据</div>
|
|
111
|
|
- <div
|
|
112
|
|
- style="color: #104fad; cursor: pointer"
|
|
113
|
|
- v-for="(item, index) in resFile"
|
|
114
|
|
- :key="index"
|
|
115
|
|
- @click="preview(item, 0)"
|
|
116
|
|
- >
|
|
117
|
|
- {{ item.annexName }}
|
|
118
|
|
- </div>
|
|
119
|
|
- </div>
|
|
120
|
|
- <div class="mediate" v-if="mediateFile.length > 0">
|
|
121
|
|
- <div>调解书</div>
|
|
122
|
|
- <div
|
|
123
|
|
- style="color: #104fad; cursor: pointer"
|
|
124
|
|
- v-for="(item, index) in mediateFile"
|
|
125
|
|
- :key="index"
|
|
126
|
|
- @click="preview(item, 1)"
|
|
127
|
|
- >
|
|
128
|
|
- {{ item.annexName }}
|
|
129
|
|
- </div>
|
|
130
|
|
- </div>
|
|
131
|
|
- </div>
|
|
132
|
|
- </div> -->
|
|
133
|
56
|
<quill-editor ref="myQuillEditor" v-model="contentValue" :options="editorOption" @blur="onEditorBlur($event)"
|
|
134
|
57
|
@focus="onEditorFocus($event)" @ready="onEditorReady($event)"></quill-editor>
|
|
135
|
58
|
<el-button class="updataBtn" @click="updataClick" type="primary" :disabled="!updataFlag">确认修改内容</el-button>
|
|
|
@@ -244,7 +167,7 @@ export default {
|
|
244
|
167
|
resFlag: null,
|
|
245
|
168
|
appFlag: null,
|
|
246
|
169
|
userClassPhone: "userVideoPhone",
|
|
247
|
|
- userList: [],
|
|
|
170
|
+ userList: [1,2,3,4,5],
|
|
248
|
171
|
userHeight: "100%",
|
|
249
|
172
|
userPhoneHeight: "92%",
|
|
250
|
173
|
userSign: "",
|
|
|
@@ -299,7 +222,7 @@ export default {
|
|
299
|
222
|
filedata3: {
|
|
300
|
223
|
annexType: 7,
|
|
301
|
224
|
officeFlag: 0,
|
|
302
|
|
- isMediaBook:1,
|
|
|
225
|
+ isMediaBook: 1,
|
|
303
|
226
|
caseId: null,
|
|
304
|
227
|
},
|
|
305
|
228
|
fileList3: [],
|
|
|
@@ -311,7 +234,7 @@ export default {
|
|
311
|
234
|
},
|
|
312
|
235
|
methods: {
|
|
313
|
236
|
UploadUrl() {
|
|
314
|
|
- return window.location.origin + "/tiaojie/video/upload";
|
|
|
237
|
+ return window.location.origin + "/tjformal/video/upload";
|
|
315
|
238
|
},
|
|
316
|
239
|
/**点击开启麦克风图标,关闭麦克风 */
|
|
317
|
240
|
micClickOn() {
|
|
|
@@ -621,24 +544,11 @@ export default {
|
|
621
|
544
|
const streamType = event.streamType;
|
|
622
|
545
|
const userId = event.userId;
|
|
623
|
546
|
if (streamType == "main") {
|
|
624
|
|
- // if (this.hostId == userId) {
|
|
625
|
|
- // alert("主持人已经解散会议");
|
|
626
|
|
- // this.$router.push({
|
|
627
|
|
- // name: "Home",
|
|
628
|
|
- // });
|
|
629
|
|
- // this.userList = [];
|
|
630
|
|
- // return;
|
|
631
|
|
- // }
|
|
632
|
547
|
let deleteIndex = this.userList.indexOf(userId);
|
|
633
|
548
|
this.userList = this.userList.filter((item) => item !== userId);
|
|
634
|
549
|
if (deleteIndex !== -1) {
|
|
635
|
550
|
this.userList.splice(deleteIndex, 1);
|
|
636
|
551
|
}
|
|
637
|
|
- // if (this.modileFlag) {
|
|
638
|
|
- // // this.userHeight = getHeight(this.userList);
|
|
639
|
|
- // } else {
|
|
640
|
|
- // this.userClassPhone = getWidthPhone(this.userList);
|
|
641
|
|
- // }
|
|
642
|
552
|
Object.keys(this.asrList).forEach((key) => {
|
|
643
|
553
|
this.asrList[userId].stop();
|
|
644
|
554
|
});
|
|
|
@@ -733,10 +643,13 @@ export default {
|
|
733
|
643
|
async mounted() {
|
|
734
|
644
|
if (this.userList.length == 1) {
|
|
735
|
645
|
this.videoClass = "videoItem3";
|
|
|
646
|
+ this.userClassPhone = "userVideoPhone1";
|
|
736
|
647
|
} else if (this.userList.length > 1) {
|
|
737
|
648
|
this.videoClass = "videoItem1";
|
|
|
649
|
+ this.userClassPhone = "userVideoPhone2";
|
|
738
|
650
|
} else if (this.userList.length < 1) {
|
|
739
|
651
|
this.videoClass = "videoItem";
|
|
|
652
|
+ this.userClassPhone = "userVideoPhone";
|
|
740
|
653
|
}
|
|
741
|
654
|
// 判断设备类型
|
|
742
|
655
|
this.modileFlag = getModile();
|
|
|
@@ -827,6 +740,13 @@ export default {
|
|
827
|
740
|
</script>
|
|
828
|
741
|
|
|
829
|
742
|
<style scoped>
|
|
|
743
|
+.iconImg{
|
|
|
744
|
+ position: fixed;
|
|
|
745
|
+ top: 50%;
|
|
|
746
|
+ height: 40px;
|
|
|
747
|
+ width: 40px;
|
|
|
748
|
+ /* right: 10px; */
|
|
|
749
|
+}
|
|
830
|
750
|
.roompage {
|
|
831
|
751
|
width: 100%;
|
|
832
|
752
|
height: 100vh;
|
|
|
@@ -952,19 +872,36 @@ export default {
|
|
952
|
872
|
color: #ffffff;
|
|
953
|
873
|
}
|
|
954
|
874
|
|
|
955
|
|
-.header {
|
|
|
875
|
+/* .header {
|
|
956
|
876
|
width: 100%;
|
|
957
|
877
|
height: 8%;
|
|
958
|
878
|
background-color: #716c6c;
|
|
959
|
879
|
display: flex;
|
|
960
|
880
|
flex-direction: row-reverse;
|
|
961
|
881
|
align-items: center;
|
|
962
|
|
-}
|
|
963
|
|
-
|
|
|
882
|
+} */
|
|
|
883
|
+/* 移动端样式 */
|
|
964
|
884
|
.roomPhone {
|
|
965
|
885
|
width: 100%;
|
|
966
|
886
|
height: 100vh;
|
|
|
887
|
+ background-color: yellow;
|
|
|
888
|
+}
|
|
|
889
|
+.footerPhone{
|
|
|
890
|
+ width: 100%;
|
|
|
891
|
+ height: 8%;
|
|
|
892
|
+ background-color: greenyellow;
|
|
967
|
893
|
}
|
|
|
894
|
+.bodyPhone{
|
|
|
895
|
+ width: 100%;
|
|
|
896
|
+ height: 92%;
|
|
|
897
|
+ display: flex;
|
|
|
898
|
+ justify-content: space-around;
|
|
|
899
|
+ flex-wrap: wrap;
|
|
|
900
|
+ align-items: center;
|
|
|
901
|
+ overflow-y: scroll;
|
|
|
902
|
+ background-color: rebeccapurple;
|
|
|
903
|
+}
|
|
|
904
|
+/* 移动端样式 */
|
|
968
|
905
|
|
|
969
|
906
|
.bodyVideo {
|
|
970
|
907
|
width: 100%;
|
|
|
@@ -980,15 +917,16 @@ export default {
|
|
980
|
917
|
background-color: yellow;
|
|
981
|
918
|
position: relative;
|
|
982
|
919
|
}
|
|
983
|
|
-
|
|
984
|
|
-.userVideoPhone1 {
|
|
985
|
|
- width: 50%;
|
|
986
|
|
- flex-basis: calc(33.333% - 3px);
|
|
987
|
|
- max-width: calc(33.333% - 3px);
|
|
988
|
|
- height: 200px;
|
|
989
|
|
- /* height: 0; */
|
|
990
|
|
- /* padding-bottom: calc(33.333% - 3px); */
|
|
991
|
|
- margin-bottom: 3px;
|
|
|
920
|
+.userVideoPhone1{
|
|
|
921
|
+ width: 100%;
|
|
|
922
|
+ height: 49%;
|
|
|
923
|
+ background-color: rgb(43, 0, 255);
|
|
|
924
|
+ position: relative;
|
|
|
925
|
+}
|
|
|
926
|
+.userVideoPhone2{
|
|
|
927
|
+ width: 150px;
|
|
|
928
|
+ height: 150px;
|
|
|
929
|
+ background-color: rgb(43, 0, 255);
|
|
992
|
930
|
position: relative;
|
|
993
|
931
|
}
|
|
994
|
932
|
|