41 lines
1.6 KiB
JavaScript
41 lines
1.6 KiB
JavaScript
import { WeaTools } from 'ecCom';
|
|
|
|
export const getForm = params => {
|
|
return WeaTools.callApi('/api/bs/hrmsalary/scheme/getForm', 'get', params);
|
|
};
|
|
export const getTable = params => {
|
|
return WeaTools.callApi('/api/bs/hrmsalary/scheme/getTable', 'get', params);
|
|
};
|
|
export const createScheme = params => {
|
|
return WeaTools.callApi('/api/bs/hrmsalary/scheme/insert', 'post', params);
|
|
};
|
|
export const updateScheme = params => {
|
|
return WeaTools.callApi('/api/bs/hrmsalary/scheme/update', 'post', params);
|
|
};
|
|
export const getCopyForm = params => {
|
|
return WeaTools.callApi('/api/bs/hrmsalary/scheme/copyForm', 'get', params);
|
|
};
|
|
export const copyScheme = params => {
|
|
return WeaTools.callApi('/api/bs/hrmsalary/scheme/copyScheme', 'get', params);
|
|
};
|
|
|
|
|
|
export const getCustomCategoryForm = params => {
|
|
return WeaTools.callApi('/api/bs/hrmsalary/sicategory/customCategoryForm', 'get', params);
|
|
};
|
|
export const getCustomCategoryList = params => {
|
|
return WeaTools.callApi('/api/bs/hrmsalary/sicategory/customCategoryList', 'get', params);
|
|
};
|
|
export const createSICategory = params => {
|
|
return WeaTools.callApi('/api/bs/hrmsalary/sicategory/createSICategory', 'post', params);
|
|
};
|
|
export const updateCustomCategory = params => {
|
|
return WeaTools.callApi('/api/bs/hrmsalary/sicategory/updateCustomCategory', 'post', params);
|
|
};
|
|
export const deleteCustomCategory = params => {
|
|
return WeaTools.callApi('/api/bs/hrmsalary/sicategory/deleteCustomCategory', 'post', params);
|
|
};
|
|
export const updateCustomCategoryStatus = params => {
|
|
return WeaTools.callApi('/api/bs/hrmsalary/sicategory/updateCustomCategoryStatus', 'post', params);
|
|
};
|