UNPKG

@cdwx/system

Version:

成都文宣业务类服务模块组件库

33 lines (32 loc) 600 B
import e from "./http-client.js"; const n = "/department"; function r() { return e.http.post(`${n}/getAll`); } function o(t) { return e.http.post(`${n}/page`, t); } function a(t) { return e.http.get(`${n}/delete/${t}`); } function u(t) { return e.http.post(`${n}/operateStatus`, t); } function i(t) { return e.http.post(`${n}/add`, t); } function s(t) { return e.http.post(`${n}/update`, t); } function c() { return e.http.post(`${n}/getTree`); } export { a as deleteData, r as getAll, c as getAllDep, o as getListData, u as operateData, i as saveData, s as updateData };