import request from '@/utils/request'; // 列表搜索项目信息-新版 export function getProjectInfoNewPage(params) { return request({ url: '/business/projectInfoNew/page', method: 'get', params, }); } // 表搜索项目类型 export function projectTypeList(params) { return request({ url: `/business/projectType/list`, method: 'get', params, }); } // 列表搜索项目单位 export function getProjectCompanyList(params) { return request({ url: '/business/projectCompany/list', method: 'get', params, }); } // 列表搜索项目单位 export function getProjectItemDescriptionConfigList(params) { return request({ url: '/business/projectItemDescriptionConfig/list', method: 'get', params, }); } // 列表搜索项目单位 export function projectInfoNewAdd(data) { return request({ url: '/business/projectInfoNew/add', method: 'post', data, }); } // 删除项目信息-新版 export function projectInfoNewDel(ids) { return request({ url: `/business/projectInfoNew/${ids}`, method: 'delete', }); } // 详细搜索项目信息-新版 export function projectInfoNewById(id) { return request({ url: `/business/projectInfoNew/${id}`, method: 'get', }); } // 根据项目编号搜索项目的基本信息 export function projectInfoNewDetail(projectNo) { return request({ url: `/business/projectInfoNew/selectProjectInfoByProjectNo/${projectNo}`, method: 'get', }); } // 修改项目信息-新版 export function projectInfoNewEdit(data) { return request({ url: '/business/projectInfoNew/edit', method: 'put', data, }); } //获取文件列表 export function getFileLIst(query) { return request({ url: '/system/list', method: 'get', params: query, }); } export function updateProjectBuildStatus(data) { return request({ url: '/business/projectInfoNew/updateProjectBuildStatus', method: 'post', data, }); } export function getProjectStatistics(params) { return request({ url: '/business/projectInfoNew/getProjectStatistics', method: 'get', params, }); } // 分页搜索项目基本信息表(工改) export function spglXmjbxxbPage(params) { return request({ url: '/business/spglXmjbxxb/page', method: 'get', params, }); } // 详细搜索项目基本信息表(工改) export function spglXmjbxxbDetail(params) { return request({ url: '/business/spglXmsqcljqtfjxxb/documentPage', method: 'get', params, }); } // 项目基本信息(标记海绵) export function markHMBS(data) { return request({ url: '/business/spglXmjbxxb/markHMBS', method: 'post', data, }); } // 建设管理首页 export function getHomeStatistics(params) { return request({ url: '/business/projectInfoNew/getHomeStatistics', method: 'get', params, }); } // 建设管理首页 获取待处理项目信息 export function getUndoProjectInfo(params) { return request({ url: '/business/projectInfoNew/getUndoProjectInfo', method: 'get', params, }); }