Explorar el Código

统一标准placeholder

zhouna hace 3 años
padre
commit
30c5bef698

+ 1 - 0
src/components/BlockLossManage/editBlock.js

@@ -198,6 +198,7 @@ function EditBlock(props) {
                     >
                         <TextArea
                             autoSize={{ minRows: 5, maxRows: 5 }}
+                            placeholder="请输入"
                         />
                     </Form.Item>
                 </Col>

+ 3 - 3
src/components/BlockLossManage/index.js

@@ -183,17 +183,17 @@ function BlockLossManage() {
                         </Col>
                         <Col span={5} key={1}>
                             <Form.Item label="住院序号" name="behospitalCode" rules={[{ max: 30,message:'住院序号不能超过30个字符' }]}>
-                                <Input placeholder="住院序号" autoComplete='off' allowClear/>
+                                <Input placeholder="请输入" autoComplete='off' allowClear/>
                             </Form.Item>
                         </Col>
                         <Col span={5} key={2}>
                             <Form.Item label="文书编号" name="recId" rules={[{ max: 30,message:'文书编号不能超过30个字符' }]}>
-                                <Input placeholder="文书编号" autoComplete='off' allowClear/>
+                                <Input placeholder="请输入" autoComplete='off' allowClear/>
                             </Form.Item>
                         </Col>
                         <Col span={5} key={3}>
                             <Form.Item label="文书标题" name="recTitle" rules={[{ max: 30,message:'文书标题不能超过30个字符' }]}>
-                                <Input placeholder="文书标题" autoComplete='off' allowClear/>
+                                <Input placeholder="请输入" autoComplete='off' allowClear/>
                             </Form.Item>
                         </Col>
                         <Col span={5} key={4}>

+ 4 - 4
src/components/FieldProblem/index.js

@@ -185,22 +185,22 @@ function FieldProblem() {
                         </Col>
                         <Col span={5} key={1}>
                             <Form.Item label="住院序号" name="behospitalCode" rules={[{ max: 30,message:'住院序号不能超过30个字符' }]}>
-                                <Input placeholder="住院序号" autoComplete='off' allowClear/>
+                                <Input placeholder="请输入" autoComplete='off' allowClear/>
                             </Form.Item>
                         </Col>
                         <Col span={5} key={2}>
                             <Form.Item label="文书编号" name="recId" rules={[{ max: 30,message:'文书编号不能超过30个字符' }]}>
-                                <Input placeholder="文书编号" autoComplete='off' allowClear/>
+                                <Input placeholder="请输入" autoComplete='off' allowClear/>
                             </Form.Item>
                         </Col>
                         <Col span={5} key={3}>
                             <Form.Item label="文书标题" name="recTitle" rules={[{ max: 30,message:'文书标题不能超过30个字符' }]}>
-                                <Input placeholder="文书标题" autoComplete='off' allowClear/>
+                                <Input placeholder="请输入" autoComplete='off' allowClear/>
                             </Form.Item>
                         </Col>
                         <Col span={5} key={4}>
                             <Form.Item label="质控模块名称" name="modeName" rules={[{ max: 30,message:'质控模块名称不能超过30个字符' }]}>
-                                <Input placeholder="质控模块名称" autoComplete='off' allowClear/>
+                                <Input placeholder="请输入" autoComplete='off' allowClear/>
                             </Form.Item>
                         </Col>
                         <Col span={5} key={5}>

+ 2 - 1
src/components/FieldRules/addRules.js

@@ -297,7 +297,7 @@ function ContentForm(props) {
                             return (
                                 <div className='box-2' key={i} >
                                     <Form.Item name={['standardValueList', i, 'tit']} style={{ width: 159 }}>
-                                        <Input autoComplete='off' />
+                                        <Input autoComplete='off' placeholder="请输入"/>
                                     </Form.Item>
                                     <img onClick={() => modifyStand(i)} src={i == 0 ? add : del} />
                                 </div>
@@ -322,6 +322,7 @@ function ContentForm(props) {
                 <Form.Item label="说明" name="description" rules={[{ max: 200,message:'说明不能超过200个字符' }]}>
                     <TextArea
                         autoSize={{ minRows: 3, maxRows: 5 }}
+						placeholder="请输入"
                     />
                 </Form.Item>
             </Form>

+ 1 - 1
src/components/FieldRules/index.js

@@ -324,7 +324,7 @@ function FieldRules() {
                         </Col>
                         <Col span={5} key={5}>
                             <Form.Item label="标准值" name="standardValue" rules={[{ max: 30,message:'标准值不能超过30个字符' }]}>
-                                <Input placeholder="标准值" autoComplete='off' allowClear/>
+                                <Input placeholder="请输入" autoComplete='off' allowClear/>
                             </Form.Item>
                         </Col>
                         <Col span={5} key={6}>

+ 2 - 0
src/components/RegularManage/addRegular.js

@@ -60,11 +60,13 @@ function EditBlock(props) {
                 <Form.Item label="正则式值" name="val" rules={[{ required: true }]}>
                     <TextArea
                         autoSize={{ minRows: 5, maxRows: 5 }}
+                        placeholder="请输入"
                     />
                 </Form.Item>
                 <Form.Item label="说明" name="description" rules={[{ max: 200,message:'说明不能超过200个字符' }]}>
                     <TextArea
                         autoSize={{ minRows: 5, maxRows: 5 }}
+                        placeholder="请输入"
                     />
                 </Form.Item>
                 <Form.Item wrapperCol={{ offset: 8, span: 16 }} style={{ marginTop: 15 }}>

+ 1 - 1
src/components/RegularManage/index.js

@@ -164,7 +164,7 @@ function RegularManage() {
                     <Row gutter={24}>
                         <Col span={5} key={0}>
                             <Form.Item label="正则式名称" name="name" rules={[{ max: 30,message:'正则式名称不能超过30个字符' }]}>
-                                <Input placeholder="正则式名称" autoComplete='off' allowClear/>
+                                <Input placeholder="请输入" autoComplete='off' allowClear/>
                             </Form.Item>
                         </Col>