Commit 14d33c37 by 李伟康

修复BUG

1 parent fa89afd9
...@@ -154,12 +154,14 @@ export default { ...@@ -154,12 +154,14 @@ export default {
pageNumber: this.pageNumber pageNumber: this.pageNumber
} }
const stageList = this.stageList, const stageList = this.stageList,
arr = [] arr = [],
{ sopJourneyStage } = params
for (let k of stageList) { for (let k of stageList) {
if (k.value) { if (k.value) {
params.sopJourneyStage = 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')) list.length && list.map(e => e.day = dayjs().diff(dayjs(e.sopJourneyStageEnterTime), 'day'))
if (sopJourneyStage && sopJourneyStage != k.value) list = []
arr.push({ arr.push({
title: k.label, title: k.label,
list list
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!