|
@@ -228,8 +228,9 @@ class ChronicInfo extends React.Component{
|
|
|
addAssessItem(v,pIndex,i);
|
|
|
}
|
|
|
addFormula(it,v,pIndex,i){
|
|
|
- const {chronicMagItem} = this.props;
|
|
|
+ const {chronicMagItem, setCalcuInfo} = this.props;
|
|
|
this.closeFormula(it);
|
|
|
+ setCalcuInfo && setCalcuInfo(v.conceptId,it.content.details,it.content.result)
|
|
|
chronicMagItem&&this.handleAddAssessItem(v,pIndex,i);
|
|
|
}
|
|
|
handleInputformula(id,calcuContent,i,j,idd,cres,e) {
|