|
@@ -8,12 +8,9 @@ import store from '@store';
|
|
|
import { billing } from '@store/async-actions/pushMessage';
|
|
|
import TemplateContainer from '@components/TemplateContainer';
|
|
|
import TemplateItems from '@components/TemplateItems';
|
|
|
-import PushItemsContainer from '@containers/PushItemsContainer';
|
|
|
-import { pushAllDataList, getWindowInnerHeight, didPushParamChange } from '@utils/tools';
|
|
|
+import { pushAllDataList, getWindowInnerHeight, didPushParamChange,windowEventHandler } from '@utils/tools';
|
|
|
import CopyRightContainer from "@containers/CopyRightContainer";
|
|
|
import MedicalInfoContainer from '@containers/MedicalInfoContainer';
|
|
|
-import FolderName from '@components/FolderName';
|
|
|
-// import Search from './../Operation/Search';
|
|
|
import Search from './Search';
|
|
|
import slideDown from '@common/images/slideDown.png';
|
|
|
import CaseQuailty from "../CaseQuailty";
|
|
@@ -96,8 +93,12 @@ class PushContainer extends Component {
|
|
|
this.hideFolderList = this.hideFolderList.bind(this);
|
|
|
}
|
|
|
componentDidMount() {
|
|
|
- // const height = getWindowInnerHeight()-160;
|
|
|
- // this.$cont.current.style.height = height+"px";
|
|
|
+ const height = getWindowInnerHeight()-60;
|
|
|
+ this.$cont.current.style.height = height+"px";
|
|
|
+ windowEventHandler('resize', ()=>{
|
|
|
+ const height = getWindowInnerHeight() - 60;
|
|
|
+ this.$cont.current.style.height = height+"px";
|
|
|
+ });
|
|
|
}
|
|
|
|
|
|
templateSearch(name,selectTemp){
|
|
@@ -589,7 +590,7 @@ class PushContainer extends Component {
|
|
|
allCheckShow,allCheckShowAdmin,adminItems,admin,checkItemsAdmin,clearSearch, templateNormsSearchList, departLis,mode} = this.props;
|
|
|
const { type,okBorderColor,okColor,oKBg,okText,message,folderListShow,value,reset } = this.state
|
|
|
const { handleChangeValue, handleChangeIpt} = this;
|
|
|
- return <div className={style["container"]} ref={this.$cont} >
|
|
|
+ return <div className={style["container"]} ref={this.$cont} style={+activeId!==0?"":{paddingBottom:0}}>
|
|
|
<Tab tabs={this.state.tabs}
|
|
|
activeId={activeId}
|
|
|
handleActiveClick={this.handleActiveClick}
|
|
@@ -713,7 +714,7 @@ class PushContainer extends Component {
|
|
|
</div>:null
|
|
|
}
|
|
|
</ConfirmModal>
|
|
|
- <CopyRightContainer />
|
|
|
+ {+activeId!==0?<CopyRightContainer />:''}
|
|
|
</div>
|
|
|
}
|
|
|
}
|