Newer
Older
Nanping_sponge_GCGL / src / api / completionAcceptance.js
@liyingjing liyingjing on 25 Oct 2023 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
  });
}