import React from "react"; import style from "../index.less"; import check_circle from '../img/check-circle.png'; import check_right from '../img/check-right.png'; class WrapModalTableSon extends React.Component { constructor(props) { super(props) this.getImgPath = this.getImgPath.bind(this) } getImgPath(name,checkItem,item,idx){ const { checkedList,selectOneCheck } = this.props; let num = 0; for(let k = 0;k < checkedList.length;k++){ let tmpLis = checkedList[k]; if(tmpLis == name){ return selectOneCheck(name,checkItem,item,idx)} src={check_right} alt="" /> }else{ ++num } } if(num == checkedList.length){ return selectOneCheck(name,checkItem,item,idx)} src={check_circle} alt="" /> } } render() { const { hospitalSonInspect,allCheckImport,allCheck } = this.props; return
组名称 : {hospitalSonInspect.checkItem}
全选 检查项目 影像所见 影像诊断 5?'':'none'}}>
{/* {type-0正常1异常2上升3下降} */} { hospitalSonInspect && hospitalSonInspect.pacsResultDTO && hospitalSonInspect.pacsResultDTO.map((item, idx) => { return }) }
{ this.getImgPath(item.checkItem,hospitalSonInspect.checkItem,item,idx) } {item.checkItem} {item.imagingDiagnose} {item.imagingResults}
} } export default WrapModalTableSon;