|
@@ -7,7 +7,7 @@ import {getPageCoordinate,windowEventHandler,isIE,filterDataArr} from '@utils/to
|
|
|
import $ from "jquery";
|
|
|
import showImg from "../../common/images/show.png";
|
|
|
import hideImg from "../../common/images/close.png";
|
|
|
-import rePushIcon from '../../common/images/possible.png';
|
|
|
+import rePushIcon from '../../common/images/icon2.png';
|
|
|
import config from '@config/index';
|
|
|
|
|
|
class CheckBody extends Component{
|
|
@@ -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 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>:''}
|