From c99a662edbd0c23e5c88e8a1531f9b10af6539d8 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期五, 21 一月 2022 16:47:03 +0800 Subject: [PATCH] Fixed#134576 修正 [ 顧問管理流程 ] 未聯絡預約單資訊明細 : 應只顯示「傳送約訪通知」按鈕,目前畫面顯示結案、約訪紀錄、系統通知紀錄編輯 --- PAMapp/components/QuickFilter/QuickFilterConsultantList.vue | 31 +++++++++++++++++++------------ 1 files changed, 19 insertions(+), 12 deletions(-) diff --git a/PAMapp/components/QuickFilter/QuickFilterConsultantList.vue b/PAMapp/components/QuickFilter/QuickFilterConsultantList.vue index d76e739..71555ba 100644 --- a/PAMapp/components/QuickFilter/QuickFilterConsultantList.vue +++ b/PAMapp/components/QuickFilter/QuickFilterConsultantList.vue @@ -19,7 +19,7 @@ > <UiAvatar :size="200" - :fileName="item.img" + :agentNo="item.agentNo" class="mx-auto" @click.native="showAgentDetail(item.agentNo)" ></UiAvatar> @@ -80,14 +80,16 @@ </template> <script lang="ts"> +import { Consultant } from '~/shared/models/consultant.model'; import { ElCarousel } from 'element-ui/types/carousel'; +import { hideReviews } from '~/shared/const/hide-reviews'; import { Vue, Component, Prop } from 'vue-property-decorator'; -import { Consultant } from '~/assets/ts/models/consultant.model'; -import { hideReviews } from '~/assets/ts/const/hide-reviews'; @Component export default class QuickFilterConsultantList extends Vue { - @Prop() consultantList!: Consultant[]; + @Prop() + consultantList!: Consultant[]; + isVisiblePopUp = false; popUpTxt = '����憿批��'; startPosition = 0; @@ -95,6 +97,8 @@ startYPosition = 0; endYPosition = 0; hideReviews = hideReviews ; + + ////////////////////////////////////////////////////////////////// moveStart(event: TouchEvent) { this.startPosition = event.changedTouches[0].clientX; @@ -116,13 +120,7 @@ } } - nextCard() { - (this.$refs.carouselRef as ElCarousel).next(); - } - - prevCard() { - (this.$refs.carouselRef as ElCarousel).prev(); - } + ////////////////////////////////////////////////////////////////// openPopUp(txt: string) { this.popUpTxt = txt; @@ -132,6 +130,15 @@ showAgentDetail(agentNo: string): void { this.$router.push(`/agentInfo/${agentNo}`); } + + nextCard() { + (this.$refs.carouselRef as ElCarousel).next(); + } + + prevCard() { + (this.$refs.carouselRef as ElCarousel).prev(); + } + } </script> @@ -218,4 +225,4 @@ } } -</style> \ No newline at end of file +</style> -- Gitblit v1.8.0