|
@@ -4,7 +4,7 @@ import PushData from '@components/PushData';
|
|
|
import { TOGGLE_PUSH_DATA } from '@store/types/homePage.js';
|
|
|
function mapStateToProps(state){
|
|
|
// console.log('state',state.print.mrInfo)
|
|
|
- const {showPushData } = state.homePage;
|
|
|
+ const {showPushData,curHos } = state.homePage;
|
|
|
const {mrInfo } = state.print;
|
|
|
|
|
|
return {
|
|
@@ -13,7 +13,7 @@ function mapStateToProps(state){
|
|
|
planCode:mrInfo.mode,
|
|
|
windowHeight:state.homePage.windowHeight,
|
|
|
windowWidth:state.homePage.windowWidth,
|
|
|
- hospitalId:state.historyTemplates.HospitalInfo.id
|
|
|
+ hospitalId:curHos.hosId
|
|
|
}
|
|
|
}
|
|
|
|