useFormSchema (followup/data.ts)

ruoyi-office-vben · apps/web-ele/src/views/crm/followup/data.ts · typescript · MIT
crm

TypeScript module exporting form and grid schemas for CRM follow-up records, enabling dynamic forms.

// Source: https://github.com/yuqing2026/ruoyi-office-vben | License: MIT | Copyright 2024-present, Vben
// Provided via justclaw.it.com; keep this notice with the code.
import type { Ref } from 'vue';

import type { VbenFormSchema } from '#/adapter/form';
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
import type { DescriptionItemSchema } from '#/components/description';

import { DICT_TYPE } from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
import { formatDateTime } from '@vben/utils';

import { getBusinessPageByCustomer } from '#/api/crm/business';
import { getContactPageByCustomer } from '#/api/crm/contact';
import { BizTypeEnum } from '#/api/crm/permission';

/** 新增/修改的表单 */
export function useFormSchema(
  bizId: Ref<number | undefined>,
): VbenFo

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key