Newer
Older
KaiFengPC / src / api / project / planPermission.js
@鲁yixuan 鲁yixuan on 19 Aug 994 bytes updata
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',
  });
}