Newer
Older
KaiFengPC / src / api / document / dataArchive / archAudit.js
@鲁yixuan 鲁yixuan on 19 Aug 1 KB updata
import request from '@/utils/request';

// 分页搜索资料类型
export function getProjectArchivePage(params) {
  return request({
    url: '/business/projectArchive/page',
    method: 'get',
    params,
  });
}

// 获取未归档文件列表
export function getDocumentFileUnArchiveList(params) {
  return request({
    url: '/business/documentFile/unArchiveList',
    method: 'get',
    params,
  });
}

// 部门列表
export function getProjectArchiveDeptList(params) {
  return request({
    url: '/business/projectArchive/deptList',
    method: 'get',
    params,
  });
}

// 项目列表
export function getProjectArchiveProjectList(params) {
  return request({
    url: '/business/projectArchive/projectList',
    method: 'get',
    params,
  });
}

// 新增资料工程归档
export function getProjectArchiveAdd(data) {
  return request({
    url: '/business/projectArchive/add',
    method: 'post',
    data,
  });
}

// 列表搜索资料工程归档
export function getDocumentArchiveList(params) {
  return request({
    url: '/business/documentArchiveList/list',
    method: 'get',
    params,
  });
}

// 审核通过
export function projectArchiveApprove(data) {
  return request({
    url: '/business/projectArchive/approve',
    method: 'post',
    data,
  });
}