| | |
| | | import type { VbenFormSchema } from '#/adapter/form'; |
| | | import type { VxeTableGridOptions } from '#/adapter/vxe-table'; |
| | | |
| | | import { CommonStatusEnum, DICT_TYPE } from '..\..\..\packages\constants\src'; |
| | | import { getDictOptions } from '..\..\..\packages\effects\hooks\src'; |
| | | import { CommonStatusEnum, DICT_TYPE } from '@vben/constants'; |
| | | import { getDictOptions } from '@vben/hooks'; |
| | | |
| | | import { z } from '#/adapter/form'; |
| | | |
| | |
| | | rules: 'required', |
| | | }, |
| | | { |
| | | fieldName: 'blobIds', |
| | | label: '附件', |
| | | component: 'FileUpload', |
| | | componentProps: { |
| | | valueKey: 'id', |
| | | maxNumber: 10, |
| | | multiple: true, |
| | | placeholder: '可上传公告相关附件', |
| | | }, |
| | | help: '支持多选,单个文件大小受系统上传配置限制', |
| | | }, |
| | | { |
| | | fieldName: 'status', |
| | | label: '公告状态', |
| | | component: 'RadioGroup', |