From ae881cc8d8c73dc7c42c78c2b0790294d1164e25 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期一, 13 十二月 2021 11:07:35 +0800 Subject: [PATCH] Merge branch 'master' of https://192.168.0.10:8443/r/pcalife/PAM --- PAMapp/pages/myConsultantList.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/PAMapp/pages/myConsultantList.vue b/PAMapp/pages/myConsultantList.vue index 25fea68..cbe8844 100644 --- a/PAMapp/pages/myConsultantList.vue +++ b/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') -- Gitblit v1.8.0