保誠-保戶業務員媒合平台
HelenHuang
2022-06-09 9bdb95c9e34cef640534e5e5a1e2225a80442000
PAMapp/components/Consultant/ConsultantList.vue
@@ -1,6 +1,5 @@
<template>
    <div>
        <template v-if="agentList.length > 0">
            <ConsultantCard
                v-for="(agent, index) in agentList"
@@ -23,10 +22,9 @@
</template>
<script lang="ts">
import { Vue, Component, Prop } from 'nuxt-property-decorator';
import authService from '~/shared/services/auth.service';
import { Consultant } from '~/shared/models/consultant.model';
import { Vue, Component, Prop } from 'nuxt-property-decorator';
import authService from '~/shared/services/auth.service';
@Component
export default class ConsultantList extends Vue {
@@ -38,6 +36,8 @@
    isUserLogin = false;
    //////////////////////////////////////////////////////////////////////
    get agentList(){
      return this.agents.map((agentDto)=>
          ({...agentDto,customerScore:0,})