import {
	WeaTools
} from 'ecCom';

export const getCondition = (params = {}) => WeaTools.callApi('/api/hrm/annualmanager/getPLSManagerSetCondition', 'GET', params)

//有效期设置
export const getAnnualManagerSetList = (params = {}) => WeaTools.callApi('/api/hrm/annualmanager/getAnnualManagerSetList', 'POST', params)

export const getAnnualManagerSetForm = (params = {}) => WeaTools.callApi('/api/hrm/annualmanager/getAnnualManagerSetForm', 'GET', params)

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

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

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

//批量规则
export const getAnnualManagerBatchList = (params = {}) => WeaTools.callApi('/api/hrm/annualmanager/getAnnualManagerBatchList', 'POST', params)

export const getAnnualManagerBatchForm = (params = {}) => WeaTools.callApi('/api/hrm/annualmanager/getAnnualManagerBatchForm', 'GET', params)

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

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

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

//设置
export const getAnnualManagerList = (params = {}) => WeaTools.callApi('/api/hrm/annualmanager/getAnnualManagerList', 'POST', params)

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

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

export const getImportForm = (params = {}) => WeaTools.callApi('/api/hrm/annualmanager/getImportForm', 'GET', params)

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

export const exportData = (params = {}) => WeaTools.callApi('/api/hrm/annualmanager/exportAnnualManagerExcel', 'POST', params)

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