Commit 14d33c37 by 李伟康

修复BUG

1 parent fa89afd9
......@@ -154,12 +154,14 @@ 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)
let { list } = await this.$apis.journey.getCustomersList(params)
list.length && list.map(e => e.day = dayjs().diff(dayjs(e.sopJourneyStageEnterTime), 'day'))
if (sopJourneyStage && sopJourneyStage != k.value) list = []
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!