Explorar el Código

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

zhangxc hace 6 años
padre
commit
927e78da9b
Se han modificado 1 ficheros con 9 adiciones y 8 borrados
  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"