Sfoglia il codice sorgente

视频会议仲裁兼容

hanchaobo 2 anni fa
parent
commit
4d336b905c
2 ha cambiato i file con 20 aggiunte e 30 eliminazioni
  1. 19
    3
      src/api/room.js
  2. 1
    27
      src/views/room.vue

+ 19
- 3
src/api/room.js Vedi File

@@ -49,11 +49,22 @@ export function secretaryRoleByUserId(userId, caseId) {
49 49
 }
50 50
 // 获取证据列表
51 51
 export function selectById(caseId) {
52
-    return axios.get(`tjformal/caseApplication/selectById?id=${caseId}`);
52
+    let appType = sessionStorage.getItem('type');
53
+    if (appType == 'tiaojie') {
54
+        return axios.get(`tjformal/caseApplication/selectById?id=${caseId}`);
55
+    } else {
56
+        return axios.get(`zhongcai/caseApplication/selectById?id=${caseId}`);
57
+    }
53 58
 }
54 59
 // 根据案件id查询登录人是否为申请人被申请人
55 60
 export function selectRoleMenuByCaseId(caseId) {
56
-    return axios.get(`tjformal/video/selectRoleMenuByCaseId?caseId=${caseId}`);
61
+    let appType = sessionStorage.getItem('type');
62
+    if (appType == 'tiaojie') {
63
+        return axios.get(`tjformal/video/selectRoleMenuByCaseId?caseId=${caseId}`);
64
+    } else {
65
+        return axios.get(`zhongcai/video/selectRoleMenuByCaseId?caseId=${caseId}`);
66
+    }
67
+    
57 68
 }
58 69
 // 保存onlyOffice文档
59 70
 export function saveOnlyOfficeFile(data) {
@@ -61,7 +72,12 @@ export function saveOnlyOfficeFile(data) {
61 72
 }
62 73
 //获取当前用户的操作权限
63 74
 export function getMenuPermsByUser(caseId) {
64
-    return axios.get(`tjformal/system/menu/getMenuPermsByUser`);
75
+    let appType = sessionStorage.getItem('type');
76
+    if (appType == 'tiaojie') {
77
+        return axios.get(`tjformal/system/menu/getMenuPermsByUser`);
78
+    } else {
79
+        return axios.get(`zhongcai/system/menu/getMenuPermsByUser`);
80
+    }
65 81
 }
66 82
 // 上传文件
67 83
 export function videoUpload(data) {

+ 1
- 27
src/views/room.vue Vedi File

@@ -2,7 +2,6 @@
2 2
   <div class="page">
3 3
     <div class="iconImg" v-if="!modileFlag && rightType && rightTypeall" @click="checkList(1)">
4 4
       <i class="el-icon-d-arrow-left" style="font-size: 30px;color: aqua;"></i>
5
-      <!-- <i class="el-icon-d-arrow-right"></i> -->
6 5
     </div>
7 6
     <div class="roompage" @mouseover="mouseHover" v-if="modileFlag">
8 7
       <div class="txtContent">
@@ -27,7 +26,7 @@
27 26
         </roomFooter>
28 27
       </div>
29 28
     </div>
30
-    <div class="roomPhone">
29
+    <div class="roomPhone" v-if="!modileFlag">
31 30
       <div class="videoPage">
32 31
         <div :class="sharingType" id="screenShare">
33 32
         </div>
@@ -40,8 +39,6 @@
40 39
           </div>
41 40
           <i class="el-icon-d-arrow-right" style="font-size: 30px;color: aqua;" @click="checkList(2)"
42 41
             v-if="!rightType && rightTypeall"></i>
43
-          <!-- <i class="el-icon-d-arrow-left" style="font-size: 30px;color: aqua;" @click="checkList(2)"
44
-            v-if="!rightType && !rightTypeall"></i> -->
45 42
         </div>
46 43
         <div class="footerPhone">
47 44
           <roomFooterPhone @exitRoom="exitRoom" @micClickOn="micClickOn" @micClickOff="micClickOff"
@@ -50,17 +47,6 @@
50 47
             :videoFlag="videoFlag" :sharFlag="sharFlag"></roomFooterPhone>
51 48
         </div>
52 49
       </div>
53
-      <!-- <div class="header">
54
-        <roomFooterPhone @exitRoom="exitRoom"></roomFooterPhone>
55
-      </div>
56
-      <div class="bodyVideo">
57
-        <div :class="userClassPhone" id="localStream">
58
-          <div class="userNamePhone">{{ userId }}</div>
59
-        </div>
60
-        <div :class="userClassPhone" v-for="(item, index) in userList" :key="index" :id="item">
61
-          <div class="userNamePhone">{{ item }}</div>
62
-        </div>
63
-      </div> -->
64 50
     </div>
65 51
     <!-- 语音转文字弹窗 -->
66 52
     <el-drawer title="会议内容" :visible.sync="textVisible" :modal="false">
@@ -935,14 +921,6 @@ export default {
935 921
   color: #ffffff;
936 922
 }
937 923
 
938
-/* .header {
939
-  width: 100%;
940
-  height: 8%;
941
-  background-color: #716c6c;
942
-  display: flex;
943
-  flex-direction: row-reverse;
944
-  align-items: center;
945
-} */
946 924
 /* 移动端样式 */
947 925
 .roomPhone {
948 926
   width: 100%;
@@ -1033,10 +1011,6 @@ export default {
1033 1011
   bottom: 8px;
1034 1012
 }
1035 1013
 
1036
-.fileList {
1037
-  /* max-height: 300px; */
1038
-  /* overflow-y: scroll; */
1039
-}
1040 1014
 
1041 1015
 .list {
1042 1016
   display: flex;