XMLWAN 4 vuotta sitten
vanhempi
commit
b4362c3232

+ 4 - 2
src/xt_pages/dialysis/details/NavIgation.vue Näytä tiedosto

@@ -206,7 +206,7 @@ export default {
206 206
 
207 207
   data() {
208 208
     return {
209
-      temp_schedual: null
209
+      temp_schedual: {}
210 210
     };
211 211
   },
212 212
   mounted() {},
@@ -578,7 +578,9 @@ export default {
578 578
         system_prescribe
579 579
       );
580 580
 
581
-      // this.temp_schedual = schedual
581
+      this.temp_schedual = schedual
582
+
583
+      console.log("排班列表2222222222222222",schedual)
582 584
     },
583 585
 
584 586
     add_monitor: function(monitor) {

+ 3 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Näytä tiedosto

@@ -1593,7 +1593,7 @@
1593 1593
         return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
1594 1594
       },
1595 1595
       show(pre,schedual,last,his_is_open) {
1596
-
1596
+        
1597 1597
         if(his_is_open == 1){
1598 1598
           this.is_open = 0
1599 1599
         }
@@ -1632,9 +1632,9 @@
1632 1632
         // 入口
1633 1633
         var pre = pre
1634 1634
         console.log("香锅2222222",this.dialysisPrescription)
1635
-     
1635
+        console.log("列表2223323323223",this.schedual)
1636 1636
         this.dialysisPrescription.mode_id = this.$route.query.mode_id
1637
-        if (pre.mode_id == 2 || pre.mode_id == 5 || pre.mode_id == 12) {
1637
+        if (pre.mode_id == 2 || pre.mode_id == 5 || pre.mode_id == 12 || this.schedual.mode_id == 2 || this.schedual.mode_id == 5 || this.schedual.mode_id == 12) {
1638 1638
           this.zhiShow = true
1639 1639
           this.huShow = true
1640 1640
           this.totalShow = true