Browse Source

Merge branch 'master' of http://git.shengws.com/csx/Pad_New

See999 4 years ago
parent
commit
fbbd4f1490
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/pages/doctorAdvice/index.vue

+ 5 - 2
src/pages/doctorAdvice/index.vue View File

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
   <div class="page_doctorAdvice">
3 3
     <div class="doctorAdviceTitle">
4
-      <i class="iconfont icon-zuojiantou jiantou" @click="$router.go(-1)"></i>
4
+      <i class="iconfont icon-zuojiantou jiantou" @click="toReturn"></i>
5 5
       <div class="patientName" @click="show = true">
6 6
         {{ patientName }}
7 7
         <van-icon name="arrow-down" />
@@ -542,7 +542,7 @@ export default {
542 542
           var id = this.patient[i].id;
543 543
           this.show = false;
544 544
           this.$router.push(
545
-            "/patientdetail?patientid=" + id + "&active=" + this.active
545
+            "/patientdetail?patientid=" + id + "&seacherActive=" + this.active
546 546
           );
547 547
           this.patientName = this.value;
548 548
           this.reload();
@@ -551,6 +551,9 @@ export default {
551 551
     },
552 552
     toEditPatient() {
553 553
       this.$router.push("/editPatient?patientid=" + this.patient_id);
554
+    },
555
+    toReturn() {
556
+      this.$router.push("/patients");
554 557
     }
555 558
   },
556 559
   created() {