|
@@ -183,23 +183,23 @@ function DutyRecord() {
|
|
|
>
|
|
|
<Row gutter={24}>
|
|
|
<Col span={5} key={0}>
|
|
|
- <Form.Item label="医生姓名" name="doctorName" rules={[{ max: 30, message: '不能超过30个字符' }]}>
|
|
|
- <Input placeholder="请输入" autoComplete='off' allowClear/>
|
|
|
+ <Form.Item label="医生姓名" name="doctorName">
|
|
|
+ <Input placeholder="请输入" autoComplete='off' allowClear maxLength='30'/>
|
|
|
</Form.Item>
|
|
|
</Col>
|
|
|
<Col span={5} key={1}>
|
|
|
- <Form.Item label="科室" name="deptName" rules={[{ max: 30, message: '不能超过30个字符' }]}>
|
|
|
- <Input placeholder="请输入" autoComplete='off' allowClear/>
|
|
|
+ <Form.Item label="科室" name="deptName">
|
|
|
+ <Input placeholder="请输入" autoComplete='off' allowClear maxLength='30'/>
|
|
|
</Form.Item>
|
|
|
</Col>
|
|
|
<Col span={5} key={2}>
|
|
|
- <Form.Item label="工号" name="doctorCode" rules={[{ max: 30, message: '不能超过30个字符' }]}>
|
|
|
- <Input placeholder="请输入" autoComplete='off' allowClear/>
|
|
|
+ <Form.Item label="工号" name="doctorCode">
|
|
|
+ <Input placeholder="请输入" autoComplete='off' allowClear maxLength='30'/>
|
|
|
</Form.Item>
|
|
|
</Col>
|
|
|
<Col span={5} key={3}>
|
|
|
- <Form.Item label="职务/职称名称" name="name" rules={[{ max: 30, message: '不能超过30个字符' }]}>
|
|
|
- <Input placeholder="请输入" autoComplete='off' allowClear/>
|
|
|
+ <Form.Item label="职务/职称名称" name="name">
|
|
|
+ <Input placeholder="请输入" autoComplete='off' allowClear maxLength='30'/>
|
|
|
</Form.Item>
|
|
|
</Col>
|
|
|
<Col span={5} key={4}>
|