Browse Source

11月6日,检验检查

yq1 1 week ago
parent
commit
676578b325

+ 5 - 6
src/pages/doctorAdvice/components/new_Inspectiondetails.vue View File

195
     // 顶部返回
195
     // 顶部返回
196
     toReturn(){
196
     toReturn(){
197
       this.$router.push(
197
       this.$router.push(
198
-        {path:"/patientdetail?patientid=" +this.patientid,query:{active:this.active} }
198
+        {path:"/patientdetail?patientid=" +this.patientid +'&seacherActive='+1,query:{active:this.active} }
199
       );
199
       );
200
     },
200
     },
201
     getTime (time) {
201
     getTime (time) {
314
       this.$router.push(
314
       this.$router.push(
315
         {path:'/patientdetail?' +
315
         {path:'/patientdetail?' +
316
           'patientid=' +
316
           'patientid=' +
317
-          this.patientid +
318
-          '&active=' +
319
-          4 +
320
-          '&restatus=' +
321
-          1,query:{id:this.blood_id,date:this.route_date,name:this.patient_name,}})
317
+          this.patientid + '&seacherActive=' + 1 + 
318
+          '&active=' + 4 + '&restatus=' +1,
319
+          query:{id:this.blood_id,date:this.route_date,name:this.patient_name,}
320
+        })
322
     },
321
     },
323
     down (event) {
322
     down (event) {
324
       this.flags = true
323
       this.flags = true

+ 9 - 1
src/pages/doctorAdvice/index.vue View File

61
         <device-management :active="active"></device-management>
61
         <device-management :active="active"></device-management>
62
       </van-tab>
62
       </van-tab>
63
     </van-tabs>
63
     </van-tabs>
64
+    <!-- 患者弹窗 -->
64
     <van-popup v-model="show" position="top" :style="{ height: '100%' }">
65
     <van-popup v-model="show" position="top" :style="{ height: '100%' }">
65
       <div
66
       <div
66
         style="padding:10px;font-size:1.25rem;text-align:right"
67
         style="padding:10px;font-size:1.25rem;text-align:right"
380
         }
381
         }
381
       })
382
       })
382
     },
383
     },
384
+    // 全部病人
383
     getBloodDialysisPatientTwo () {
385
     getBloodDialysisPatientTwo () {
384
       getBloodDialysisPatientTwo(this.page, this.limit).then(response => {
386
       getBloodDialysisPatientTwo(this.page, this.limit).then(response => {
385
         var patient = response.data.data.patient
387
         var patient = response.data.data.patient
474
         }
476
         }
475
       })
477
       })
476
     },
478
     },
479
+    // 
477
     getMemberPatient () {
480
     getMemberPatient () {
478
       getMemberPatient().then(response => {
481
       getMemberPatient().then(response => {
479
         if (response.data.state === 1) {
482
         if (response.data.state === 1) {
480
           var patient = response.data.data.patient
483
           var patient = response.data.data.patient
481
           this.patient = patient
484
           this.patient = patient
482
           let cityNameList = []
485
           let cityNameList = []
486
+          console.log('response.data.data12112康桥',response.data.data);
483
           for (let p in patient) {
487
           for (let p in patient) {
484
             cityNameList.push(patient[p].name)
488
             cityNameList.push(patient[p].name)
485
           }
489
           }
505
         }
509
         }
506
       })
510
       })
507
     },
511
     },
512
+    // 弹窗搜索
508
     onSearch (val) {
513
     onSearch (val) {
509
       ToSearch(val).then(response => {
514
       ToSearch(val).then(response => {
510
         if (response.data.state === 1) {
515
         if (response.data.state === 1) {
536
       })
541
       })
537
     },
542
     },
538
     onCancel () {},
543
     onCancel () {},
544
+    // 弹窗选中患者
539
     chooseCity (val) {
545
     chooseCity (val) {
540
       this.value = val
546
       this.value = val
541
       console.log('val',val);
547
       console.log('val',val);
544
           var id = this.patient[i].id
550
           var id = this.patient[i].id
545
           this.show = false
551
           this.show = false
546
           this.$router.push(
552
           this.$router.push(
547
-            '/patientdetail?patientid=' + id + '&seacherActive=' + this.active
553
+            '/patientdetail?patientid=' + id + '&seacherActive=' + 1 + '&active='+this.active
548
           )
554
           )
549
           this.patientName = this.value
555
           this.patientName = this.value
550
           this.reload()
556
           this.reload()
581
     this.patient_id = patientid
587
     this.patient_id = patientid
582
     this.getPatientDetail(patientid)
588
     this.getPatientDetail(patientid)
583
     var seacherActive = this.$route.query.seacherActive
589
     var seacherActive = this.$route.query.seacherActive
590
+    console.log('seacherActive',seacherActive);
591
+    
584
     if (seacherActive == 0) {
592
     if (seacherActive == 0) {
585
       this.getBloodDialysisPatientTwo()
593
       this.getBloodDialysisPatientTwo()
586
     }
594
     }