Parcourir la source

主诉通用特征描述打标处理

liucf il y a 6 ans
Parent
commit
f3c8426e80
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      src/store/actions/currentIll.js

+ 3 - 1
src/store/actions/currentIll.js

@@ -159,7 +159,9 @@ export const setData = (state,action) =>{
       let firstT = 0;
       mainData.map((v,i)=>{
         // 主诉通用症状描述
-        if(v.id==config.tongYId && v.value && !v.pos){tongYong = v.value;}
+        // if(v.id==config.tongYId && v.value && !v.pos){tongYong = v.value;}
+        // id会改变,故通过打标来获取flag=5
+        if(v.flag==5 && v.value && !v.pos){tongYong = v.value;}
         if(v.exist){v.exist==1?main.push(v):withs.push(v)}
         // 时间单位
         if(v.controlType==5&&v.value){