From c20a0f1a1dbaa23d1b073f9a9377cac5d572f277 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期四, 23 十二月 2021 15:10:18 +0800 Subject: [PATCH] fixed TODO#131357 進行預約: 職業選擇畫面調整 --- PAMapp/components/AddAndReservedBtns.vue | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PAMapp/components/AddAndReservedBtns.vue b/PAMapp/components/AddAndReservedBtns.vue index 8a7b4e1..fa37c72 100644 --- a/PAMapp/components/AddAndReservedBtns.vue +++ b/PAMapp/components/AddAndReservedBtns.vue @@ -12,17 +12,17 @@ <script lang="ts"> import { Vue, Component, Prop, Emit, Action, State, namespace } from 'nuxt-property-decorator'; -import { Consultants } from '~/assets/ts/models/consultant.model'; +import { Consultant } from '~/shared/models/consultant.model'; const localStorage = namespace('localStorage'); @Component export default class AddAndReservedBtns extends Vue { - @Action addToMyConsultantList!: (consultantToAdd: Consultants) => Promise<boolean> - @State('myConsultantList') myConsultantList!: Consultants[]; - @Prop() agentInfo!: Consultants; + @Action addToMyConsultantList!: (consultantToAdd: Consultant) => Promise<boolean> + @State('myConsultantList') myConsultantList!: Consultant[]; + @Prop() agentInfo!: Consultant; @Prop() cusClass!: string; isVisiblePopUp = false; - addConsultant(item: Consultants) { + addConsultant(item: Consultant) { this.addToMyConsultantList(item).then(addOk => { addOk && this.openPopUp(); }); @@ -41,4 +41,4 @@ ? true : false } } -</script> \ No newline at end of file +</script> -- Gitblit v1.8.0