| | |
| | | <template> |
| | | <Form |
| | | <a-form |
| | | v-bind="getBindValue" |
| | | :class="getFormClass" |
| | | ref="formElRef" |
| | |
| | | </FormAction> |
| | | <slot name="formFooter"></slot> |
| | | </Row> |
| | | </Form> |
| | | </a-form> |
| | | </template> |
| | | <script lang="ts" setup> |
| | | import type { FormActionType, FormProps, FormSchemaInner as FormSchema } from './types/form'; |
| | |
| | | defineOptions({ name: 'BasicForm' }); |
| | | |
| | | const props = defineProps(basicProps); |
| | | |
| | | const AForm = Form; |
| | | const emit = defineEmits([ |
| | | 'advanced-change', |
| | | 'reset', |
| | |
| | | FormSchema, |
| | | ActionItem, |
| | | } from '/@/components/Table'; |
| | | import { BasicForm, useForm } from '/@/components/Form/index'; |
| | | import { BasicForm, useForm } from '/@/components/Form'; |
| | | import { useDrawer } from '/@/components/Drawer'; |
| | | import GeneralModal from '/@/views/components/GeneralModal.vue'; |
| | | import normalDrawer from '../normalDrawer.vue'; |