From 3bf659c8c4fddd18ead2edd0442a9adcf4186375 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Sat, 5 Oct 2024 21:06:38 +0800 Subject: [PATCH] feat: dept --- apps/web-antd/src/views/system/dept/index.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/web-antd/src/views/system/dept/index.vue b/apps/web-antd/src/views/system/dept/index.vue index 630288f8..2f80caca 100644 --- a/apps/web-antd/src/views/system/dept/index.vue +++ b/apps/web-antd/src/views/system/dept/index.vue @@ -15,6 +15,9 @@ import { columns, querySchema } from './data'; import deptDrawer from './dept-drawer.vue'; const formOptions: VbenFormProps = { + commonConfig: { + labelWidth: 80, + }, schema: querySchema(), wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4', }; @@ -78,7 +81,7 @@ async function handleEdit(record: Recordable) { async function handleDelete(row: Recordable) { await deptRemove(row.deptId); - await tableApi.reload(); + await tableApi.query(); } function expandAll() { @@ -141,6 +144,6 @@ function collapseAll() { - +