|
@@ -11,6 +11,7 @@ const { post, api, xPost } = apiObj;
|
|
const { Option, OptGroup } = Select;
|
|
const { Option, OptGroup } = Select;
|
|
const { organizationData } = utils;
|
|
const { organizationData } = utils;
|
|
const { SHOW_PARENT } = TreeSelect;
|
|
const { SHOW_PARENT } = TreeSelect;
|
|
|
|
+const { TextArea } = Input;
|
|
|
|
|
|
function AddHospset(props) {
|
|
function AddHospset(props) {
|
|
const [HospsetidList, setHospsetidList] = useState([]);//代码类别模糊查找
|
|
const [HospsetidList, setHospsetidList] = useState([]);//代码类别模糊查找
|
|
@@ -148,19 +149,26 @@ function AddHospset(props) {
|
|
]}
|
|
]}
|
|
>
|
|
>
|
|
{type == 3 ?
|
|
{type == 3 ?
|
|
- <Input autoComplete='off'/>
|
|
|
|
|
|
+ <TextArea rows={4} />
|
|
:
|
|
:
|
|
- <Input placeholder="50个字以内" autoComplete='off'/>
|
|
|
|
|
|
+ <TextArea placeholder="50个字以内" rows={4} />
|
|
}
|
|
}
|
|
|
|
|
|
</Form.Item>
|
|
</Form.Item>
|
|
<Form.Item
|
|
<Form.Item
|
|
name="remark"
|
|
name="remark"
|
|
label="参数描述"
|
|
label="参数描述"
|
|
- rules={[{ required: true, message: '请输入参数描述' }]}
|
|
|
|
|
|
+ rules={[{ required: true, message: '请输入参数描述' },
|
|
|
|
+ {
|
|
|
|
+ max: 50,
|
|
|
|
+ message: '密码不能大于50个字符',
|
|
|
|
+ },]}
|
|
>
|
|
>
|
|
- <Input autoComplete='off'/>
|
|
|
|
-
|
|
|
|
|
|
+ {type == 3 ?
|
|
|
|
+ <TextArea rows={4} />
|
|
|
|
+ :
|
|
|
|
+ <TextArea placeholder="50个字以内" rows={4} />
|
|
|
|
+ }
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
|
|
|
<Form.Item wrapperCol={{ offset: 8, span: 16 }}>
|
|
<Form.Item wrapperCol={{ offset: 8, span: 16 }}>
|