import {
	WeaTools
} from 'ecCom'

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

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

export const getMainTableInfo = (params) => {
	return WeaTools.callApi('/api/hrm/checkinfo/getSearchList', 'GET', params);
}

export const getSubTableInfo = (params) => {
	return WeaTools.callApi('/api/hrm/checkinfo/getCheckBasicInfoList', 'GET', params);
}

export const getThirdTableInfo = (params) => {
	return WeaTools.callApi('/api/hrm/checkinfo/getCheckResourceInfoList', 'GET', params);
}

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