import {
	WeaTools
} from 'ecCom';

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

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

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

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

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

export const exportExcelLog = (params) => {
	return WeaTools.callApi('/api/hrm/sanyuan/systemAdminLog/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);
}