Explorar el Código

11月6日,检验检查

yq1 hace 1 semana
padre
commit
676578b325

+ 5 - 6
src/pages/doctorAdvice/components/new_Inspectiondetails.vue Ver fichero

@@ -195,7 +195,7 @@ export default {
195 195
     // 顶部返回
196 196
     toReturn(){
197 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 201
     getTime (time) {
@@ -314,11 +314,10 @@ export default {
314 314
       this.$router.push(
315 315
         {path:'/patientdetail?' +
316 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 322
     down (event) {
324 323
       this.flags = true

+ 9 - 1
src/pages/doctorAdvice/index.vue Ver fichero

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