See999 hace 5 años
padre
commit
9aeb0c9f6c

+ 9 - 1
src/pages/main/dialog/PrescriptionDialog.vue Ver fichero

@@ -2781,7 +2781,15 @@ export default {
2781 2781
     this.anticoagulantsConfit = arrFour
2782 2782
 
2783 2783
     this.bodyFluidOptions = this.$store.getters.body_fluid
2784
-    this.specialMedicineOptions = this.$store.getters.special_medicine
2784
+    var special_medicine = [
2785
+        {id: 1,name: '无'},
2786
+        {id: 2,name: '降压药'},
2787
+        {id: 3,name: '抗凝'},
2788
+        {id: 4,name: '其他'},
2789
+        {id: 5,name: '降糖药'}
2790
+      ]
2791
+    this.specialMedicineOptions = special_medicine
2792
+    // this.specialMedicineOptions = this.$store.getters.special_medicine
2785 2793
     this.displaceLiquiPartOptions = this.$store.getters.displace_liqui
2786 2794
     this.bloodAccessOptions = this.$store.getters.blood_access
2787 2795
 

+ 8 - 1
src/pages/main/today/dialysisPrescription.vue Ver fichero

@@ -424,7 +424,14 @@ export default {
424 424
       if (id == 0) {
425 425
         return ''
426 426
       }
427
-      var special_medicine = this.$store.getters.special_medicine
427
+      // var special_medicine = this.$store.getters.special_medicine
428
+      var special_medicine = [
429
+        {id: 1,name: '无'},
430
+        {id: 2,name: '降压药'},
431
+        {id: 3,name: '抗凝'},
432
+        {id: 4,name: '其他'},
433
+        {id: 5,name: '降糖药'}
434
+      ]
428 435
       for (let i = 0; i < special_medicine.length; i++) {
429 436
         if (special_medicine[i].id == id) {
430 437
           return special_medicine[i].name