视频会议解决无法判断仲裁还是调解bug
This commit is contained in:
Vendored
-1
@@ -1 +0,0 @@
|
||||
.homepage[data-v-f23aeb60]{width:100%;height:100vh;background-color:#302e2e;display:flex;align-items:center;justify-content:space-around}#video[data-v-f23aeb60]{width:40%;height:50%}.enterRoom[data-v-f23aeb60],.reservation[data-v-f23aeb60]{width:20%;height:50%;background-color:#1c1b1b}.title[data-v-f23aeb60]{width:100%;text-align:center;color:#3f1ab7;line-height:30px;font-size:18px;margin-bottom:20px}.enterForm[data-v-f23aeb60]{width:100%;display:flex;justify-content:center}.homepage[data-v-66f2b650]{width:100%;height:100vh;background-color:#302e2e;display:flex;flex-direction:column;align-items:center}#video[data-v-66f2b650]{width:90%;height:50%}.enterRoom[data-v-66f2b650]{margin-top:30px;width:90%;height:10%}.reservation[data-v-66f2b650]{width:20%;height:50%;background-color:#1c1b1b}.title[data-v-66f2b650]{width:100%;text-align:center;color:#3f1ab7;line-height:30px;font-size:18px;margin-bottom:20px}.enterForm[data-v-66f2b650]{width:100%;display:flex;justify-content:center}
|
||||
Vendored
-22
File diff suppressed because one or more lines are too long
Vendored
+1
-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.b16260de.js"></script><script defer="defer" src="/js/app.b526e971.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>
|
||||
<!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>
|
||||
Vendored
-2
@@ -1,2 +0,0 @@
|
||||
"use strict";(self["webpackChunknouiroom"]=self["webpackChunknouiroom"]||[]).push([[104],{5104:function(e,o,t){t.r(o),t.d(o,{default:function(){return k}});var r=function(){var e=this,o=e._self._c;return o("div",{staticClass:"homepage"},[e.modileFlag?o("homepc"):e._e(),e.modileFlag?e._e():o("homePhone")],1)},s=[],i=function(){var e=this,o=e._self._c;return o("div",{staticClass:"homepage"},[o("div",{attrs:{id:"video"}}),o("div",{staticClass:"enterRoom"},[o("div",{staticClass:"title"},[e._v(" 仲裁会议室 ")]),o("div",{staticClass:"enterForm"},[o("el-form",{ref:"enterRoomFrom",attrs:{model:e.enterRoomFrom}},[o("el-form-item",[o("el-input",{attrs:{placeholder:"请输入房间号"},model:{value:e.enterRoomFrom.roomId,callback:function(o){e.$set(e.enterRoomFrom,"roomId",o)},expression:"enterRoomFrom.roomId"}},[o("template",{slot:"append"},[o("el-button",{attrs:{type:"primary",icon:"el-icon-right"},on:{click:e.enterRoom}},[e._v("进入")])],1)],2)],1)],1)],1)])])},l=[],n=(t(560),t(2268)),a=t(2799),m=t.n(a);let d=null;var u={name:"App",data(){return{formLabelAlign:{},enterRoomFrom:{},trtc:null,userId:null,userCode:null,caseId:null,roleFlag:!1}},methods:{async enterRoom(){this.roomId==this.enterRoomFrom.roomId?this.$router.push({name:"Room",query:{userId:this.userId,roomId:this.enterRoomFrom.roomId,flag:this.roleFlag,caseId:this.caseId,id:this.userCode}}):this.$message({message:"房间号不是对应案件的房间号",type:"error"})},submitRoom(){this.$refs["formLabelAlign"].validate((e=>{}))},reserveConferenceListFn(e){(0,n.Je)(e).then((e=>{this.userCode==e.data[0].userId?this.roleFlag=!0:this.roleFlag=!1}))}},async mounted(){let e=this.$route.query;this.userId=e.name,this.roomId=e.roomId,this.userCode=e.userId,this.caseId=e.id,this.caseId&&this.reserveConferenceListFn(this.caseId),d=m().create();const o={view:document.getElementById("video"),publish:!1};await d.startLocalVideo(o)}},h=u,c=t(1001),I=(0,c.Z)(h,i,l,!1,null,"f23aeb60",null),p=I.exports,v=function(){var e=this,o=e._self._c;return o("div",{staticClass:"homepage"},[o("div",{staticClass:"title"},[e._v(" 仲裁会议室 ")]),o("div",{attrs:{id:"video"}}),o("div",{staticClass:"enterRoom"},[o("el-form",{ref:"enterRoomFrom",attrs:{model:e.enterRoomFrom}},[o("el-form-item",[o("el-input",{attrs:{placeholder:"请输入房间号"},model:{value:e.enterRoomFrom.roomId,callback:function(o){e.$set(e.enterRoomFrom,"roomId",o)},expression:"enterRoomFrom.roomId"}},[o("template",{slot:"append"},[o("el-button",{attrs:{type:"primary",icon:"el-icon-right"},on:{click:e.enterRoom}},[e._v("进入")])],1)],2)],1)],1)],1)])},f=[];let F=null;var g={name:"App",data(){return{formLabelAlign:{},enterRoomFrom:{},trtc:null,userId:null,userCode:null,caseId:null,roleFlag:!1}},methods:{async enterRoom(){this.roomId==this.enterRoomFrom.roomId?this.$router.push({name:"Room",query:{userId:this.userId,roomId:this.enterRoomFrom.roomId,flag:this.roleFlag,caseId:this.caseId}}):this.$message({message:"房间号不是对应案件的房间号",type:"error"})},submitRoom(){this.$refs["formLabelAlign"].validate((e=>{}))},reserveConferenceListFn(e){(0,n.Je)(e).then((e=>{this.userCode==e.data[0].userId?this.roleFlag=!0:this.roleFlag=!1}))}},async mounted(){let e=this.$route.query;this.userId=e.name,this.roomId=e.roomId,this.userCode=e.userId,this.caseId=e.id,this.caseId&&this.reserveConferenceListFn(this.caseId),F=m().create();const o={view:document.getElementById("video"),publish:!1};await F.startLocalVideo(o)}},R=g,C=(0,c.Z)(R,v,f,!1,null,"66f2b650",null),b=C.exports,y=t(6097),_={name:"App",components:{homepc:p,homePhone:b},data(){return{modileFlag:!1}},methods:{},mounted(){this.modileFlag=(0,y.Qv)()}},L=_,$=(0,c.Z)(L,r,s,!1,null,"d34b2652",null),k=$.exports}}]);
|
||||
//# sourceMappingURL=104.15b7bedb.js.map
|
||||
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
-2
File diff suppressed because one or more lines are too long
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
-17
File diff suppressed because one or more lines are too long
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
-2
File diff suppressed because one or more lines are too long
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
-25
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
@@ -9,6 +9,9 @@
|
||||
export default {
|
||||
name: 'App',
|
||||
components: {
|
||||
},
|
||||
created(){
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
+22
-5
@@ -1,15 +1,32 @@
|
||||
import axios from "@/utils/request";
|
||||
// let baseUrl = 'https://api.xayunmei.com/zhongcaiapi';
|
||||
let baseUrl = 'http://121.40.189.20:6001'
|
||||
let baseUrlZc = 'https://api.xayunmei.com/zhongcaiapi';
|
||||
let baseUrl = 'https://api.xayunmei.com/tiaojieapitest';
|
||||
// let baseUrl = 'http://121.40.189.20:6001';
|
||||
// 获取usersig
|
||||
export function getUsersig(userId) {
|
||||
return axios.get(`${baseUrl}/video/generateUserSign?userId=${userId}`);
|
||||
let appType = sessionStorage.getItem('type');
|
||||
if (appType == 'tiaojie') {
|
||||
return axios.get(`${baseUrl}/caseApplication/generateUserSign?userId=${userId}`);
|
||||
} else {
|
||||
return axios.get(`${baseUrlZc}/caseApplication/generateUserSign?userId=${userId}`);
|
||||
}
|
||||
}
|
||||
// 获取房间号
|
||||
export function getRoomId(caseId) {
|
||||
return axios.get(`${baseUrl}/video/createRoomId?caseId=${caseId}`);
|
||||
let appType = sessionStorage.getItem('type');
|
||||
if (appType == 'tiaojie') {
|
||||
return axios.get(`${baseUrl}/caseApplication/createRoomId?caseId=${caseId}`);
|
||||
} else {
|
||||
return axios.get(`${baseUrlZc}/caseApplication/createRoomId?caseId=${caseId}`);
|
||||
}
|
||||
}
|
||||
// 根据案件id查询相关信息
|
||||
export function reserveConferenceList(caseId) {
|
||||
return axios.get(`${baseUrl}/video/reserveConferenceList?caseId=${caseId}`);
|
||||
let appType = sessionStorage.getItem('type');
|
||||
if (appType == 'tiaojie') {
|
||||
return axios.get(`${baseUrl}/caseApplication/reserveConferenceList?caseId=${caseId}`);
|
||||
} else {
|
||||
return axios.get(`${baseUrlZc}/caseApplication/reserveConferenceList?caseId=${caseId}`);
|
||||
}
|
||||
|
||||
}
|
||||
+28
-2
@@ -1,23 +1,49 @@
|
||||
import axios from "@/utils/request";
|
||||
// let baseUrl = 'https://api.xayunmei.com/zhongcaiapi';
|
||||
let baseUrl = 'http://121.40.189.20:6001'
|
||||
let baseUrlZC = 'https://api.xayunmei.com/zhongcaiapi';
|
||||
let baseUrl = 'https://api.xayunmei.com/tiaojieapitest';
|
||||
// let baseUrl = 'http://121.40.189.20:6001';
|
||||
// 开始云端录制
|
||||
export function startVideo(data) {
|
||||
let appType = sessionStorage.getItem('type');
|
||||
if (appType == 'tiaojie') {
|
||||
return axios.post(`${baseUrl}/video/openCloudRecording`, data);
|
||||
} else {
|
||||
return axios.post(`${baseUrlZC}/video/openCloudRecording`, data);
|
||||
}
|
||||
}
|
||||
// 结束云端录制
|
||||
export function stopVideo(data) {
|
||||
let appType = sessionStorage.getItem('type');
|
||||
if (appType == 'tiaojie') {
|
||||
return axios.post(`${baseUrl}/video/closeDeleteCloudRecording?taskId=${data}`);
|
||||
} else {
|
||||
return axios.post(`${baseUrlZC}/video/closeDeleteCloudRecording?taskId=${data}`);
|
||||
}
|
||||
}
|
||||
// 解散房间
|
||||
export function destructionRoom(data) {
|
||||
let appType = sessionStorage.getItem('type');
|
||||
if (appType == 'tiaojie') {
|
||||
return axios.post(`${baseUrl}/video/dissolveRoom`, data);
|
||||
} else {
|
||||
return axios.post(`${baseUrlZC}/video/dissolveRoom`, data);
|
||||
}
|
||||
}
|
||||
// 根据html字符串转pdf并且和案件关联
|
||||
export function htmlToPDF(data) {
|
||||
let appType = sessionStorage.getItem('type');
|
||||
if (appType == 'tiaojie') {
|
||||
return axios.post(`${baseUrl}/video/htmlToPDF`, data);
|
||||
} else {
|
||||
return axios.post(`${baseUrlZC}/video/htmlToPDF`, data);
|
||||
}
|
||||
}
|
||||
// 根据userId查询该用户是否是秘书
|
||||
export function secretaryRoleByUserId(userId) {
|
||||
let appType = sessionStorage.getItem('type');
|
||||
if (appType == 'tiaojie') {
|
||||
return axios.get(`${baseUrl}/video/secretaryRoleByUserId?userId=${userId}`);
|
||||
} else {
|
||||
return axios.get(`${baseUrlZC}/video/secretaryRoleByUserId?userId=${userId}`);
|
||||
}
|
||||
}
|
||||
|
||||
+27
-26
@@ -1,17 +1,15 @@
|
||||
<template>
|
||||
<div class="homepage">
|
||||
<div class="title">
|
||||
仲裁会议室
|
||||
</div>
|
||||
<div id="video">
|
||||
|
||||
</div>
|
||||
<div class="title">仲裁会议室</div>
|
||||
<div id="video"></div>
|
||||
<div class="enterRoom">
|
||||
<el-form :model="enterRoomFrom" ref="enterRoomFrom">
|
||||
<el-form-item>
|
||||
<el-input placeholder="请输入房间号" v-model="enterRoomFrom.roomId">
|
||||
<template slot="append"><el-button type="primary" @click="enterRoom"
|
||||
icon="el-icon-right">进入</el-button></template></el-input>
|
||||
<template slot="append">
|
||||
<el-button type="primary" @click="enterRoom" icon="el-icon-right">进入</el-button>
|
||||
</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
@@ -19,11 +17,11 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { reserveConferenceList } from '@/api/home.js'
|
||||
import TRTC from 'trtc-sdk-v5';
|
||||
import { reserveConferenceList } from "@/api/home.js";
|
||||
import TRTC from "trtc-sdk-v5";
|
||||
let trtc = null;
|
||||
export default {
|
||||
name: 'App',
|
||||
name: "App",
|
||||
data() {
|
||||
return {
|
||||
formLabelAlign: {},
|
||||
@@ -40,34 +38,36 @@ export default {
|
||||
if (this.roomId != this.enterRoomFrom.roomId) {
|
||||
this.$message({
|
||||
message: "房间号不是对应案件的房间号",
|
||||
type: 'error'
|
||||
type: "error"
|
||||
});
|
||||
return
|
||||
return;
|
||||
}
|
||||
this.$router.push({
|
||||
name: 'Room',
|
||||
name: "Room",
|
||||
query: {
|
||||
userId: this.userId,
|
||||
roomId: this.enterRoomFrom.roomId,
|
||||
flag: this.roleFlag,
|
||||
caseId: this.caseId
|
||||
}
|
||||
})
|
||||
});
|
||||
},
|
||||
submitRoom() {
|
||||
this.$refs["formLabelAlign"].validate((valid) => {
|
||||
|
||||
})
|
||||
this.$refs["formLabelAlign"].validate(valid => {});
|
||||
},
|
||||
// 根据案件id查询主持人信息
|
||||
reserveConferenceListFn(data) {
|
||||
reserveConferenceList(data).then(res => {
|
||||
async reserveConferenceListFn(data) {
|
||||
await reserveConferenceList(data).then(res => {
|
||||
if (res.data.length > 1) {
|
||||
if (this.userCode == res.data[0].userId) {
|
||||
this.roleFlag = true;
|
||||
} else {
|
||||
this.roleFlag = false;
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.roleFlag = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
async mounted() {
|
||||
@@ -76,16 +76,17 @@ export default {
|
||||
this.roomId = routeParams.roomId;
|
||||
this.userCode = routeParams.userId;
|
||||
this.caseId = routeParams.id;
|
||||
sessionStorage.setItem('type',appType);
|
||||
if (this.caseId) {
|
||||
this.reserveConferenceListFn(this.caseId);
|
||||
await this.reserveConferenceListFn(this.caseId);
|
||||
}
|
||||
trtc = TRTC.create()
|
||||
trtc = TRTC.create();
|
||||
const config = {
|
||||
view: document.getElementById('video'),
|
||||
view: document.getElementById("video"),
|
||||
publish: false
|
||||
}
|
||||
};
|
||||
await trtc.startLocalVideo(config);
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
+22
-22
@@ -1,18 +1,16 @@
|
||||
<template>
|
||||
<div class="homepage">
|
||||
<div id="video">
|
||||
|
||||
</div>
|
||||
<div id="video"></div>
|
||||
<div class="enterRoom">
|
||||
<div class="title">
|
||||
仲裁会议室
|
||||
</div>
|
||||
<div class="title">仲裁会议室</div>
|
||||
<div class="enterForm">
|
||||
<el-form :model="enterRoomFrom" ref="enterRoomFrom">
|
||||
<el-form-item>
|
||||
<el-input placeholder="请输入房间号" v-model="enterRoomFrom.roomId">
|
||||
<template slot="append"><el-button type="primary" @click="enterRoom"
|
||||
icon="el-icon-right">进入</el-button></template></el-input>
|
||||
<template slot="append">
|
||||
<el-button type="primary" @click="enterRoom" icon="el-icon-right">进入</el-button>
|
||||
</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
@@ -21,11 +19,11 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { reserveConferenceList } from '@/api/home.js'
|
||||
import TRTC from 'trtc-sdk-v5';
|
||||
import { reserveConferenceList } from "@/api/home.js";
|
||||
import TRTC from "trtc-sdk-v5";
|
||||
let trtc = null;
|
||||
export default {
|
||||
name: 'App',
|
||||
name: "App",
|
||||
data() {
|
||||
return {
|
||||
formLabelAlign: {},
|
||||
@@ -47,7 +45,7 @@ export default {
|
||||
// return
|
||||
// }
|
||||
this.$router.push({
|
||||
name: 'Room',
|
||||
name: "Room",
|
||||
query: {
|
||||
userId: this.userId,
|
||||
roomId: this.roomId,
|
||||
@@ -55,22 +53,24 @@ export default {
|
||||
caseId: this.caseId,
|
||||
id: this.userCode
|
||||
}
|
||||
})
|
||||
});
|
||||
},
|
||||
submitRoom() {
|
||||
this.$refs["formLabelAlign"].validate((valid) => {
|
||||
|
||||
})
|
||||
this.$refs["formLabelAlign"].validate(valid => {});
|
||||
},
|
||||
// 根据案件id查询主持人信息
|
||||
async reserveConferenceListFn(data) {
|
||||
await reserveConferenceList(data).then(res => {
|
||||
if (res.data.length > 1) {
|
||||
if (this.userCode == res.data[0].userId) {
|
||||
this.roleFlag = true;
|
||||
} else {
|
||||
this.roleFlag = false;
|
||||
}
|
||||
})
|
||||
}else{
|
||||
this.roleFlag = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
async mounted() {
|
||||
@@ -81,15 +81,15 @@ export default {
|
||||
this.caseId = routeParams.id;
|
||||
if (this.caseId) {
|
||||
await this.reserveConferenceListFn(this.caseId);
|
||||
await this.enterRoom()
|
||||
await this.enterRoom();
|
||||
}
|
||||
trtc = TRTC.create()
|
||||
trtc = TRTC.create();
|
||||
const config = {
|
||||
view: document.getElementById('video'),
|
||||
view: document.getElementById("video"),
|
||||
publish: false
|
||||
}
|
||||
};
|
||||
await trtc.startLocalVideo(config);
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
+11
-11
@@ -11,11 +11,11 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import homepc from '@/components/homepc.vue';
|
||||
import homePhone from '@/components/homeh5.vue';
|
||||
import { getModile } from '@/utils/utils'
|
||||
import homepc from "@/components/homepc.vue";
|
||||
import homePhone from "@/components/homeh5.vue";
|
||||
import { getModile } from "@/utils/utils";
|
||||
export default {
|
||||
name: 'App',
|
||||
name: "App",
|
||||
components: {
|
||||
homepc,
|
||||
homePhone
|
||||
@@ -25,17 +25,17 @@ export default {
|
||||
modileFlag: false
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
||||
},
|
||||
mounted() {
|
||||
this.modileFlag = getModile()
|
||||
},
|
||||
methods: {},
|
||||
created() {
|
||||
this.modileFlag = getModile();
|
||||
let routeParams = this.$route.query;
|
||||
let appType = routeParams.type;
|
||||
sessionStorage.setItem("type", appType);
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user