/*
 * @Author: code4eat awesomedema@gmail.com
 * @Date: 2023-01-04 13:59:26
 * @LastEditors: code4eat awesomedema@gmail.com
 * @LastEditTime: 2024-02-29 10:05:13
 * @FilePath: /BudgetManaSystem/src/pages/budgetMana/personnelSalaryBudget/service.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */








import { request } from '@@/plugin-request'



export const getDataParamType = (reportCode:string)=>{
    return request('/performance/report/reportInfo', {
         method:'GET',
         params:{
            reportCode
        }
    })
}

export const getData = (reportCode:string,parameter:any)=>{

    return request('/performance/report/search', {
         method:'POST',
         data:{
            reportCode,
            parameter
        }
    })
}


//获取跳转报表数据
export const getRedirReportData = (reportCode:string,parameter:any)=>{
    return request('/performance/report/redirect', {
        method:'POST',
        data:{
            reportCode,
            parameter
        }
   })
}




