see999 4 年之前
父節點
當前提交
41df9f9340
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      src/xt_pages/dialysis/details/dialog/finish_dialog.vue

+ 4 - 2
src/xt_pages/dialysis/details/dialog/finish_dialog.vue 查看文件

@@ -126,8 +126,10 @@
126 126
           (nowMonth < 10 ? '0' + nowMonth : nowMonth) +
127 127
           '-' +
128 128
           (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
129
-
130
-        this.patient_id = this.$route.query.patient_id
129
+        if(this.$route.query.patient_id){
130
+          this.patient_id = this.$route.query.patient_id
131
+        }
132
+        
131 133
         this.schedule_date = this.$route.query.date
132 134
 
133 135
         if (this.dialysis_order.id == 0) {