Newer
Older
KaiFengPC / src / api / document / fileManagement / readAuth.js
@zhangdeliang zhangdeliang on 23 May 768 bytes 初始化项目
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
  });
}