Newer
Older
KaiFengPC / src / api / project / completionAcceptance.js
@zhangdeliang zhangdeliang on 20 May 1 KB 项目初始化
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
  });
}