Newer
Older
KaiFengPC / src / api / sponeScreen / gcpjApi.js
@鲁yixuan 鲁yixuan on 19 Aug 6 KB updata
import request from '@/utils/request';

// 工程建设类型统计
export function selectSpongeOneMapByProjectType(params) {
  return request({
    url: '/business/projectInfoNew/selectSpongeOneMapByProjectType',
    method: 'get',
    // params
  });
}

// 工程建设建设进度统计
export function selectSpongeOneMapByBuildStatus(params) {
  return request({
    url: '/business/projectInfoNew/selectSpongeOneMapByBuildStatus',
    method: 'get',
    // params
  });
}

// 工项目年度统计接口
export function projectAnnualStatisticsYear(year) {
  return request({
    url: `/business/projectInfoNew/projectAnnualStatistics/${year}`,
    method: 'get',
    // params
  });
}
// 建设管理项目年度统计
export function jsglgetProjectStatistics(params) {
  return request({
    url: `/business/projectInfoNew/getProjectStatistics`,
    method: 'get',
    params,
  });
}

// 返回当前系统中所有项目设计到的年份
export function selectAllProjectYearByStartTimeAndEndTime(year) {
  return request({
    url: `/business/projectInfoNew/selectAllProjectYearByStartTimeAndEndTime`,
    method: 'get',
    // params
  });
}

// 返回当前系统中所有项目设计到的年份
export function selectProjectBuildMoneyStatistics(data) {
  return request({
    url: `/business/projectInfoNew/selectProjectBuildMoneyStatistics`,
    method: 'post',
    data,
  });
}

// 根据年月或者项目编号搜索项目资金使用情况
export function selectProjectMoneyByMonth(data) {
  return request({
    url: `/business/projectInfoNew/selectProjectMoneyByMonth`,
    method: 'post',
    data,
    headers: {
      'Content-Type': 'multipart/form-data',
    },
  });
}
// 根据项目类型id搜索对应的项目数据信息
export function getProjectBuildTypeInfo(projectTypeId) {
  return request({
    url: `/business/projectInfoNew/selectHomeProjectBuildTypeInfo/${projectTypeId}`,
    method: 'get',
  });
}

// 根据项目编号搜索项目的基本信息
export function projectInfoNewDetail(projectNo) {
  return request({
    url: `/business/projectInfoNew/selectProjectInfoByProjectNo/${projectNo}`,
    method: 'get',
  });
} // 列表搜索项目单位
export function getProjectCompanyList(params) {
  return request({
    url: '/business/projectCompany/list',
    method: 'get',
    params,
  });
}

// 根据项目类型id搜索对应的项目数据信息
export function getProjectByBuildStatus(buildStatus) {
  return request({
    url: `/business/projectInfoNew/selectHomeProjectByBuildStatus/${buildStatus}`,
    method: 'get',
  });
}

// 海绵一张图中资金分析
export function selectHomeInfoByProjectNo(buildStatus) {
  return request({
    url: `/business/projectFundAnalysis/selectHomeInfoByProjectNo/${buildStatus}`,
    method: 'get',
  });
}

// 搜索项目图片列表
export function selectProjectImageList(params) {
  return request({
    url: `/business/projectInfoNew/selectProjectImageList`,
    method: 'get',
    params,
  });
}
// 搜索项目图片列表
export function projectQualityReformRecord(id) {
  return request({
    url: `/business/projectQualityReformRecord/${id}`,
    method: 'get',
  });
}
// 项目巡查
export function projectPatrolProblem(id) {
  return request({
    url: `/business/projectPatrolProblem/${id}`,
    method: 'get',
  });
}
//获取文件列表
export function FileSystemList(params) {
  return request({
    url: '/system/list',
    method: 'get',
    params,
  });
}
// 表搜索项目类型
export function projectTypeList(params) {
  return request({
    url: `/business/projectType/list`,
    method: 'get',
    params,
  });
}

// 海绵一张图项目信息基本数据
export function getSelectHomeProjectInfoByProjectNo(projectNo) {
  return request({
    url: `/business/projectInfoNew/selectHomeProjectInfoByProjectNo/${projectNo}`,
    method: 'post',
  });
}

// 海绵一张图中进度分析
export function getSelectPlanHomeInfoByProjectNo(projectNo) {
  return request({
    url: `/business/projectFundAnalysis/selectPlanHomeInfoByProjectNo/${projectNo}`,
    method: 'get',
  });
}

// 工程考核
export function getSelectProjectEngineeringAssessment(projectNo) {
  return request({
    url: `/business/projectInfoNew/selectProjectEngineeringAssessment/${projectNo}`,
    method: 'get',
  });
}

// 列表搜索项目质量问题整改明细
export function getProjectQualityReformDetail(params) {
  return request({
    url: `/business/projectQualityReformDetail/list`,
    method: 'get',
    params,
  });
}

// 列表搜索危大工程审批
export function getDangerousProjectApproveList(params) {
  return request({
    url: `/business/dangerousProjectApprove/list`,
    method: 'get',
    params,
  });
}

// 首页问题列表
export function getProjectPatrolProblemHomeList(params) {
  return request({
    url: `/business/projectPatrolProblem/homeList`,
    method: 'get',
    params,
  });
}

// 列表搜索项目信息
export function getProjectInfoNewProjectList(params) {
  return request({
    url: `/business/projectInfoNew/list`,
    method: 'get',
    params,
  });
}
export const projectInfoNew = params => {
  return request({
    url: `/business/projectInfoNew/list`,
    method: 'get',
    params,
  });
};

// 项目预审统计
export function getProjectInfoNewSelectProjectInquiry(params) {
  return request({
    url: `/business/projectInfoNew/selectProjectInquiry`,
    method: 'get',
    params,
  });
}

// 根据类型(1:径流总量不达标,2:污染控制率不达标,3:硬质地面不达标,4:分布不合理,5、投资不合理)查找项目数据
export function getSelectProjectInquiryInfoListByType(type) {
  return request({
    url: `/business/projectInfoNew/selectProjectInquiryInfoList/${type}`,
    method: 'get',
  });
}
// 建设管理源头项目指标达标情况统计

export function jsglstandardCount(params) {
  return request({
    url: `/sponge/facilitiesStandardCalc/standardCount`,
    method: 'get',
    params,
  });
}

export function getProjectStatistics(params) {
  // 发起请求获取项目统计信息
  return request({
    url: '/business/projectInfoNew/getProjectStatistics',
    method: 'get',
    params,
  });
}

export function buildstatusCount(params) {
  // 发起请求获取项目统计信息
  return request({
    url: '/business/projectInfoNew/buildstatusCount',
    method: 'get',
    params,
  });
}