|
@@ -160,7 +160,7 @@ class ScaleItem extends Component {
|
|
|
confirm={this.confirmOption.bind(this,item,i)}
|
|
|
footer="true">
|
|
|
<div className={style["infoOption"]}>
|
|
|
- <span>是否贫血:</span>
|
|
|
+ <span>{it.content.name?it.content.name+':':''}</span>
|
|
|
{it.content.details&&it.content.details.map((lis,ind)=>{
|
|
|
return <div className={style["chooseItem"]}>
|
|
|
<Radio label={lis.detailName}
|
|
@@ -228,6 +228,10 @@ class ScaleItem extends Component {
|
|
|
<span className={style['print']} onClick={this.onPrint}><img src={printIcon} alt=""/>打印</span>
|
|
|
<span className={style['okBtn']} onClick={()=>{}}>确定</span>
|
|
|
</div>;
|
|
|
+ const scaleFooter = <div className={style['footer']}>
|
|
|
+ <span className={style['print']} onClick={this.onPrint}><img src={printIcon} alt=""/>打印</span>
|
|
|
+ <span className={style['okBtn']} onClick={()=>this.closeTable()}>确定</span>
|
|
|
+ </div>;
|
|
|
return <div className={style['assess-item']}>
|
|
|
<h2>{title}</h2>
|
|
|
<div className={style['item-content']}>
|
|
@@ -244,13 +248,13 @@ class ScaleItem extends Component {
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
- {showScale?<ComplexModal onclose={this.closeScaleFn} footer={footer}
|
|
|
+ {showScale?<ComplexModal onclose={this.closeScaleFn} footer={scaleFooter}
|
|
|
title={scaleName}
|
|
|
icon={tableIcon}
|
|
|
top={20}
|
|
|
bottom={20}
|
|
|
width={820}>
|
|
|
- <ScaleTable data={scaleInfo[scaleId]} title={scaleName} tableId={scaleId} parentId={parentId}></ScaleTable>
|
|
|
+ <ScaleTable title={scaleName} tableId={scaleId} parentId={parentId}></ScaleTable>
|
|
|
</ComplexModal>:''}
|
|
|
</div>;
|
|
|
}
|