luolei 4 년 전
부모
커밋
a90d6ac5a9
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      src/components/ChronicInfo/index.jsx
  2. 1 1
      src/components/PatInfo/index.jsx

+ 1 - 0
src/components/ChronicInfo/index.jsx

@@ -576,6 +576,7 @@ class ChronicInfo extends React.Component{
                                 handlePrint={this.onPrint}
                                 handleConfirm={this.comfirnTable}/>;
     if(data&&data.length>0){
+      return
       return <div className={style["tips"]} style={{marginBottom:'15px'}}>
         <div className={className(style["tips-title"],style["chronic"],"clearfix")} onClick={this.slideToggle}>
           <div className={style["tips-name"]}>

+ 1 - 1
src/components/PatInfo/index.jsx

@@ -139,7 +139,7 @@ class PatInfo extends Component {
         <td key='3' className={`${style.tdBorderB} ${style.tdBorderR} ${style.tdBorderTwo}`}>
           <span className={style['title']}>年龄:</span>
           <input type="text" className={style['age']} style={{"borderColor":reg?'#FF545B':'#E6E6E6'}} placeholder="请输入" onChange={(e)=>this.handleAge(e)} value={message.patientAge}/>
-          <i style={{color:reg?'#FF545B':'#999999',display:reg?'inline-block':'none'}}>* 请输入1-150以内的整数</i>
+          <i style={{color:reg?'#FF545B':'#999999'}}>* 请输入1-150以内的整数</i>
         </td>
         <td key='2' className={`${style.tdBorderB} ${style.tdBorderR} ${style.tdBorderThree}`}>
           <span className={style['title']}>性别:</span>