Browse Source

修改诊断顺序为确诊>拟诊>可能(2444)

zhangxc 5 years ago
parent
commit
f84ca88cbe
2 changed files with 3 additions and 4 deletions
  1. 1 1
      src/js/index.js
  2. 2 3
      src/js/indexHorizontal.js

+ 1 - 1
src/js/index.js

@@ -94,7 +94,7 @@ function getPageInfo() {
     const diagWaring = pushResult.dis&&pushResult.dis['警惕'] || [] // 推荐警惕诊断
     const symptomRecommend = pushResult.symptom || []  //推荐问诊症状
     const physiExamRecommend  = pushResult.vital || [] //推荐体格检查
-    const diagRecommend = diagPossible.concat(diagDoubt, diagDeter) //推荐诊断
+    const diagRecommend = diagDeter.concat(diagDoubt, diagPossible) //推荐诊断
     const labRecommend = pushResult.lab || []
     const pacsRecommend = pushResult.pacs || []
     const medicalIndications = pushResult.medicalIndications || []

+ 2 - 3
src/js/indexHorizontal.js

@@ -108,7 +108,7 @@ function getPageInfo() {
     const diagWaring = pushResult.dis&&pushResult.dis['警惕'] || [] // 推荐警惕诊断
     const symptomRecommend = pushResult.symptom || []  //推荐问诊症状
     const physiExamRecommend  = pushResult.vital || [] //推荐体格检查
-    const diagRecommend = diagPossible.concat(diagDoubt, diagDeter) //推荐诊断
+    const diagRecommend = diagDeter.concat(diagDoubt, diagPossible) //推荐诊断
     const labRecommend = pushResult.lab || []
     const pacsRecommend = pushResult.pacs || []
     const medicalIndications = pushResult.medicalIndications || []
@@ -156,10 +156,9 @@ function getPageInfo() {
           moreInfo()
           break;
         default:
-           return
+          break;
       } 
     }
-    
     function bindTab() {
       if(showTab == '1') {
           $('.infoTabBox .tipsTab').addClass('activeTab')