Commit a0f6e7b7 by 李伟康

修复

1 parent deaa6af5
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<div class="data-view"> <div class="data-view">
<div class="title">旅程看板</div> <div class="title">旅程看板</div>
<div class="carousel-box"> <div class="carousel-box">
<template v-if="dataViewLoading">
<template v-if="viewList.length"> <template v-if="viewList.length">
<el-carousel <el-carousel
ref="carousel" ref="carousel"
...@@ -101,6 +102,7 @@ ...@@ -101,6 +102,7 @@
暂无数据 暂无数据
</div> </div>
</template> </template>
</template>
</div> </div>
</div> </div>
</template> </template>
...@@ -130,7 +132,7 @@ export default { ...@@ -130,7 +132,7 @@ export default {
rightIcon: require('@/assets/icon/right.png'), rightIcon: require('@/assets/icon/right.png'),
rightActiveIcon: require('@/assets/icon/right-active.png'), rightActiveIcon: require('@/assets/icon/right-active.png'),
pageNumber: 1, pageNumber: 1,
nothing nothing,
} }
}, },
mounted () { mounted () {
...@@ -162,6 +164,7 @@ export default { ...@@ -162,6 +164,7 @@ export default {
let list = [] let list = []
if (!sopJourneyStage || sopJourneyStage == k.value) { if (!sopJourneyStage || sopJourneyStage == k.value) {
this.dataViewLoading = false
const { list: apiList } = await this.$apis.journey.getCustomersList(params) const { list: apiList } = await this.$apis.journey.getCustomersList(params)
list = apiList list = apiList
} }
...@@ -176,7 +179,7 @@ export default { ...@@ -176,7 +179,7 @@ export default {
} }
} }
this.viewList = splitArrayIntoChunks(arr, 4) this.viewList = splitArrayIntoChunks(arr, 4)
this.dataViewLoading = false this.dataViewLoading = true
}, },
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!