|
|
@@ -6,7 +6,7 @@ import axios from "@/utils/request";
|
|
6
|
6
|
export function startVideo(data) {
|
|
7
|
7
|
let appType = sessionStorage.getItem('type');
|
|
8
|
8
|
if (appType == 'tiaojie') {
|
|
9
|
|
- return axios.post(`tiaojie/video/openCloudRecording`, data);
|
|
|
9
|
+ return axios.post(`tjformal/video/openCloudRecording`, data);
|
|
10
|
10
|
} else {
|
|
11
|
11
|
return axios.post(`zhongcai/video/openCloudRecording`, data);
|
|
12
|
12
|
}
|
|
|
@@ -15,7 +15,7 @@ export function startVideo(data) {
|
|
15
|
15
|
export function stopVideo(data) {
|
|
16
|
16
|
let appType = sessionStorage.getItem('type');
|
|
17
|
17
|
if (appType == 'tiaojie') {
|
|
18
|
|
- return axios.post(`tiaojie/video/closeDeleteCloudRecording?taskId=${data}`);
|
|
|
18
|
+ return axios.post(`tjformal/video/closeDeleteCloudRecording?taskId=${data}`);
|
|
19
|
19
|
} else {
|
|
20
|
20
|
return axios.post(`zhongcai/video/closeDeleteCloudRecording?taskId=${data}`);
|
|
21
|
21
|
}
|
|
|
@@ -24,7 +24,7 @@ export function stopVideo(data) {
|
|
24
|
24
|
export function destructionRoom(data) {
|
|
25
|
25
|
let appType = sessionStorage.getItem('type');
|
|
26
|
26
|
if (appType == 'tiaojie') {
|
|
27
|
|
- return axios.post(`tiaojie/video/dissolveRoom`, data);
|
|
|
27
|
+ return axios.post(`tjformal/video/dissolveRoom`, data);
|
|
28
|
28
|
} else {
|
|
29
|
29
|
return axios.post(`zhongcai/video/dissolveRoom`, data);
|
|
30
|
30
|
}
|
|
|
@@ -33,7 +33,7 @@ export function destructionRoom(data) {
|
|
33
|
33
|
export function htmlToPDF(data) {
|
|
34
|
34
|
let appType = sessionStorage.getItem('type');
|
|
35
|
35
|
if (appType == 'tiaojie') {
|
|
36
|
|
- return axios.post(`tiaojie/video/htmlToPDF`, data);
|
|
|
36
|
+ return axios.post(`tjformal/video/htmlToPDF`, data);
|
|
37
|
37
|
} else {
|
|
38
|
38
|
return axios.post(`zhongcai/video/htmlToPDF`, data);
|
|
39
|
39
|
}
|
|
|
@@ -42,28 +42,28 @@ export function htmlToPDF(data) {
|
|
42
|
42
|
export function secretaryRoleByUserId(userId, caseId) {
|
|
43
|
43
|
let appType = sessionStorage.getItem('type');
|
|
44
|
44
|
if (appType == 'tiaojie') {
|
|
45
|
|
- return axios.get(`tiaojie/video/secretaryRoleByUserId?userId=${userId}&caseId=${caseId}`);
|
|
|
45
|
+ return axios.get(`tjformal/video/secretaryRoleByUserId?userId=${userId}&caseId=${caseId}`);
|
|
46
|
46
|
} else {
|
|
47
|
47
|
return axios.get(`zhongcai/video/secretaryRoleByUserId?userId=${userId}`);
|
|
48
|
48
|
}
|
|
49
|
49
|
}
|
|
50
|
50
|
// 获取证据列表
|
|
51
|
51
|
export function selectById(caseId) {
|
|
52
|
|
- return axios.get(`tiaojie/caseApplication/selectById?id=${caseId}`);
|
|
|
52
|
+ return axios.get(`tjformal/caseApplication/selectById?id=${caseId}`);
|
|
53
|
53
|
}
|
|
54
|
54
|
// 根据案件id查询登录人是否为申请人被申请人
|
|
55
|
55
|
export function selectRoleMenuByCaseId(caseId) {
|
|
56
|
|
- return axios.get(`tiaojie/video/selectRoleMenuByCaseId?caseId=${caseId}`);
|
|
|
56
|
+ return axios.get(`tjformal/video/selectRoleMenuByCaseId?caseId=${caseId}`);
|
|
57
|
57
|
}
|
|
58
|
58
|
// 保存onlyOffice文档
|
|
59
|
59
|
export function saveOnlyOfficeFile(data) {
|
|
60
|
|
- return axios.post(`tiaojie/caseApplication/saveOnlyOfficeFile`, data);
|
|
|
60
|
+ return axios.post(`tjformal/caseApplication/saveOnlyOfficeFile`, data);
|
|
61
|
61
|
}
|
|
62
|
62
|
//获取当前用户的操作权限
|
|
63
|
63
|
export function getMenuPermsByUser(caseId) {
|
|
64
|
|
- return axios.get(`tiaojie/system/menu/getMenuPermsByUser`);
|
|
|
64
|
+ return axios.get(`tjformal/system/menu/getMenuPermsByUser`);
|
|
65
|
65
|
}
|
|
66
|
66
|
// 上传文件
|
|
67
|
67
|
export function videoUpload(data) {
|
|
68
|
|
- return axios.post(`tiaojie/video/upload`,data);
|
|
|
68
|
+ return axios.post(`tjformal/video/upload`,data);
|
|
69
|
69
|
}
|