yq1 9 months ago
parent
commit
9d65deeaa7
1 changed files with 13 additions and 13 deletions
  1. 13 13
      src/xt_pages/dialysis/details/index.vue

+ 13 - 13
src/xt_pages/dialysis/details/index.vue View File

2096
         this.date = schedual.schedule_date
2096
         this.date = schedual.schedule_date
2097
          this.getScheduleDetail();
2097
          this.getScheduleDetail();
2098
         console.log('schedual',schedual);
2098
         console.log('schedual',schedual);
2099
-        this.getLongAdvice();
2100
-
2101
-        // var patient_id = schedual.patient_id
2102
-        // var date = schedual.schedule_date
2103
-        // this.$router.push({
2104
-        //   path: '/dialysis/details',
2105
-        //   query: {
2106
-        //     patient_id: patient_id,
2107
-        //     date: date,
2108
-        //     patient_name: schedual.patient.name,
2109
-        //     mode_id:schedual.mode_id
2110
-        //   }
2111
-        // })
2099
+        //this.getLongAdvice();
2100
+
2101
+        var patient_id = schedual.patient_id
2102
+        var date = schedual.schedule_date
2103
+        this.$router.push({
2104
+          path: '/dialysis/details',
2105
+          query: {
2106
+            patient_id: patient_id,
2107
+            date: date,
2108
+            patient_name: schedual.patient.name,
2109
+            mode_id:schedual.mode_id
2110
+          }
2111
+        })
2112
     },
2112
     },
2113
     handleClick(type) {
2113
     handleClick(type) {
2114
       sessionStorage.setItem('nameActive', type.name);
2114
       sessionStorage.setItem('nameActive', type.name);