refactor(backend): 重构任务模块并优化菜单权限

- 移除系统模块中的任务相关代码
- 新增批量设置字典类型和数据状态的功能
- 更新菜单权限获取逻辑,增加对链接类型菜单的支持
- 调整任务模块到 monitor 监控模块下
This commit is contained in:
zhangtao
2025-07-17 00:50:07 +08:00
parent 90832d0fa2
commit d8bac53c72
58 changed files with 2101 additions and 2551 deletions
+5 -5
View File
@@ -9,11 +9,11 @@ const RoleAPI = {
});
},
getRoleDetail(id: number) {
getRoleDetail(query: DetailType) {
return request<ApiResponse<RoleTable>>({
url: `/system/role/detail`,
method: "get",
params: id,
params: query,
});
},
@@ -37,7 +37,7 @@ const RoleAPI = {
return request<ApiResponse>({
url: `/system/role/delete`,
method: "delete",
params: query,
data: query,
});
},
@@ -57,11 +57,11 @@ const RoleAPI = {
});
},
exportRole(body: any[]) {
exportRole(query: TablePageQuery) {
return request<ApiResponse>({
url: `/system/role/export`,
method: "post",
data: body,
data: query,
responseType: "blob",
});
},