import{h as n}from"./index-DkvzUEqh.js";import{ad as e}from"./index-9PRMimni.js";function o(t){return e.Get("/dept/page",t)}function d(){return e.Get("/dept/options")}function u(t){return t.parentId||(t.parentId=0),n.request({url:"/dept",method:"post",params:t})}function i(t){return n.request({url:"/dept",method:"put",params:t})}function s(t){return e.Get(`/dept/${t}/form`)}function a(t){return e.Delete(`/dept/${t}`)}function f(t={}){return e.Get("/dept/options",{params:t})}export{u as a,s as b,a as c,d,i as e,o as f,f as g};
