import {
	WeaTools
} from 'ecCom';

export const getForm = (params = {}) => WeaTools.callApi('/api/hrm/paidleave/getForm', 'GET', params)
export const save = (params = {}) => WeaTools.callApi('/api/hrm/paidleave/save', 'POST', params)
export const sync = (params = {}) => WeaTools.callApi('/api/hrm/paidleave/synChildSubCompany', 'POST', params)
export const getList = (params = {}) => WeaTools.callApi('/api/hrm/paidleave/getSearchList', 'POST', params)