feat(role): 新增角色权限分配功能并优化界面显示

refactor(menu): 重构菜单类型枚举和权限数据结构
fix(log): 修复日志类型显示和查询问题
style(common): 重命名部门树格式化函数为通用树格式化函数
perf(store): 移除控制台日志输出
docs(tsconfig): 添加Vite客户端类型注释
chore(package): 调整依赖项顺序
This commit is contained in:
zhangtao
2025-07-20 15:39:00 +08:00
parent 5de06e5bc6
commit 7204e011d9
33 changed files with 1507 additions and 1034 deletions
@@ -11,7 +11,6 @@ export const useNoticeStore = defineStore("notice", {
actions: {
async getNotice() {
const response = await NoticeAPI.getNoticeListAvailable();
console.log('获取我的通知公告', response);
this.noticeList = response.data.data.items;
this.total = response.data.data.total;
this.isNoticeLoaded = true;
@@ -22,7 +22,7 @@ export interface Meta {
/** 排序 */
order?: number;
/** 参数 */
params?: string;
params?: { key: string; value: string; }[];
/** 是否固定路由 */
affix?: boolean;
}