From 2f86b5f0c3ad47494886c5794542239bfa26850c Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期六, 15 七月 2023 17:42:11 +0800 Subject: [PATCH] Update#170413: [前端] 串接 /api/access_analysis/insert --- PAMapp/pages/index.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/PAMapp/pages/index.vue b/PAMapp/pages/index.vue index 30aa5ed..260a326 100644 --- a/PAMapp/pages/index.vue +++ b/PAMapp/pages/index.vue @@ -148,6 +148,7 @@ import { Vue, Component, State, Action, Watch, namespace } from 'nuxt-property-decorator'; import appointmentService from '~/shared/services/appointment.service'; + import utilService, {AccessFroms} from '~/shared/services/utils.service'; import reviewsService from '~/shared/services/reviews.service'; import UtilsService from '~/shared/services/utils.service'; import myConsultantService from '~/shared/services/my-consultant.service'; @@ -261,6 +262,9 @@ ////////////////////////////////////////////////////////////////////// mounted() { + if (this.$route.query.from) { + utilService.insertAccessFrom(this.$route.query.from as AccessFroms); + } if (this.isAdminLogin) { this.$router.push('/myAppointmentList/appointmentList'); } else { -- Gitblit v1.8.0