From 1076fdc06d40646d1d6f125a3ce4d43cf4eac673 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期一, 06 十二月 2021 15:52:01 +0800
Subject: [PATCH] rename: change Consultants model to Consultant

---
 PAMapp/components/AddAndReservedBtns.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/PAMapp/components/AddAndReservedBtns.vue b/PAMapp/components/AddAndReservedBtns.vue
index 8a7b4e1..d88a444 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 '~/assets/ts/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();
         });

--
Gitblit v1.8.0