Newer
Older
KaiFengPC / src / api / sponeScreen / gcpjApi.js
@zhangdeliang zhangdeliang on 23 May 6 KB 初始化项目
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
    })
}