| | |
| | | }) |
| | | } |
| | | |
| | | // 全部 |
| | | export function list() { |
| | | return request({ |
| | | url: '/project/info/list', |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | | // 查询项目管理基础信息详细 |
| | | export function getProject(id) { |
| | | return request({ |
| | |
| | | }) |
| | | } |
| | | |
| | | // 查询相关文件 |
| | | export function getDocumentInfoById(id) { |
| | | return request({ |
| | | url: '/project/info/document/' + id, |
| | | method: 'get' |
| | | }) |
| | | } |
| | | // 新增项目管理基础信息 |
| | | export function addProject(data) { |
| | | return request({ |
| | | url: '/project/info', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | // 新增相关文件 |
| | | export function addDocumentInfo(data) { |
| | | return request({ |
| | | url: '/project/info/document', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | |
| | | }) |
| | | } |
| | | |
| | | // 编辑新增项目 |
| | | export function editProject(data) { |
| | | return request({ |
| | | url: '/project/info/editProject', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | export function searchByKey(data) { |
| | | return request({ |
| | | url: '/project/info/searchByKey', |
| | | method: 'get', |
| | | params: data |
| | | }) |
| | | } |