liucf 6 years ago
parent
commit
b1018669e4

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

@@ -499,7 +499,6 @@ class ChronicInfo extends React.Component{
   render(){
     const {comfirnFlag,flag,ff} = this.state;
     const {chronicMagItem,chronicDesease,data,showHide,slideUp} = this.props;
-    console.log(showHide)
     const scaleFooter = <Footer print={true}
                                 footText={showHide.isPop||!chronicMagItem?"确定":"加入病例记录"}
                                 handlePrint={this.onPrint}

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

@@ -52,7 +52,6 @@ class CurrentIll extends Component{
       })
     }else if(!text) {//现病史框里没有内容时才设置模板
       let num = moduleNum.num;//主诉使用了几个模板
-      //console.log(999,isChronic)
       if(data.length==0 && !isChronic){
         clearTimeout(setDataTimer);
         setDataTimer = setTimeout(function(){//延时,等待主诉失焦数据返回

+ 2 - 1
src/components/Emergency/index.jsx

@@ -181,7 +181,8 @@ class EmergencyHis extends Component{
                              }}
                             onPropertyChange={(e) => {  // 兼容ie
                                 this.handleInput(e)
-                            }}/>
+                            }}
+                            disabled={data.length==0?true:false}/>
                       <span className={this.getBtnStyle()} onClick={!valChange?this.handleAdd:''}>确认添加</span>
                     </div>
                     <p className={style['add-tip']}>说明:二次诊断只会对导出数据有影响(只为AI建模使用)并不会对真实病历产生任何影响!</p>