import{a_ as t}from"./index-XuO881sr.js";const l=e=>t({url:"/system/role/list",method:"get",params:e}),o=e=>t({url:"/system/role/"+e,method:"get"}),u=e=>t({url:"/system/role",method:"post",data:e}),n=e=>t({url:"/system/role",method:"put",data:e}),c=e=>t({url:"/system/role/dataScope",method:"put",data:e}),m=(e,s)=>t({url:"/system/role/changeStatus",method:"put",data:{roleId:e,status:s}}),d=e=>t({url:"/system/role/"+e,method:"delete"}),h=e=>t({url:"/system/role/authUser/allocatedList",method:"get",params:e}),p=e=>t({url:"/system/role/authUser/unallocatedList",method:"get",params:e}),y=e=>t({url:"/system/role/authUser/cancel",method:"put",data:e}),U=e=>t({url:"/system/role/authUser/cancelAll",method:"put",params:e}),g=e=>t({url:"/system/role/authUser/selectAll",method:"put",params:e}),i=e=>t({url:"/system/role/deptTree/"+e,method:"get"});export{h as a,y as b,U as c,g as d,d as e,m as f,o as g,n as h,u as i,c as j,i as k,l,p as u};
