Ver código fonte

管理评估按钮显示bug2792

zhouna 5 anos atrás
pai
commit
e194b723b4
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/components/DiagnosticList/index.jsx

+ 1 - 1
src/components/DiagnosticList/index.jsx

@@ -315,7 +315,7 @@ class DiagnosticList extends Component {
                                           onClick={() =>{this.showTreat(item, index)}}>
                                           治疗方案
                                     </span>
-                                    {isChronic&&index===0?<span className={style['assess']}
+                                    {isChronic&&index===0&&item.conceptId===chronicMagItem.conceptId?<span className={style['assess']}
                                           onClick={this.showAssessFn.bind(this,item)}>
                                         管理评估
                                     </span>:''}