|
@@ -111,10 +111,10 @@ class CheckBody extends Component{
|
|
|
});
|
|
|
}
|
|
|
render(){
|
|
|
- const {searchData,totalHide,data,saveText,rePush} = this.props;
|
|
|
+ const {searchData,totalHide,data,saveText,rePush,hasMain,isEmpty} = this.props;
|
|
|
const {boxLeft,boxTop} = this.state;
|
|
|
return <ItemBox title='查体' handleClick={this.handleClick}>
|
|
|
- <img className={style['refresh']} src={rePushIcon} onClick={rePush}/>
|
|
|
+ <img className={style['refresh']} src={rePushIcon} title='重新加载' onClick={!hasMain&&isEmpty?null:rePush}/>
|
|
|
{this.getLabels()}
|
|
|
{/*{showMoreBtn?more:''}*/}
|
|
|
{searchData && searchData.length>0?<SearchDrop data={searchData} show={!totalHide} left={boxLeft} top={boxTop} onSelect={this.handleSearchSelect}></SearchDrop>:''}
|