feat:rbac接入文件导出功能

This commit is contained in:
陈淳
2024-01-03 12:28:46 +08:00
parent ffaa3153b3
commit b96fe12aeb
4 changed files with 22 additions and 16 deletions

View File

@@ -1,6 +1,12 @@
import request from '@/utils/request.js'
import request,{download} from '@/utils/request.js'
import { parseStrEmpty } from "@/utils/ruoyi";
// 导出角色
export function getExportExcel(query) {
return download('/user/export-excel',query,'导出数据.xlsx')
}
// 查询用户列表
export function listUser(query) {
return request({
@@ -141,3 +147,4 @@ export function updateAuthRole(data) {
// method: 'get'
// })
// }