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

// 搜索我创建的施工许可
export function getProjectCompletionAcceptanceMyPage(params) {
  return request({
    url: '/business/projectCompletionAcceptance/myPage',
    method: 'get',
    params,
  });
}

// 分页搜索项目规划许可
export function getProjectCompletionAcceptancePage(params) {
  return request({
    url: '/business/projectCompletionAcceptance/page',
    method: 'get',
    params,
  });
}

// 新增项目竣工验收
export function projectCompletionAcceptanceeAdd(data) {
  return request({
    url: '/business/projectCompletionAcceptance/add',
    method: 'post',
    data,
  });
}

// 修改项目竣工验收
export function projectCompletionAcceptanceeEdit(data) {
  return request({
    url: '/business/projectCompletionAcceptance/edit',
    method: 'put',
    data,
  });
}

// 发起竣工验收工作流
export function projectCompletionAcceptanceeStartWorkFlow(data) {
  return request({
    url: '/business/projectCompletionAcceptance/startWorkFlow',
    method: 'post',
    data,
  });
}

// 详细搜索项目竣工验收
export function projectCompletionAcceptanceeDetail(id) {
  return request({
    url: `/business/projectCompletionAcceptance/${id}`,
    method: 'get',
  });
}

// 详细搜索项目竣工验收
export function projectCompletionAcceptanceeDel(ids) {
  return request({
    url: `/business/projectCompletionAcceptance/${ids}`,
    method: 'delete',
  });
}

// 验收审查
export function projectCompletionAcceptanceApprove(data) {
  return request({
    url: '/business/projectCompletionAcceptance/approve',
    method: 'post',
    data,
  });
}