视频会议仲裁兼容
This commit is contained in:
+19
-3
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user