Newer
Older
KaiFengPC / src / api / spongePerformance / home.js
@zhangdeliang zhangdeliang on 23 May 1 KB 初始化项目

import request from '@/utils/request'
// 获取项目列列表
export function selectProjectCount(params) {
    return request({
        url: `/business/homePage/selectProjectCount`,
        method: 'get',
        params
    })
}

export function selectProjectMoneyTotal(params) {
    return request({
        url: `/business/homePage/selectProjectMoneyTotal`,
        method: 'get',
        params
    })
}


export function selectProjectEchartByYear(params) {
    return request({
        url: `/business/homePage/selectProjectEchartByYear`,
        method: 'get',
        params
    })
}
// 绩效评估总览中查询项目质量数据
export function selectProjectQualityHomePage(params) {
    return request({
        url: `/business/homePage/selectProjectQualityHomePage`,
        method: 'get',
        params
    })
}

// 绩效评估总览中查询项目合同数据
export function selectProjectContractHomePage(params) {
    return request({
        url: `/business/homePage/selectProjectContractHomePage`,
        method: 'get',
        params
    })
}

// 绩效评估总览中查询项目巡查数据
export function selectProjectPatrolHomePage(params) {
    return request({
        url: `/business/homePage/selectProjectPatrolHomePage`,
        method: 'get',
        params
    })
}
export const projectInfoAdd = data => {
    return request({
        url: `/business/projectProbablyBudget/add`,
        method: "post",
        data
    });
};

export const three_year_statics = params => {
    return request({
        url: `/sponge/performanceEvaluate/three_year_statics`,
        method: "get",
        params
    });
};

export const performanceEvaluateItem = year => {
    return request({
        url: `/sponge/performanceEvaluateItem/statistic/${year}`,
        method: "get",
    });
};