import {
	WeaTools
} from 'ecCom';

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

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

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

export const getLoginLogList = (params) => {
	return WeaTools.callApi('/api/hrm/sanyuan/secAdminLog/getLoginLogList', 'GET', params);
}

export const getOperateLogList = (params) => {
	return WeaTools.callApi('/api/hrm/sanyuan/secAdminLog/getOperateLogList', 'GET', params);
}

export const exportExcelLog = (params) => {
	return WeaTools.callApi('/api/hrm/sanyuan/secAdminLog/exportExcelLog', 'POST', params);
}

export const viewdetail = (params) => {
	return WeaTools.callApi('/api/hrm/sanyuan/transLog/viewDetail', 'GET', params);
}

export const trans = (params) => {
	return WeaTools.callApi('/api/hrm/sanyuan/transLog/transLog', 'GET', params);
}