|
@@ -64,11 +64,11 @@ class DiagnosticItem extends Component{
|
|
|
getTips && getTips({id:item.id,type:7,name: item.name, position: 1});
|
|
|
}
|
|
|
addDiagodal(diagType){
|
|
|
- const {item, isChronicMag} = this.props;
|
|
|
+ const {item, isChronicMag,mode} = this.props;
|
|
|
item.type = diagType;
|
|
|
const { addDiagnostic, clearInput, hideSearch } = this.props;
|
|
|
|
|
|
- if(item.type == 2) {
|
|
|
+ if(item.type == 2&&mode=='0') { //文本模式不走慢病
|
|
|
isChronicMag(item);
|
|
|
}
|
|
|
addDiagnostic&&addDiagnostic(item);
|