Commit da0cb61b by 杨明

Merge branch 'v3.19.0' of http://192.168.3.233:8090/saas/scrm-micro-scene into v3.19.0

2 parents 3171f044 537237d4
......@@ -154,12 +154,21 @@ export default {
pageNumber: this.pageNumber
}
const stageList = this.stageList,
arr = []
arr = [],
{ sopJourneyStage } = params
for (let k of stageList) {
if (k.value) {
params.sopJourneyStage = k.value
const { list } = await this.$apis.journey.getCustomersList(params)
list.length && list.map(e => e.day = dayjs().diff(dayjs(e.sopJourneyStageEnterTime), 'day'))
let list = []
if (!sopJourneyStage || sopJourneyStage == k.value) {
const { list: apiList } = await this.$apis.journey.getCustomersList(params)
list = apiList
}
list.length &&
list.forEach((e) => {
e.day = dayjs().diff(dayjs(e.sopJourneyStageEnterTime), 'day')
})
arr.push({
title: k.label,
list
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!