Skip to content

Commit

Permalink
perf: 优化部门管理
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxian521 committed Oct 8, 2023
1 parent 7aaa174 commit 0510171
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/views/system/dept/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,16 @@ const {
@selection-change="handleSelectionChange"
>
<template #operation="{ row }">
<el-button
class="reset-margin"
link
type="primary"
:size="size"
:icon="useRenderIcon(AddFill)"
@click="openDialog('新增', { parentId: row.id } as any)"
>
新增
</el-button>
<el-button
class="reset-margin"
link
Expand Down
2 changes: 1 addition & 1 deletion src/views/system/dept/utils/hook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function useDept() {
{
label: "操作",
fixed: "right",
width: 160,
width: 210,
slot: "operation"
}
];
Expand Down

0 comments on commit 0510171

Please sign in to comment.