|
|
@@ -173,7 +173,6 @@ export async function getCurrentUserAuthorityDeptAPI() {
|
|
|
return Promise.reject(new Error(res.data.message));
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 组织结构导出
|
|
|
* @param
|
|
|
@@ -196,7 +195,7 @@ export async function employeePush(data) {
|
|
|
return res.data.data;
|
|
|
}
|
|
|
return Promise.reject(new Error(res.data.message));
|
|
|
-}
|
|
|
+}
|
|
|
|
|
|
// 通过部门数组获取人员列表
|
|
|
export async function getUserByGroupIds(data) {
|
|
|
@@ -205,4 +204,12 @@ export async function getUserByGroupIds(data) {
|
|
|
return res.data.data;
|
|
|
}
|
|
|
return Promise.reject(new Error(res.data.message));
|
|
|
-}
|
|
|
+}
|
|
|
+// 创建个人文档区
|
|
|
+export async function createPersonal(data) {
|
|
|
+ const res = await request.post('/fm/directory/createPersonal/'+data, {});
|
|
|
+ if (res.data.code == 0) {
|
|
|
+ return res.data.data;
|
|
|
+ }
|
|
|
+ return Promise.reject(new Error(res.data.message));
|
|
|
+}
|