import {
	WeaTools
} from 'ecCom';

export const getRightMenu = (params = {}) => WeaTools.callApi('/api/hrm/batchMaintenanceAdjust/getRightMenu', 'POST', params)

export const batchSubCompany = (params = {}) => WeaTools.callApi('/api/hrm/batchMaintenanceAdjust/batchSubcompany?is_multilang_set=true', 'POST', params)

export const batchDepartment = (params = {}) => WeaTools.callApi('/api/hrm/batchMaintenanceAdjust/batchDepartment?is_multilang_set=true', 'POST', params)

export const batchResource = (params = {}) => WeaTools.callApi('/api/hrm/batchMaintenanceAdjust/batchResource?is_multilang_set=true', 'POST', params)

export const saveBatchSubCompany = (params = {}) => WeaTools.callApi('/api/hrm/batchMaintenanceAdjust/saveBatchSubcompany', 'POST', params)

export const saveBatchDepartment = (params = {}) => WeaTools.callApi('/api/hrm/batchMaintenanceAdjust/saveBatchDepartment', 'POST', params)

export const saveBatchResource = (params = {}) => WeaTools.callApi('/api/hrm/batchMaintenanceAdjust/saveBatchResource', 'POST', params)

export const getSubCompanyInfo = (params = {}) => WeaTools.callApi('/api/hrm/batchMaintenanceAdjust/getSubcompanyInfo', 'POST', params)

export const checkSubDeptAvailable = (params = {}) => WeaTools.callApi('/api/hrm/batchMaintenanceAdjust/checkSubDeptAvailable', 'POST', params)

export const getTabInfo = (params = {}, type) => WeaTools.callApi(`/api/hrm/batchMaintenanceAdjust/get${type}Tab`, 'POST', params)

export const getConfirmInfo = (params = {}, type) => WeaTools.callApi(`/api/hrm/batchMaintenanceAdjust/${type}/getConfirmInfo`, 'POST', params)