1234567891011121314151617181920212223242526 |
- import request from '@/utils/request';
-
- /*
- * 分页查询
- */
- export const getTaMandatoryLeave = (params) => request('/taMandatoryLeave', { params });
-
- /*
- * 新增数据
- */
- export const postTaMandatoryLeave = (data) => request('/taMandatoryLeave', { data, method: 'post' });
-
- /*
- * 通过ID查询单条数据
- */
- export const getTaMandatoryLeaveById = (id) => request(`/taMandatoryLeave/${id}`);
-
- /*
- * 更新数据
- */
- export const putTaMandatoryLeave = (id, data) => request(`/taMandatoryLeave/${id}`, { data, method: 'put' });
-
- /*
- * 通过主键删除数据
- */
- export const deleteTaMandatoryLeave = (id) => request(`/taMandatoryLeave/${id}`, { method: 'delete' });
|