保誠-保戶業務員媒合平台
Mila
2021-12-13 ae881cc8d8c73dc7c42c78c2b0790294d1164e25
PAMapp/pages/index.vue
@@ -66,7 +66,7 @@
    onMyConsultantListChange() {
      this.consultantList = (this.myConsultantList || [])
        .filter(item => item.contactStatus !== 'contacted')
        .map((item) => ({ ...item, formatDate: new Date(item.updateTime)}))
        .map((item) => ({ ...item, formatDate: new Date(item.updateTime || item.createTime)}))
        .sort((preItem, nextItem) => +nextItem.formatDate - +preItem.formatDate)
    }