Newer
Older
KaiFengPC / src / api / project / planPermission.js
@zhangdeliang zhangdeliang on 23 May 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'
  })
}