XMLWAN 4 lat temu
rodzic
commit
376b42dba7
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      src/xt_pages/user/components/EditGroupAdvice.vue

+ 4 - 1
src/xt_pages/user/components/EditGroupAdvice.vue Wyświetl plik

@@ -2408,7 +2408,7 @@ export default {
2408 2408
     //
2409 2409
     getSelfMedicalList(){
2410 2410
         const params = {
2411
-          patient_id:this.$route.query.patient_id
2411
+          patient_id:this.patientID
2412 2412
         }
2413 2413
       getSelfMedicalList(params).then(response=>{
2414 2414
          if (response.data.state == 1) {
@@ -2453,6 +2453,7 @@ export default {
2453 2453
                 obj.custom_id = this.rand(10000000, 99999999)
2454 2454
                 obj.drug_specs = medicalList[i].drug_specs
2455 2455
                 this.all_drug.push(obj)
2456
+
2456 2457
               }
2457 2458
             }
2458 2459
 
@@ -2488,6 +2489,7 @@ export default {
2488 2489
                 obj.custom_id = this.rand(10000000, 99999999)
2489 2490
                 obj.drug_specs = base_drug_list[i].drug_specs
2490 2491
                 this.all_drug.push(obj)
2492
+                console.log("中2222222222222222222",this.all_drug)
2491 2493
               }
2492 2494
             }   
2493 2495
         })
@@ -2529,6 +2531,7 @@ export default {
2529 2531
     }
2530 2532
   },
2531 2533
   created(){
2534
+
2532 2535
     //获取自备药
2533 2536
      this.getSelfMedicalList()
2534 2537
   }