Browse Source

查体重新加载心率填写bug修改2777

zhouna 5 years atrás
parent
commit
c531448427
2 changed files with 7 additions and 1 deletions
  1. 1 1
      src/containers/CheckBody.js
  2. 6 0
      src/utils/tools.js

+ 1 - 1
src/containers/CheckBody.js

@@ -56,7 +56,7 @@ function mapDispatchToProps(dispatch){
         }
       });
     },
-    rePush(){console.log(222)
+    rePush(){
       dispatch(pregetCheckbodyData(false,true));
     }
   }

+ 6 - 0
src/utils/tools.js

@@ -1490,6 +1490,12 @@ const setFontColorSize = (flg,pacs) => {
 //获取查体体征和已选中的标签
 function getValuedLabels(arr){
   const newArr = arr.filter((it)=>{
+    if(it.tagType=='3'){      //血压类型
+      if(it.questionMapping.findIndex((i)=>i.value!==undefined)!==-1){
+        return true;
+      }
+      return false;
+    }
     return it.value||+it.specFlag===4;
   });
   return newArr;