feat: 租户套餐

This commit is contained in:
dap
2024-10-05 23:32:51 +08:00
parent 74d56ddd82
commit a392c0a293
3 changed files with 213 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
import type { FormSchemaGetter } from '#/adapter';
import type { FormSchemaGetter, VxeGridProps } from '#/adapter';
export const querySchema: FormSchemaGetter = () => [
{
@@ -8,6 +8,30 @@ export const querySchema: FormSchemaGetter = () => [
},
];
export const columns: VxeGridProps['columns'] = [
{ type: 'checkbox', width: 60 },
{
title: '套餐名称',
field: 'packageName',
},
{
title: '备注',
field: 'remark',
},
{
title: '租户状态',
field: 'status',
slots: { default: 'status' },
},
{
field: 'action',
fixed: 'right',
slots: { default: 'action' },
title: '操作',
width: 180,
},
];
export const drawerSchema: FormSchemaGetter = () => [
{
component: 'Input',