feat(projects): pef manage role

This commit is contained in:
Soybean
2024-03-23 15:51:04 +08:00
parent 0abbfa5d0c
commit 187098136e
10 changed files with 279 additions and 1 deletions

View File

@ -222,5 +222,12 @@ declare namespace Api {
/** menu list */
type MenuList = Common.PaginatingQueryRecord<Menu>;
type MenuTree = {
id: number;
label: string;
pId: number;
children?: MenuTree[];
};
}
}

View File

@ -258,6 +258,7 @@ declare namespace App {
close: string;
check: string;
columnSetting: string;
config: string;
confirm: string;
delete: string;
deleteSuccess: string;
@ -468,6 +469,8 @@ declare namespace App {
};
addRole: string;
editRole: string;
menuAuth: string;
buttonAuth: string;
};
user: {
title: string;
@ -495,6 +498,7 @@ declare namespace App {
};
};
menu: {
home: string;
title: string;
id: string;
parentId: string;
@ -521,6 +525,7 @@ declare namespace App {
buttonDesc: string;
menuStatus: string;
form: {
home: string;
menuType: string;
menuName: string;
routeName: string;

View File

@ -79,6 +79,7 @@ declare module 'vue' {
NTag: typeof import('naive-ui')['NTag']
NThing: typeof import('naive-ui')['NThing']
NTooltip: typeof import('naive-ui')['NTooltip']
NTree: typeof import('naive-ui')['NTree']
PinToggler: typeof import('./../components/common/pin-toggler.vue')['default']
ReloadButton: typeof import('./../components/common/reload-button.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']