|
@@ -37,9 +37,9 @@ class PushData extends Component{
|
|
|
|
|
|
render(){
|
|
render(){
|
|
const {hashNum } = this.state
|
|
const {hashNum } = this.state
|
|
- const {mrId,planCode,showPushData,togglePushData ,windowWidth,windowHeight} = this.props
|
|
|
|
- // console.log(windowWidth,windowHeight)
|
|
|
|
- const url =`${pushPage2}?mrId=${mrId}&planCode=${planCode}&data=${hashNum}`;
|
|
|
|
|
|
+ const {mrId,planCode,showPushData,togglePushData ,windowWidth,windowHeight,hospitalId} = this.props
|
|
|
|
+ console.log(windowWidth,windowHeight)
|
|
|
|
+ const url =`${pushPage2}?mrId=${mrId}&planCode=${planCode}&hospitalId=${hospitalId}`;
|
|
return <div >
|
|
return <div >
|
|
{!showPushData&&<div className={style['slideButton']} style={{right:(windowWidth-1200)/2+'px'}} onClick={this.showPushData}>
|
|
{!showPushData&&<div className={style['slideButton']} style={{right:(windowWidth-1200)/2+'px'}} onClick={this.showPushData}>
|
|
朗通智能提醒
|
|
朗通智能提醒
|
|
@@ -48,11 +48,11 @@ class PushData extends Component{
|
|
{showPushData&&<div id="dragModalWrap" className={style['pushWrapper']} style={{right:(windowWidth-1200)/2+'px'}}>
|
|
{showPushData&&<div id="dragModalWrap" className={style['pushWrapper']} style={{right:(windowWidth-1200)/2+'px'}}>
|
|
{/* <div id="dragModalTitle" className={style['pushDataTitle']}>朗通智能提醒 <span className={style['pushDataHide']} onClick={this.hidePushData}>收起</span></div> */}
|
|
{/* <div id="dragModalTitle" className={style['pushDataTitle']}>朗通智能提醒 <span className={style['pushDataHide']} onClick={this.hidePushData}>收起</span></div> */}
|
|
<div className={style['pushDataTitle']}>朗通智能提醒 <span className={style['pushDataHide']} onClick={this.hidePushData}>收起</span></div>
|
|
<div className={style['pushDataTitle']}>朗通智能提醒 <span className={style['pushDataHide']} onClick={this.hidePushData}>收起</span></div>
|
|
- {mrId&&<iframe id='embedPage' src={url} frameborder="0" width="400" height="560"></iframe>}
|
|
|
|
- {!mrId&&<div className={style['pushEmpty']}>
|
|
|
|
|
|
+ {hospitalId&&<iframe id='embedPage' src={url} frameborder="0" width="400" height="560"></iframe>}
|
|
|
|
+ {!hospitalId&&<div className={style['pushEmpty']}>
|
|
<div className={style['pushEmptyBox']}>
|
|
<div className={style['pushEmptyBox']}>
|
|
<img className={style['pushEmptyImg']} src={pushEmpty} alt=""/>
|
|
<img className={style['pushEmptyImg']} src={pushEmpty} alt=""/>
|
|
- <p>等待内容输入中…</p>
|
|
|
|
|
|
+ <p className={style['pushEmptyTxt']}>等待内容输入中…</p>
|
|
</div>
|
|
</div>
|
|
</div>}
|
|
</div>}
|
|
|
|
|