|
@@ -50,7 +50,7 @@ class DiagnosticItem extends Component{
|
|
|
|
|
|
}
|
|
|
addDiagodal(diagType){
|
|
|
- const {item, isChronicMag} = this.props;
|
|
|
+ const {item, isChronicMag,mode} = this.props;
|
|
|
item.type = diagType;
|
|
|
// setTimeout(()=>{
|
|
|
// this.setState({
|
|
@@ -63,7 +63,7 @@ class DiagnosticItem extends Component{
|
|
|
// return
|
|
|
// }
|
|
|
// }
|
|
|
- if(item.type == 2) {
|
|
|
+ if(item.type == 2&&mode==0) {
|
|
|
isChronicMag(item);
|
|
|
}
|
|
|
// 从缓存取慢病列表
|