From 540b20fa4883b453f990d54617fda621548d18e3 Mon Sep 17 00:00:00 2001 From: han2015 <1019850453@qq.com> Date: Wed, 4 Jun 2025 10:10:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=96=87=E6=A1=A3=E5=88=86?= =?UTF-8?q?=E4=BA=AB=E6=9D=83=E9=99=90=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/doc/index.ts | 18 ++-- src/api/doc/type.ts | 2 + src/api/hr/people/share_ctrol.ts | 87 ++++++++++++++++++ src/views/doc/manage.vue | 60 +++++++++--- src/views/doc/share.vue | 35 +++++-- src/views/doc/sharePermission.vue | 146 ++++++++++++++++++++++++++++++ 6 files changed, 318 insertions(+), 30 deletions(-) create mode 100644 src/api/hr/people/share_ctrol.ts create mode 100644 src/views/doc/sharePermission.vue diff --git a/src/api/doc/index.ts b/src/api/doc/index.ts index d144cda..86ca4bb 100644 --- a/src/api/doc/index.ts +++ b/src/api/doc/index.ts @@ -17,7 +17,7 @@ export function getShareList( uid:string,data?: matterPage): AxiosPromise + +/** + * 获取行政组织树 + */ + export function getOrgTreeList(data: {orgid?:number}): AxiosPromise{ + return request({ + url: '/hrapi/org/govnewthreeing', + method: 'post', + data: data + }); +} + +/** + * 获取人员档案 + */ + export function getArchivesListPage(data?: parsArchList): AxiosPromise { + return request({ + url: '/hrapi/staff/archiveslistcont', + method: 'post', + data: data + }); +} + +/** + * 获取文档成员权限列表 + */ +export function getPermitedList(uid:string,data:{uuid:string}): AxiosPromise { + return request({ + url: '/hxpan/api/share/permits', + method: 'post', + headers: { + 'Identifier':uid, + 'Content-Type': 'application/x-www-form-urlencoded' + }, + data: data + }); +} + +/** + * 保存文档成员权限修改 + */ +export function postPermitedList(uid:string,data?:{permitList:string, update:string,uid:string,uuid:string,len:number}){ + return request({ + url: '/hxpan/api/share/permits', + method: 'post', + headers: { + 'Identifier':uid, + 'Content-Type': 'application/x-www-form-urlencoded' + }, + data: data + }); +} diff --git a/src/views/doc/manage.vue b/src/views/doc/manage.vue index 239f3db..8cf8c02 100644 --- a/src/views/doc/manage.vue +++ b/src/views/doc/manage.vue @@ -5,6 +5,7 @@ --> + + \ No newline at end of file