/*
 * @Author: code4eat awesomedema@gmail.com
 * @Date: 2023-01-30 16:53:33
 * @LastEditors: code4eat awesomedema@gmail.com
 * @LastEditTime: 2023-04-17 10:05:31
 * @FilePath: /BudgetManaSystem/src/services/oah.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */



//获取当前审核状态

import { request } from "@umijs/max"
import { Key } from "react";

export const getCurrentCheckStatus = (computeDate:string) => {
    
    return request('/performance/check/getStatus', {
        method: 'GET',
        params:{computeDate}
    })
    
}


// 获取当前登录用户菜单数据
export const getMenus = (systemId:number)=>{
    return request(`/pfm/menu/nav`, {
      method: 'GET',
      params:{systemId}
    });
}

//获取平台菜单
export const getPlatformMenu = (systemId?:Key) => {
    return request('/centerSys/user/getMenuNav', {
      method: 'GET',
      params: { systemId },
    });
};