import request from '@/utils/request'; // 分页搜索项目立项 export function getProjectApprovalPage(params) { return request({ url: '/business/projectApproval/page', method: 'get', params, }); } // 新增项目立项 export function ProjectApprovalAdd(data) { return request({ url: '/business/projectApproval/add', method: 'post', data, }); } // 项目列表 export function getProjectInfoNewList(params) { return request({ url: '/business/projectInfoNew/list', method: 'get', params, }); } // 根据字典类型搜索字典数据信息 export function getDicts(dictType) { return request({ url: '/system/dict/data/type/' + dictType, method: 'get', }); } // 新增项目立项 export function projectApprovalAdd(data) { return request({ url: '/business/projectApproval/add', method: 'post', data, }); } // 修改项目立项 export function projectApprovalEdit(data) { return request({ url: '/business/projectApproval/edit', method: 'put', data, }); } // 详细搜索项目立项 export function projectApprovalDetail(id) { return request({ url: `/business/projectApproval/${id}`, method: 'get', }); } // 删除项目立项 export function projectApprovalDel(ids) { return request({ url: `/business/projectApproval/${ids}`, method: 'delete', }); }