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.1 KiB
JavaScript

import{ax as s,bm as r}from"./entry/index-C2Ijy48E-1723706691540.js";function n(e){return s.get({url:"/system/user/list",params:e})}function o(){return s.post({url:"/system/user/export",responseType:"blob"},{isTransformResponse:!1})}function a(e){return s.post({url:"/system/user/importData",data:e,headers:{"Content-Type":r.FORM_DATA}},{successMessageMode:"modal",errorMessageMode:"modal"})}function p(){return s.post({url:"/system/user/importTemplate",responseType:"blob"},{isTransformResponse:!1})}function m(e){const t=e?"/system/user/"+e:"/system/user/";return s.get({url:t})}function i(e){return s.postWithMsg({url:"/system/user",data:e})}function l(e){return s.putWithMsg({url:"/system/user",data:e})}function f(e){return s.putWithMsg({url:"/system/user/changeStatus",data:e})}function c(e){return s.deleteWithMsg({url:"/system/user/"+e})}function y(e){return s.putWithMsg({url:"/system/user/resetPwd",data:e},{encrypt:!0})}function d(){return s.get({url:"/system/user/deptTree"},{ignoreCancelToken:!0})}function g(e){return s.get({url:"/system/user/list/dept/"+e})}export{m as a,l as b,i as c,d,p as e,a as f,y as g,o as h,c as i,f as j,g as l,n as u};