import {
	WeaTools
} from 'ecCom'

export const getRight = (params) => {
	return WeaTools.callApi('/api/hrm/refuserp/getHasRight', 'GET', params);
}

export const getButtonsMenu = (params) => {
	return WeaTools.callApi('/api/hrm/refuserp/getRightMenu', 'GET', params);
}

export const getScope = (params) => {
	return WeaTools.callApi('/api/hrm/refuserp/getSearchCondition', 'GET', params);
}

export const getMaxOnlineNumber = (params) => {
	return WeaTools.callApi('/api/hrm/refuserp/getMaxNum', 'GET', params);
}

export const getEchartsDatas = (params) => {
	return WeaTools.callApi('/api/hrm/refuserp/getSearchResult', 'GET', params);
}