|
@@ -18,9 +18,12 @@
|
18
|
18
|
<doctor-management v-if="active == 0"></doctor-management>
|
19
|
19
|
<long-dialysis v-if="active == 1"></long-dialysis>
|
20
|
20
|
<dialysis-record v-if="active == 2"></dialysis-record>
|
21
|
|
- <dry-weight v-if="active == 3"></dry-weight>
|
|
21
|
+ <dry-weight v-if="active == 3" :active="active"></dry-weight>
|
22
|
22
|
<inspection v-if="active == 4"></inspection>
|
23
|
|
- <course-management v-if="active == 5"></course-management>
|
|
23
|
+ <course-management
|
|
24
|
+ v-if="active == 5"
|
|
25
|
+ :active="active"
|
|
26
|
+ ></course-management>
|
24
|
27
|
<rescue-record v-if="active == 6"></rescue-record>
|
25
|
28
|
<scheduling v-if="active == 7"></scheduling>
|
26
|
29
|
<education v-if="active == 8"></education>
|
|
@@ -408,6 +411,9 @@ export default {
|
408
|
411
|
}
|
409
|
412
|
},
|
410
|
413
|
created() {
|
|
414
|
+ if (this.$route.query.active) {
|
|
415
|
+ this.active = parseInt(this.$route.query.active);
|
|
416
|
+ }
|
411
|
417
|
var patientid = this.$route.query.patientid;
|
412
|
418
|
console.log("patientid", patientid);
|
413
|
419
|
this.patient_id = patientid;
|
|
@@ -481,5 +487,13 @@ export default {
|
481
|
487
|
display: flex;
|
482
|
488
|
align-items: center;
|
483
|
489
|
}
|
|
490
|
+ .van-tabs__line {
|
|
491
|
+ background: #5b98ff;
|
|
492
|
+ }
|
|
493
|
+ .van-tabs__nav {
|
|
494
|
+ > div:nth-of-type(2) {
|
|
495
|
+ flex-basis: 28% !important;
|
|
496
|
+ }
|
|
497
|
+ }
|
484
|
498
|
}
|
485
|
499
|
</style>
|