see999 3 gadus atpakaļ
vecāks
revīzija
df54309aa9

+ 7 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderThirtySix.vue Parādīt failu

1143
   methods: {
1143
   methods: {
1144
     getBloodFlow(id){
1144
     getBloodFlow(id){
1145
         let BloodFlowOptions = getDataConfig('hemodialysis', 'blood_flow')
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
     getComplication(complication){
1154
     getComplication(complication){
1152
         if(complication.indexOf(',') == -1){
1155
         if(complication.indexOf(',') == -1){