跳转补充

main
xuechunyuan 3 years ago
parent 841ae6f79c
commit 1a091c77fe
  1. 2
      src/views/Guidance.vue
  2. 8
      src/views/HomeView.vue

@ -53,7 +53,7 @@ export default {
} }
else { else {
// //
this.$router.push({ name: '', params: {} }) this.$router.push({ name: 'examination' })
} }
}, },
// //

@ -38,7 +38,7 @@
</div> </div>
</div> </div>
<div class="act_box"> <div class="act_box">
<div @click="testAlert" class="act_btn">我的预约</div> <div @click="goMyBook" class="act_btn">我的预约</div>
</div> </div>
<!-- 阅读须知 --> <!-- 阅读须知 -->
<!-- <GuidanceVue @doCancelGuide="doCancelGuide" v-if="guideShow"></GuidanceVue> --> <!-- <GuidanceVue @doCancelGuide="doCancelGuide" v-if="guideShow"></GuidanceVue> -->
@ -74,6 +74,10 @@ export default {
} }
}, },
methods: { methods: {
//
goMyBook() {
this.$router.push({ name: 'MyExam' });
},
testAlert() { testAlert() {
lightAppJssdk.notification.alert({ lightAppJssdk.notification.alert({
message: "这是一个弹窗", message: "这是一个弹窗",
@ -94,7 +98,7 @@ export default {
// //
doGuidance() { doGuidance() {
// this.guideShow = true; // this.guideShow = true;
this.$router.push({name:'guidance',query:{deptId:1}}) this.$router.push({ name: 'guidance', query: { deptId: 1 } })
}, },
} }
}; };

Loading…
Cancel
Save