|
@@ -5,7 +5,7 @@ import { addInstitution, updateInstitution } from '@/services/api/institution'
|
|
|
import { ModalType } from '@/utils/enum'
|
|
|
import type { SchemaBaseModelState } from '@/pages/Schema/Base/model'
|
|
|
import type { ConnectProps } from 'umi'
|
|
|
-import { BaseMenuEnum, SchemaEnum } from '@/pages/Schema/Base'
|
|
|
+import { BaseMenuEnum } from '@/pages/Schema/Base'
|
|
|
import { createForm } from '@formily/core'
|
|
|
import {
|
|
|
Form,
|
|
@@ -107,7 +107,6 @@ const CompanyDrawer: React.FC<CompanyModalProps> = ({
|
|
|
<div className="mt-6">
|
|
|
<div className="max-w-800px">
|
|
|
<Form form={formInstance} labelCol={6} wrapperCol={8}>
|
|
|
- <SchemaField schema={SchemaEnum?.[BaseMenuEnum.COMPANY]} />
|
|
|
<SchemaField schema={companySchema} />
|
|
|
<FormButtonGroup.Sticky>
|
|
|
<FormButtonGroup.FormItem labelCol={4}>
|