|
@@ -100,6 +100,7 @@ class Diagnosis extends Component {
|
|
if (isTcm) { //添加中医诊断后才显示中医症候添加按钮
|
|
if (isTcm) { //添加中医诊断后才显示中医症候添加按钮
|
|
const len = tcmList.length>0?tcmList.length-1:0;
|
|
const len = tcmList.length>0?tcmList.length-1:0;
|
|
const showNext = tcmList.length===0||(tcmList.length>0&&tcmList[len].tcmDiag&&tcmList[len].tcmSyndrome);
|
|
const showNext = tcmList.length===0||(tcmList.length>0&&tcmList[len].tcmDiag&&tcmList[len].tcmSyndrome);
|
|
|
|
+ const showZh = tcmList.length>0&&tcmList[len].tcmDiag&&!tcmList[len].tcmSyndrome;
|
|
return (<div id="diagnosisTcmResult">
|
|
return (<div id="diagnosisTcmResult">
|
|
<ItemBox id="tcmDiagnosis" title="中医诊断" boxHeight='auto' hideAllDrop={this.props.hideAllDrop}
|
|
<ItemBox id="tcmDiagnosis" title="中医诊断" boxHeight='auto' hideAllDrop={this.props.hideAllDrop}
|
|
titleTop='22px' marginTop='9px' backgroundColor='#EAF7FD'>
|
|
titleTop='22px' marginTop='9px' backgroundColor='#EAF7FD'>
|
|
@@ -110,8 +111,6 @@ class Diagnosis extends Component {
|
|
{showNext?<div style={{marginLeft: '10px', position: 'relative', color: '#000'}}>
|
|
{showNext?<div style={{marginLeft: '10px', position: 'relative', color: '#000'}}>
|
|
<Add showText="添加中医诊断结果" handleClick={this.handleTcmShowSearch} id="addTcmDiag"
|
|
<Add showText="添加中医诊断结果" handleClick={this.handleTcmShowSearch} id="addTcmDiag"
|
|
height="50px"/>
|
|
height="50px"/>
|
|
- {tcmList.length&&tcmList[len].tcmDiag?<Add showText="添加中医症候" handleClick={this.handleSymShowSearch} id="addSymDiag"
|
|
|
|
- height="50px"/>:''}
|
|
|
|
<DiagResultSearch
|
|
<DiagResultSearch
|
|
refreshScroller={this.refreshScroller}
|
|
refreshScroller={this.refreshScroller}
|
|
setHighter={this.props.setHighter}
|
|
setHighter={this.props.setHighter}
|