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
           (nowMonth < 10 ? '0' + nowMonth : nowMonth) +
126
           (nowMonth < 10 ? '0' + nowMonth : nowMonth) +
127
           '-' +
127
           '-' +
128
           (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
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
         this.schedule_date = this.$route.query.date
133
         this.schedule_date = this.$route.query.date
132
 
134
 
133
         if (this.dialysis_order.id == 0) {
135
         if (this.dialysis_order.id == 0) {