|
|
@@ -58,13 +58,14 @@ const CreateForm = (props) => { |
|
|
|
<Form.Item name="orgName" hidden={true}> |
|
|
|
<Input /> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item label={'所属组织'} name="orgId" rules={[{ required: true }]}> |
|
|
|
<TreeSelect allowClear treeDefaultExpandAll treeData={props.OrgList} onChange={handleChange} value={orgId}/> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item label={'场景名称'} name="name" rules={[{ required: true, max: 50 }]}> |
|
|
|
<Input /> |
|
|
|
</Form.Item> |
|
|
|
|
|
|
|
<Form.Item label={'所属机构'} name="orgId" rules={[{ required: true }]}> |
|
|
|
<TreeSelect allowClear treeDefaultExpandAll treeData={props.OrgList} onChange={handleChange} value={orgId}/> |
|
|
|
</Form.Item> |
|
|
|
|
|
|
|
<Form.Item label={'电话'} name="phone" rules={[{ required: true }]}> |
|
|
|
<Input /> |
|
|
|
</Form.Item> |
|
|
|