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
+4 -4
View File
@@ -9,11 +9,11 @@ const LogAPI = {
});
},
getLogDetail(id: number) {
getLogDetail(query: DetailType) {
return request<ApiResponse<LogTable>>({
url: `/system/log/detail`,
method: "get",
params: id,
params: query,
});
},
@@ -21,11 +21,11 @@ const LogAPI = {
return request<ApiResponse>({
url: `/system/log/delete`,
method: "delete",
params: query,
data: query,
});
},
exportLog(query: any[]) {
exportLog(query: LogPageQuery) {
return request<ApiResponse>({
url: `/system/log/export`,
method: "post",