瀏覽代碼

修改右侧辅助信息名称(1436)

zhangxc 6 年之前
父節點
當前提交
38bb85f925
共有 1 個文件被更改,包括 8 次插入7 次删除
  1. 8 7
      src/components/PushItems/index.jsx

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

@@ -186,25 +186,26 @@ class PushItems extends Component {
             )}
             {/* 不展示确诊 */}
             {/* {determine && determine.length>0 && <PushDiag titleBg='#FAEBEC' icon={possibleImg} title='确诊' diagList={determine} maxShowNum={28}/>} */}
-            {possible && possible.length > 0 && (
+            {doubt && doubt.length > 0 && (
               <PushDiag
                 titleBg="#FAEBEC"
-                icon={possibleImg}
+                icon={doubtImg}
                 title="可能诊断"
-                diagList={possible}
+                diagList={doubt}
                 maxShowNum={24}
               />
             )}
-            {doubt && doubt.length > 0 && (
+            {possible && possible.length > 0 && (
               <PushDiag
                 titleBg="#FAEBEC"
-                icon={doubtImg}
+                icon={possibleImg}
                 title="初步诊断"
-                diagList={doubt}
+                diagList={possible}
                 maxShowNum={24}
               />
             )}
             
+            
             {likely && likely.length > 0 && (
               <PushDiag
                 titleBg="#FAEBEC"
@@ -224,7 +225,7 @@ class PushItems extends Component {
                   <div className={style["doubt"]}>
                     <h1>
                       <img src={doubtImg} />
-                      疑似诊断
+                      可能诊断
                     </h1>
                     <div className={style["no-push"]}>无</div>
                   </div>