PAMapp/components/Consultant/ConsultantList.vue | ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程 | |
PAMapp/pages/myConsultantList/consultantList.vue | ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程 | |
PAMapp/pages/myConsultantList/contactedList.vue | ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程 | |
PAMapp/pages/questionnaire/_agentNo.vue | ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程 | |
PAMapp/pages/recommendConsultant/index.vue | ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程 |
PAMapp/components/Consultant/ConsultantList.vue
@@ -10,7 +10,7 @@ </template> <template v-if="isUserLogin && agentList.length === 0"> <div class="emptyRowStyle"> <div class="smTxt txt">您目前無已聯絡顧問</div> <div class="smTxt txt">{{ noDataPlaceholder }}</div> </div> </template> <template v-if="!isUserLogin"> @@ -32,6 +32,7 @@ @Component export default class ConsultantList extends Vue { @Prop() agents!: Consultant[]; @Prop() title! : string; @roleStorage.Getter isUserLogin!:boolean; get agentList(){ @@ -40,6 +41,12 @@ ) } get noDataPlaceholder(): string { return this.title === 'contactedList' ? '您目前無已聯絡顧問' : '您目前無已選顧問'; } } </script> PAMapp/pages/myConsultantList/consultantList.vue
@@ -2,6 +2,7 @@ <div> <ConsultantList :agents="pageList" :title="'consultantList'" ></ConsultantList> <UiPagination PAMapp/pages/myConsultantList/contactedList.vue
@@ -2,6 +2,7 @@ <div> <ConsultantList :agents="pageList" :title="'contactedList'" ></ConsultantList> <UiPagination PAMapp/pages/questionnaire/_agentNo.vue
@@ -115,8 +115,8 @@ </PopUpFrame> <PopUpFrame :isOpen.sync="sendReserve" @update:isOpen="closeReservePopUp"> <div class="text--middle mt-30 sendReserve-txt">預約成功!您預約的保險顧問會</div> <div class="text--middle sendReserve-txt">儘速與您聯絡!</div> <div class="text--middle mt-30 sendReserve-txt">預約成功!</div> <div class="text--middle sendReserve-txt">您預約的顧問會儘速與您聯絡!</div> <div class="text--center mdTxt"> <el-button type="primary" @click="closeReservePopUp"> @@ -154,6 +154,7 @@ @State('myConsultantList') myConsultantList!: Consultant[]; @Action storeConsultantList!: () => Promise<number>; @roleStorage.Getter isUserLogin!:boolean; @roleStorage.State recommendConsultantItem!:string; genderOptions=[ { @@ -300,7 +301,7 @@ private setMyRequest(): void { const storageMyRequest = getRequestsFromStorage(); const storageMyQuestion = getRequestQuestionFromStorage(); const storageMyRequirement = this.recommendConsultantItem ? JSON.parse(this.recommendConsultantItem).requirements:[]; if (storageMyRequest) { this.myRequest = { @@ -314,10 +315,10 @@ }; } if (storageMyQuestion) { if (storageMyRequirement) { this.myRequest = { ...this.myRequest, requirement: storageMyQuestion requirement: storageMyRequirement } removeRequestQuestionFromStorage(); } PAMapp/pages/recommendConsultant/index.vue
@@ -96,7 +96,6 @@ } from 'nuxt-property-decorator'; import * as _ from 'lodash'; import { Seniority } from '~/assets/ts/models/enum/seniority'; import { setRequestQuestionToStorage } from '~/assets/ts/storageRequests'; const localStorage = namespace('localStorage'); @@ -242,8 +241,6 @@ } async makePair() { await this.storeStrictQueryList(this.strictQueryDto).then(dataLength => { const questions = this.strictQueryDto.requirements.length ? this.strictQueryDto.requirements : []; setRequestQuestionToStorage(questions); if (dataLength === 0) { this.isVisiblePopUp = true; return;