视频会议仲裁兼容

This commit is contained in:
hanchaobo
2024-05-14 09:22:23 +08:00
parent b2abddc8d3
commit 4d336b905c
2 changed files with 20 additions and 30 deletions
+19 -3
View File
@@ -49,11 +49,22 @@ export function secretaryRoleByUserId(userId, caseId) {
}
// 获取证据列表
export function selectById(caseId) {
return axios.get(`tjformal/caseApplication/selectById?id=${caseId}`);
let appType = sessionStorage.getItem('type');
if (appType == 'tiaojie') {
return axios.get(`tjformal/caseApplication/selectById?id=${caseId}`);
} else {
return axios.get(`zhongcai/caseApplication/selectById?id=${caseId}`);
}
}
// 根据案件id查询登录人是否为申请人被申请人
export function selectRoleMenuByCaseId(caseId) {
return axios.get(`tjformal/video/selectRoleMenuByCaseId?caseId=${caseId}`);
let appType = sessionStorage.getItem('type');
if (appType == 'tiaojie') {
return axios.get(`tjformal/video/selectRoleMenuByCaseId?caseId=${caseId}`);
} else {
return axios.get(`zhongcai/video/selectRoleMenuByCaseId?caseId=${caseId}`);
}
}
// 保存onlyOffice文档
export function saveOnlyOfficeFile(data) {
@@ -61,7 +72,12 @@ export function saveOnlyOfficeFile(data) {
}
//获取当前用户的操作权限
export function getMenuPermsByUser(caseId) {
return axios.get(`tjformal/system/menu/getMenuPermsByUser`);
let appType = sessionStorage.getItem('type');
if (appType == 'tiaojie') {
return axios.get(`tjformal/system/menu/getMenuPermsByUser`);
} else {
return axios.get(`zhongcai/system/menu/getMenuPermsByUser`);
}
}
// 上传文件
export function videoUpload(data) {