保誠-保戶業務員媒合平台
Mila
2021-12-13 ae881cc8d8c73dc7c42c78c2b0790294d1164e25
Merge branch 'master' of https://192.168.0.10:8443/r/pcalife/PAM
修改2個檔案
4 ■■■■ 已變更過的檔案
PAMapp/pages/index.vue 2 ●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/pages/myConsultantList.vue 2 ●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
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)
    }
PAMapp/pages/myConsultantList.vue
@@ -69,7 +69,7 @@
    filterContactedList() {
        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 );
        this.contactedList = (this.myConsultantList || [])
                .filter(item => item.contactStatus === 'contacted')