|
@@ -154,28 +154,26 @@ class PreviewBody extends Component {
|
|
|
}
|
|
|
{
|
|
|
dataJson.lis.labelList && dataJson.lis.labelList.map((item, idx) => {
|
|
|
- // if (item.show) {
|
|
|
- return <table style={{ margin: '8px 0', width: '100%' }}>
|
|
|
- {
|
|
|
- item.show?<tr style={{ fontSize: '14px', lineHeight: '1.5' }}><td><span style={{ borderBottom: '1px solid #666666' }}> {item.name} </span></td></tr>:
|
|
|
- <tr style={{ fontSize: '14px', lineHeight: '1.5' }}><td><span style={{ position:'relative',left:'-10px' }}>「{item.name}」</span></td></tr>
|
|
|
- }
|
|
|
- {
|
|
|
- item.details.map((val) => {
|
|
|
- if (val.value && val.value != '') {
|
|
|
- return <tr style={{ lineHeight: '1.5', width: '100%', fontSize: '12px' }}>
|
|
|
- <td style={{ width: '32%', fontSize: '12px' }}>{val.name}</td>
|
|
|
- {this.showDetails(val)}
|
|
|
- <td style={{ width: '24%', fontSize: '12px' }}>
|
|
|
- {normalVal(val.minValue, val.maxValue)}
|
|
|
- </td>
|
|
|
- <td style={{ width: '28%', fontSize: '12px' }}>{'化验时间:' + item.time}</td>
|
|
|
- </tr>
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- </table>
|
|
|
- // }
|
|
|
+ return <table style={{ margin: '8px 0', width: '100%' }}>
|
|
|
+ {
|
|
|
+ item.show?<tr style={{ fontSize: '14px', lineHeight: '1.5' }}><td><span style={{ borderBottom: '1px solid #666666' }}> {item.name} </span></td></tr>:
|
|
|
+ <tr style={{ fontSize: '14px', lineHeight: '1.5' }}><td><span style={{ position:'relative',left:'-10px' }}>「{item.name}」</span></td></tr>
|
|
|
+ }
|
|
|
+ {
|
|
|
+ item.details.map((val) => {
|
|
|
+ if (val.value && val.value != '') {
|
|
|
+ return <tr style={{ lineHeight: '1.5', width: '100%', fontSize: '12px' }}>
|
|
|
+ <td style={{ width: '32%', fontSize: '12px' }}>{val.name}</td>
|
|
|
+ {this.showDetails(val)}
|
|
|
+ <td style={{ width: '24%', fontSize: '12px' }}>
|
|
|
+ {normalVal(val.minValue, val.maxValue)}
|
|
|
+ </td>
|
|
|
+ <td style={{ width: '28%', fontSize: '12px' }}>{'化验时间:' + item.time}</td>
|
|
|
+ </tr>
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ </table>
|
|
|
})
|
|
|
}
|
|
|
</td>
|
|
@@ -203,10 +201,15 @@ class PreviewBody extends Component {
|
|
|
<tr className={style['patInfoFst']}>
|
|
|
<td className={style['patInfoSec']}>医嘱:</td>
|
|
|
<td className={style['patInfoSec']} style={{ fontSize: '14px', padding: '1px 0px 8px 0px', lineHeight: '20px' }}>
|
|
|
+ {((dataJson.advice.assay && dataJson.advice.assay.length > 0) || (dataJson.advice.check && dataJson.advice.assay.check > 0)) && <p style={{ fontSize: '14px', marginBottom: '8px', marginTop: '8px' }}><span>开单项目</span></p>}
|
|
|
+ {
|
|
|
+ ((dataJson.advice.assay && dataJson.advice.assay.length > 0) || (dataJson.advice.check && dataJson.advice.assay.check > 0)) && <div style={{ padding: '0px 0px 5px 0px',wordBreak:"break-all" }}>{dataJson.advice.check?dataJson.advice.check+',':''} {dataJson.advice.assay}</div>
|
|
|
+ }
|
|
|
{dataJson.advice.commontreatment && dataJson.advice.commontreatment.length > 0 && <p style={{ fontSize: '14px', marginBottom: '8px', marginTop: '8px' }}><span>一般治疗</span></p>}
|
|
|
{
|
|
|
dataJson.advice.commontreatment && <div style={{ padding: '0px 0px 5px 0px',wordBreak:"break-all" }}>{dataJson.advice.commontreatment}</div>
|
|
|
}
|
|
|
+ {dataJson.advice.followUp && dataJson.advice.followUp.length > 0 && <p style={{ fontSize: '14px', marginBottom: '8px', marginTop: '8px' }}><span>回访时间:<span className={style['bbtm']}>{dataJson.advice.followUp}</span> 后回访,不适随诊</span></p>}
|
|
|
{dataJson.advice.scheme && dataJson.advice.scheme.length > 0 && <p style={{ fontSize: '14px', marginBottom: '8px', marginTop: '8px' }}><span>治疗方案</span></p>}
|
|
|
{
|
|
|
dataJson.advice.scheme && dataJson.advice.scheme.map((item, index) => {
|