import type { VxeTableGridOptions } from '@vben/plugins/vxe-table'; import type { VbenFormSchema } from '#/adapter/form'; import type { SystemModel } from '#/api/method/system'; import { $t } from '#/locales'; export function useTisaneSearchFormSchema(): VbenFormSchema[] { return [ { component: 'Input', fieldName: 'name', label: $t('system.tisane.name'), }, { component: 'Input', fieldName: 'relatedEnterprise', label: $t('system.tisane.relatedEnterprise'), }, ]; } export function useTisaneTableColumns(): VxeTableGridOptions['columns'] { return [ { type: 'seq', title: $t('table.column.seq'), width: 50 }, { field: 'name', title: $t('system.tisane.name'), minWidth: 120, }, { field: 'code', title: $t('system.tisane.code'), minWidth: 100, }, { field: 'type', title: $t('system.tisane.type'), minWidth: 120, }, { field: 'relatedOrganizations', title: $t('system.tisane.relatedOrganization'), minWidth: 120, }, { field: 'relatedEnterprise', title: $t('system.tisane.relatedEnterprise'), minWidth: 120, }, { field: 'remark', title: $t('system.tisane.remark'), minWidth: 100, }, { field: 'createTime', title: $t('system.tisane.createTime'), minWidth: 160, }, { field: 'createUser', title: $t('system.tisane.createUser'), minWidth: 100, }, ]; } export function useTisaneFormSchema(): VbenFormSchema[] { return []; }