import {
	WeaTools
} from 'ecCom'

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

export const getWorkNatureForm = (params) => {
	return WeaTools.callApi('/api/hrm/usekind/getUseKindForm?is_multilang_set=true', 'GET', params);
}

export const saveWorkNatureForm = (params) => {
	return WeaTools.callApi('/api/hrm/usekind/edit', 'POST', params);
}