import apiClient from "./index"; export const findAll = () => { return apiClient.get(`/admin/dept/findAll.json`); } export const save = dept => { return apiClient.post(`/admin/dept/saveProc.json`, dept); } export const findByDept = params => { return apiClient.post(`/admin/dept/findByDept.json`, params); } export const update = dept => { return apiClient.post(`/admin/dept/updateProc.json`, dept); } export const updateListProc = dept => { return apiClient.post(`/admin/dept/updateListProc.json`, dept); } export const del = dept => { return apiClient.post(`/admin/dept/deleteProc.json`, dept); } export const deptMbrDelete = params => { return apiClient.post(`/admin/dept/deptMbrDelProc.json`, params); } export const findByMbr = params => { return apiClient.post(`/admin/dept/findByMbr.json`, params); } export const deptMbrSaveProc = params => { return apiClient.post(`/admin/dept/deptMbrSaveProc.json`, params); }