保誠-保戶業務員媒合平台
HelenHuang
2022-06-09 ab4e8129d5c94ff96e6c85d0d2b66a04a052b4e5
PAMapp/pages/recommendConsultant/index.vue
@@ -19,7 +19,7 @@
    </div>
    <div class="pam-paragraph">
      <div class="pb-10 mdTxt required">
        想要詢問的問題
        想了解的領域
        <span class="hint text--bold">
          (可複選)
        </span>
@@ -42,7 +42,7 @@
    </div>
    <div class="pam-paragraph">
      <div class="rec-popular">
        <div class="pb-10 mdTxt">熱門檢索</div>
        <div class="pb-10 mdTxt">熱搜關鍵字</div>
        <div class="hint text--bold ml-10">(可複選)</div>
      </div>
      <div class="rec-pop-container">
@@ -61,7 +61,7 @@
    <PopUpFrame :isOpen.sync="showDialog">
      <div class="qaTextTitle mdTxt">
        <strong>想要詢問的問題</strong>
        <strong>想了解的領域</strong>
      </div>
      <div class="qa-dialog">
        <div v-for="(qaText,index) in queaAboutList"
@@ -95,12 +95,14 @@
  import { StrictQueryDto } from "~/shared/models/strictQueryDto.model";
  import { Gender } from "~/shared/models/enum/Gender";
  import { Seniority } from "~/shared/models/enum/seniority";
  import { hideReviews } from '~/shared/const/hide-reviews';
  const localStorage = namespace('localStorage');
  @Component
  export default class RecommendConsultant extends Vue {
    isVisiblePopUp = false;
    hideReviews = hideReviews;
    strictQueryDto: StrictQueryDto = {
      gender: '',
      area: '',
@@ -148,12 +150,12 @@
    ];
    seniorityOptions = [{
        title: '不限',
        subTitle: '年齡不是問題',
        subTitle: '經歷不是問題',
        label: Seniority.UNLIMITED,
      },
      {
        title: '年輕',
        subTitle: '給年輕人一個機會',
        title: '新星',
        subTitle: '熱情活力滿點',
        label: Seniority.YOUNG,
      },
      {
@@ -238,7 +240,10 @@
    //////////////////////////////////////////////////////////////////////
    mounted() {
      if (!!this.recommendConsultantItem) {
        this.strictQueryDto = JSON.parse(this.recommendConsultantItem);
        this.strictQueryDto = {
          ...this.strictQueryDto,
          ...JSON.parse(this.recommendConsultantItem)
        };
      }
    }