|
@@ -2,6 +2,8 @@ import React,{ Component } from 'react';
|
|
|
import style from './index.less';
|
|
|
import GeneralTreat from './GeneralTreat/index.jsx';
|
|
|
import DrugTreat from './DrugTreat/index.jsx';
|
|
|
+import LastTreat from './LastTreat/index.jsx';
|
|
|
+import AdverseReactions from './AdverseReactions/index.jsx';
|
|
|
import TreatDesc from '@components/TreatDesc'
|
|
|
import {dragBox,windowRemoveEventHandler} from '@utils/tools'
|
|
|
import DrugInfo from '@components/TreatDesc/DrugInfo';
|
|
@@ -51,7 +53,7 @@ class Treat extends Component {
|
|
|
$('#drugWrapper').css({'z-index': 301});
|
|
|
}
|
|
|
render(){
|
|
|
- const {setDrugInfoMore,treatIndex,treatIndexSet, generalTreat, treatment, treatItem, surgeryTreat, selectDrug, drugInfo, treatDesc, setOtherRecommend, setDrugInfo, showDrug, showDrugInfo,hideDrugInfo, title, drugInfoList, hideDrugInfoMore} = this.props;
|
|
|
+ const {setDrugInfoMore,treatIndex,treatIndexSet, generalTreat, treatment, treatItem, surgeryTreat, lastTreat, selectDrug, drugInfo, treatDesc, setOtherRecommend, setDrugInfo, showDrug, showDrugInfo,hideDrugInfo, title, drugInfoList, hideDrugInfoMore, adversReactionList} = this.props;
|
|
|
const { zIndex,show } = this.state
|
|
|
return(
|
|
|
<div className={style['treat-wrapper']}>
|
|
@@ -63,6 +65,8 @@ class Treat extends Component {
|
|
|
|
|
|
<div className={style['treat-inner-box']}>
|
|
|
<GeneralTreat icon={generalIcon} title='一般治疗' generalTreat={generalTreat}></GeneralTreat>
|
|
|
+ {/* <LastTreat icon={generalIcon} title='上次用药情况' lastTreat={lastTreat} showDrugInfo = {showDrugInfo} setDrugInfo={ setDrugInfo }></LastTreat>
|
|
|
+ <AdverseReactions icon={generalIcon} title='不良反应' adversReactionList = {adversReactionList}></AdverseReactions> */}
|
|
|
<DrugTreat treatment={ treatment }
|
|
|
selectDrug={selectDrug}
|
|
|
setOtherRecommend={ setOtherRecommend }
|