Newer
Older
Nanping_sponge_GCGL / src / api / planPermission.js
@liyingjing liyingjing on 25 Oct 2023 984 bytes 海绵工程管理
import request from '@/utils/request'
// 分页查询项目规划许可
export function getProjectPlanningPermissionPage(params) {
  return request({
    url: '/business/projectPlanningPermission/page',
    method: 'get',
    params
  })
}

// 新增项目规划许可
export function projectPlanningPermissionAdd(data) {
  return request({
    url: '/business/projectPlanningPermission/add',
    method: 'post',
    data
  })
}

// 修改项目规划许可
export function projectPlanningPermissionEdit(data) {
  return request({
    url: '/business/projectPlanningPermission/edit',
    method: 'put',
    data
  })
}

// 修改项目规划许可
export function projectPlanningPermissionDetail(id) {
  return request({
    url: `/business/projectPlanningPermission/${id}`,
    method: 'get'
  })
}

// 删除项目规划许可
export function projectPlanningPermissionDel(ids) {
  return request({
    url: `/business/projectPlanningPermission/${ids}`,
    method: 'delete'
  })
}