Newer
Older
KaiFengPC / src / api / project / projectInformationNew.js
@zhangdeliang zhangdeliang on 23 May 3 KB 初始化项目
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,
  });
}