Commit 9ab0c7c0 by 杨明

fixed

1 parent 473ed145
...@@ -395,6 +395,7 @@ export default { ...@@ -395,6 +395,7 @@ export default {
//折线图数据 //折线图数据
async getChart() { async getChart() {
this.$apis.home.getChart({ day: 30, date: this.summaryTime }).then(res => { this.$apis.home.getChart({ day: 30, date: this.summaryTime }).then(res => {
if (res.custAddList && res.custAddList.length) {
const { custAddList, custEntmicroAdds, custLoseList } = res const { custAddList, custEntmicroAdds, custLoseList } = res
let custAddListData = custAddList.map(item => { let custAddListData = custAddList.map(item => {
return item.customerCount return item.customerCount
...@@ -499,6 +500,7 @@ export default { ...@@ -499,6 +500,7 @@ export default {
] ]
} }
this.getView() this.getView()
}
}) })
}, },
async getOpen() { async getOpen() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!