Newer
Older
KaiFengPC / src / api / document / fileManagement / readAuth.js
@鲁yixuan 鲁yixuan on 19 Aug 769 bytes updata
import request from '@/utils/request';

// 列表搜索资料文件
export function getDocumentFileList(params) {
  return request({
    url: '/business/documentFile/list',
    method: 'get',
    params,
  });
}

// 分页搜索资料权限
export function getDocumentAuthorityPage(params) {
  return request({
    url: '/business/documentAuthority/page',
    method: 'get',
    params,
  });
}

// 搜索详细资料权限
export function getDocumentAuthorityDisAuthDepart(data) {
  return request({
    url: '/business/documentAuthority/disAuthDepart',
    method: 'post',
    data,
  });
}

// 搜索详细资料权限
export function documentAuthorityEdit(data) {
  return request({
    url: '/business/documentAuthority/edit',
    method: 'put',
    data,
  });
}