Przeglądaj źródła

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN 3 lat temu
rodzic
commit
bee058cf42

+ 7 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderThirtySix.vue Wyświetl plik

@@ -1143,10 +1143,13 @@ export default {
1143 1143
   methods: {
1144 1144
     getBloodFlow(id){
1145 1145
         let BloodFlowOptions = getDataConfig('hemodialysis', 'blood_flow')
1146
-        console.log('BloodFlowOptions',BloodFlowOptions)
1147
-        if (id in BloodFlowOptions) {
1148
-            return BloodFlowOptions[id].name
1149
-        }
1146
+        let name = ''
1147
+        BloodFlowOptions.map(item => {
1148
+          if(item.id == id){
1149
+            name = item.name
1150
+          }
1151
+        })
1152
+        return name
1150 1153
     },
1151 1154
     getComplication(complication){
1152 1155
         if(complication.indexOf(',') == -1){