Newer
Older
Nanping_sponge_GCGL / src / api / projectInformationNew.js
@liyingjing liyingjing on 26 Oct 2023 2 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 projectInfoNewExport() {
  return request({
    url: "/business/projectInfoNew/export",
    method: "post",
  });
}