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
@@ -78,6 +78,9 @@
<script setup lang="ts">
import NoticeAPI, { NoticeTable } from "@/api/system/notice";
import router from "@/router";
import { useNoticeStore } from "@/store";
const noticeStore = useNoticeStore();
const noticeList = ref<NoticeTable[]>([]);
const noticeDialogVisible = ref(false);
@@ -87,9 +90,7 @@ const noticeDetail = ref<NoticeTable | null>(null);
* 获取我的通知公告
*/
function featchMyNotice() {
NoticeAPI.getNoticeList({ page_no: 1, page_size: 5, status: true }).then((response) => {
noticeList.value = response.data.data.items;
});
noticeList.value = noticeStore.noticeList;
}
// 查看更多