调解视频会议
This commit is contained in:
+5
-5
@@ -1,15 +1,15 @@
|
||||
import axios from "@/utils/request";
|
||||
let baseUrl = 'https://api.xayunmei.com/zhongcaiapi';
|
||||
// let baseUrl = 'http://121.40.189.20:8001'
|
||||
// let baseUrl = 'https://api.xayunmei.com/zhongcaiapi';
|
||||
let baseUrl = 'http://121.40.189.20:6001'
|
||||
// 获取usersig
|
||||
export function getUsersig(userId) {
|
||||
return axios.get(`${baseUrl}/caseApplication/generateUserSign?userId=${userId}`);
|
||||
return axios.get(`${baseUrl}/video/generateUserSign?userId=${userId}`);
|
||||
}
|
||||
// 获取房间号
|
||||
export function getRoomId(caseId) {
|
||||
return axios.get(`${baseUrl}/caseApplication/createRoomId?caseId=${caseId}`);
|
||||
return axios.get(`${baseUrl}/video/createRoomId?caseId=${caseId}`);
|
||||
}
|
||||
// 根据案件id查询相关信息
|
||||
export function reserveConferenceList(caseId) {
|
||||
return axios.get(`${baseUrl}/caseApplication/reserveConferenceList?caseId=${caseId}`);
|
||||
return axios.get(`${baseUrl}/video/reserveConferenceList?caseId=${caseId}`);
|
||||
}
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
import axios from "@/utils/request";
|
||||
let baseUrl = 'https://api.xayunmei.com/zhongcaiapi';
|
||||
// let baseUrl = 'http://121.40.189.20:8001'
|
||||
// let baseUrl = 'https://api.xayunmei.com/zhongcaiapi';
|
||||
let baseUrl = 'http://121.40.189.20:6001'
|
||||
// 开始云端录制
|
||||
export function startVideo(data) {
|
||||
return axios.post(`${baseUrl}/video/openCloudRecording`,data);
|
||||
|
||||
@@ -21,7 +21,8 @@ export default {
|
||||
return {
|
||||
roomId: null,
|
||||
taskId: null,
|
||||
roleFlag: false
|
||||
roleFlag: false,
|
||||
caseId:""
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
@@ -42,7 +43,7 @@ export default {
|
||||
},
|
||||
async startVideoFn() {
|
||||
await startVideo({
|
||||
caseId: 12865,
|
||||
caseId: this.caseId,
|
||||
roomId: this.roomId
|
||||
}).then(res => {
|
||||
this.taskId = res.data.taskId
|
||||
@@ -57,6 +58,7 @@ export default {
|
||||
},
|
||||
async mounted() {
|
||||
this.roomId = this.$route.query.roomId;
|
||||
this.caseId = this.$route.query.caseId;
|
||||
let roleFlag = this.$route.query.flag;
|
||||
this.roleFlag = roleFlag;
|
||||
if (roleFlag) {
|
||||
|
||||
+3
-3
@@ -273,9 +273,9 @@ export default {
|
||||
message: "进房失败",
|
||||
type: 'error'
|
||||
});
|
||||
this.$router.push({
|
||||
name: 'Home'
|
||||
})
|
||||
// this.$router.push({
|
||||
// name: 'Home'
|
||||
// })
|
||||
}
|
||||
this.localStreamAsr = new ASR({
|
||||
secretKey: 'INDrIXcT8YmomZBcsy0oNirnU0LTN4X7',
|
||||
|
||||
Reference in New Issue
Block a user