diff --git a/apps/web-antd/src/router/routes/modules/person.ts b/apps/web-antd/src/router/routes/modules/person.ts index d20d237..234e02e 100644 --- a/apps/web-antd/src/router/routes/modules/person.ts +++ b/apps/web-antd/src/router/routes/modules/person.ts @@ -11,7 +11,7 @@ const routes: RouteRecordRaw[] = [ icon: MaterPerson, title: '个人', order: 5, - authority: ['dashboard'], + authority: ['user'], }, }, ]; diff --git a/apps/web-antd/src/router/routes/modules/system.ts b/apps/web-antd/src/router/routes/modules/system.ts index f9a8f33..2916096 100644 --- a/apps/web-antd/src/router/routes/modules/system.ts +++ b/apps/web-antd/src/router/routes/modules/system.ts @@ -57,7 +57,7 @@ const routes: RouteRecordRaw[] = [ meta: { icon: IconLog, title: '系统日志', - authority: ['system'], + authority: ['system:operationLog'], }, }, { @@ -67,7 +67,7 @@ const routes: RouteRecordRaw[] = [ meta: { icon: FluentWorkflow, title: '工作流管理', - authority: ['system'], + authority: ['system:workflow'], }, }, ], diff --git a/apps/web-antd/src/views/dept/data.ts b/apps/web-antd/src/views/dept/data.ts index b35f469..9fd37b7 100644 --- a/apps/web-antd/src/views/dept/data.ts +++ b/apps/web-antd/src/views/dept/data.ts @@ -151,14 +151,20 @@ export function useColumns( { code: 'append', text: '新增下级', + permission: 'system:dept:create', }, // { // code: 'auth', // text: '工作流', // }, - 'edit', // 默认的编辑按钮 + { + code: 'edit', + text: '修改', + permission: 'system:dept:update', + }, { code: 'delete', // 默认的删除按钮 + permission: 'system:dept:delete', disabled: (row: DeptApi.Dept) => { return !!(row.children && row.children.length > 0); }, diff --git a/apps/web-antd/src/views/log/list.vue b/apps/web-antd/src/views/log/list.vue index 32faae9..f82a942 100644 --- a/apps/web-antd/src/views/log/list.vue +++ b/apps/web-antd/src/views/log/list.vue @@ -80,7 +80,14 @@ async function onDelete() {