From fd800397a9cfed6490a04c616e5e3e360234b22c Mon Sep 17 00:00:00 2001 From: charlie <charlie@lvguanqingdeMacBook-Pro.local> Date: 星期五, 21 一月 2022 18:20:30 +0800 Subject: [PATCH] Fixed:修正顧問結案頁面的驗證條件(移除備註required) --- PAMapp/components/QuickFilter/QuickFilterConsultantList.vue | 30 ++++++++++++++++++------------ 1 files changed, 18 insertions(+), 12 deletions(-) diff --git a/PAMapp/components/QuickFilter/QuickFilterConsultantList.vue b/PAMapp/components/QuickFilter/QuickFilterConsultantList.vue index de08434..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 { ElCarousel } from 'element-ui/types/carousel'; -import { Vue, Component, Prop } from 'vue-property-decorator'; 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'; @Component export default class QuickFilterConsultantList extends Vue { - @Prop() consultantList!: Consultant[]; + @Prop() + consultantList!: Consultant[]; + isVisiblePopUp = false; popUpTxt = '����憿批��'; startPosition = 0; @@ -96,14 +98,7 @@ endYPosition = 0; hideReviews = hideReviews ; - openPopUp(txt: string) { - this.popUpTxt = txt; - this.isVisiblePopUp = true; - } - - showAgentDetail(agentNo: string): void { - this.$router.push(`/agentInfo/${agentNo}`); - } + ////////////////////////////////////////////////////////////////// moveStart(event: TouchEvent) { this.startPosition = event.changedTouches[0].clientX; @@ -125,6 +120,17 @@ } } + ////////////////////////////////////////////////////////////////// + + openPopUp(txt: string) { + this.popUpTxt = txt; + this.isVisiblePopUp = true; + } + + showAgentDetail(agentNo: string): void { + this.$router.push(`/agentInfo/${agentNo}`); + } + nextCard() { (this.$refs.carouselRef as ElCarousel).next(); } -- Gitblit v1.8.0