|
@@ -73,7 +73,7 @@ class PreviewBody extends Component {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
render() {
|
|
render() {
|
|
- const { show, preInfo, dataJson, dataStr, baseObj, flg } = this.props;
|
|
|
|
|
|
+ const { show, preInfo, dataJson, dataStr, baseObj, flg ,showAssessBtn} = this.props;
|
|
const other_yjs = filterOtherDataArr(JSON.parse(dataStr.other),dataJson.other);
|
|
const other_yjs = filterOtherDataArr(JSON.parse(dataStr.other),dataJson.other);
|
|
const noData = JSON.stringify(preInfo) == '{}';
|
|
const noData = JSON.stringify(preInfo) == '{}';
|
|
return <div className={style['content']} style={{ width: flg ? '700' : '820' }}>
|
|
return <div className={style['content']} style={{ width: flg ? '700' : '820' }}>
|
|
@@ -222,7 +222,7 @@ class PreviewBody extends Component {
|
|
</tr>
|
|
</tr>
|
|
</table>
|
|
</table>
|
|
<p style={{textAlign:'right',marginTop:'15px'}}>医生签名:<span style={{minWidth: '60px',padding: '0 5px 2px 5px',borderBottom: '1px solid #333',}}>{baseObj ? baseObj.doctorName : (noData ? '' : preInfo.doctorName)}</span></p>
|
|
<p style={{textAlign:'right',marginTop:'15px'}}>医生签名:<span style={{minWidth: '60px',padding: '0 5px 2px 5px',borderBottom: '1px solid #333',}}>{baseObj ? baseObj.doctorName : (noData ? '' : preInfo.doctorName)}</span></p>
|
|
- {show?"":<AssessResultHis inquiryId={baseObj&&baseObj.id} inquiryDate={baseObj&&baseObj.inquiryDate}></AssessResultHis>}
|
|
|
|
|
|
+ {showAssessBtn?<AssessResultHis inquiryId={baseObj&&baseObj.id} inquiryDate={baseObj&&baseObj.inquiryDate}></AssessResultHis>:""}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div onClick={() => { this.surePrint(dataStr) }} style={{
|
|
<div onClick={() => { this.surePrint(dataStr) }} style={{
|