保誠-保戶業務員媒合平台
wayne
2022-02-17 34b08e1c461f5e08675fcff95525956d7c4bef11
PAMapp/store/index.ts
@@ -23,6 +23,13 @@
        return this.context.getters['localStorage/isUserLogin'];
    }
    get strictResultList(): AgentOfStrictQuery[] {
      const perfectMatchList = this.strictQueryList.filter((i) => i.suitability === 100);
      return perfectMatchList.length > 5
            ? perfectMatchList
            : this.strictQueryList;
    }
    @Mutation
    updateRecommend(data: Consultant[]) {
      this.recommendList = data;
@@ -35,7 +42,7 @@
    @Mutation
    updateStrictQueryList(data: AgentOfStrictQuery[]) {
        this.strictQueryList = data;
        this.strictQueryList = data.sort((a, b) => b.suitability - a.suitability);
    }
    @Mutation