소스 검색

修改右侧辅助信息标题名称和顺序

zhangxc 6 년 전
부모
커밋
927e78da9b
1개의 변경된 파일9개의 추가작업 그리고 8개의 파일을 삭제
  1. 9 8
      src/components/PushItems/index.jsx

+ 9 - 8
src/components/PushItems/index.jsx

@@ -186,24 +186,25 @@ class PushItems extends Component {
             )}
             {/* 不展示确诊 */}
             {/* {determine && determine.length>0 && <PushDiag titleBg='#FAEBEC' icon={possibleImg} title='确诊' diagList={determine} maxShowNum={28}/>} */}
-            {doubt && doubt.length > 0 && (
+            {possible && possible.length > 0 && (
               <PushDiag
                 titleBg="#FAEBEC"
-                icon={doubtImg}
-                title="疑似诊断"
-                diagList={doubt}
+                icon={possibleImg}
+                title="可能诊断"
+                diagList={possible}
                 maxShowNum={24}
               />
             )}
-            {possible && possible.length > 0 && (
+            {doubt && doubt.length > 0 && (
               <PushDiag
                 titleBg="#FAEBEC"
-                icon={possibleImg}
-                title="可能诊断"
-                diagList={possible}
+                icon={doubtImg}
+                title="初步诊断"
+                diagList={doubt}
                 maxShowNum={24}
               />
             )}
+            
             {likely && likely.length > 0 && (
               <PushDiag
                 titleBg="#FAEBEC"