|
@@ -116,7 +116,6 @@ const StaffDrawer: React.FC<StaffModalProps> = ({
|
|
|
form.setSchemaByPath('organizationalStructureID', {
|
|
|
type: 'string',
|
|
|
widget: 'treeSelect',
|
|
|
- required: true,
|
|
|
props: {
|
|
|
treeDefaultExpandAll: true,
|
|
|
treeData: list
|
|
@@ -138,8 +137,6 @@ const StaffDrawer: React.FC<StaffModalProps> = ({
|
|
|
account.institutionID = data.institution.name
|
|
|
account.organizationalStructureID = data.organizationalStructure?.name
|
|
|
}
|
|
|
- console.log('11s')
|
|
|
-
|
|
|
form.setValues({
|
|
|
...account
|
|
|
})
|