|
@@ -1,4 +1,5 @@
|
|
|
import React, { Component } from 'react';
|
|
|
+import { Radio } from '@commonComp';
|
|
|
import style from './index.less';
|
|
|
import info2 from './../img/info2.png';
|
|
|
import info3 from './../img/info3.png';
|
|
@@ -75,9 +76,16 @@ class AdverseReactions extends Component {
|
|
|
|
|
|
</span>
|
|
|
{item.details.map((it, idx) => {
|
|
|
- return <span className={`style['adverse-reactions-name'] ${it.value == 1 ? style['selectd']:''}`} key={item.conceptId + item.name + it.name}>
|
|
|
- <input type="radio" checked={it.value == 1} id={item.conceptId +item.name + it.name} onChange={this.changeReact.bind(this, it, index)}/>
|
|
|
- <label for={item.conceptId +item.name + it.name}> {it.name} </label>
|
|
|
+ return <span className={`${style['adverse-reactions-name']} ${it.value == 1 ? style['selectd']:style['dis-selectd']}`} key={item.conceptId + item.name + it.name}>
|
|
|
+ {/* <input type="radio" checked={it.value == 1} id={item.conceptId +item.name + it.name}
|
|
|
+ // onChange={this.changeReact.bind(this, it, index)}
|
|
|
+ />
|
|
|
+ <label for={item.conceptId +item.name + it.name}> {it.name} </label> */}
|
|
|
+ <Radio label={it.name}
|
|
|
+ isSelect={it.value == 1}
|
|
|
+ noSelected = 'true'
|
|
|
+ // handleClick={this.handleRadio.bind(this,it.name,i.detailName)}
|
|
|
+ ></Radio>
|
|
|
{/* {it.value==1 && <span className={style['adverse-reactions-recommend']}>(智能推荐)</span>} */}
|
|
|
</span>
|
|
|
})}
|