You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
1.3 KiB
JavaScript

import{ax as t}from"./entry/index-2-yrRtrk-1723018314898.js";function l(e){return t.get({url:"/system/role/list",params:e})}function o(){return t.post({url:"/system/role/export",responseType:"blob"},{isTransformResponse:!1})}function u(e){return t.get({url:"/system/role/"+e})}function n(e){return t.postWithMsg({url:"/system/role",data:e})}function a(e){return t.putWithMsg({url:"/system/role",data:e})}function i(e){return t.putWithMsg({url:"/system/role/changeStatus",data:e})}function c(e){return t.deleteWithMsg({url:"/system/role/"+e})}function p(e){return t.putWithMsg({url:"/system/role/dataScope",data:e})}function f(e){return t.get({url:"/system/role/optionselect",params:e})}function m(e){return t.get({url:"/system/role/authUser/allocatedList",params:e})}function h(e){return t.get({url:"/system/role/authUser/unallocatedList",params:e})}function g(e){return t.putWithMsg({url:"/system/role/authUser/cancel",data:e})}function d(e,r){return t.putWithMsg({url:`/system/role/authUser/cancelAll?roleId=${e}&userIds=${r.join(",")}`})}function y(e,r){return t.putWithMsg({url:`/system/role/authUser/selectAll?roleId=${e}&userIds=${r.join(",")}`})}function A(e){return t.get({url:"/system/role/deptTree/"+e})}export{d as a,g as b,f as c,h as d,y as e,u as f,A as g,p as h,a as i,n as j,l as k,o as l,c as m,i as n,m as r};