Commit 9f1d5abf by 怪兽?别跑

update

1 parent 85f27ef4
...@@ -14,28 +14,28 @@ ...@@ -14,28 +14,28 @@
<el-table-column <el-table-column
label="累计新增客户数" label="累计新增客户数"
align="center" align="center"
prop="newCustomerScanNumber" prop="addWeCustomerNumber"
min-width="100" min-width="100"
show-overflow-tooltip show-overflow-tooltip
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="累计活跃客户数" label="累计活跃客户数"
align="center" align="center"
prop="addCustomerNumber" prop="weCustomerActiveNumber"
min-width="100" min-width="100"
show-overflow-tooltip show-overflow-tooltip
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="今日新增客户数" label="今日新增客户数"
align="center" align="center"
prop="oldCustomerScanNumber" prop="tdAddWeCustomerNumber"
min-width="100" min-width="100"
show-overflow-tooltip show-overflow-tooltip
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="今日活跃客户数" label="今日活跃客户数"
align="center" align="center"
prop="lostCustomerNumber" prop="tdWeCustomerActiveNumber"
min-width="120" min-width="120"
show-overflow-tooltip show-overflow-tooltip
></el-table-column> ></el-table-column>
...@@ -138,10 +138,10 @@ ...@@ -138,10 +138,10 @@
}, },
getTabTotalFn() { getTabTotalFn() {
getTabData(this.id).then((res) => { getTabData(this.id).then((res) => {
this.cardData[0].value = res.data.tdNewCustomerScanNumber this.cardData[0].value = res.data.addWeCustomerNumber
this.cardData[1].value = res.data.tdAddCustomerNumber this.cardData[1].value = res.data.weCustomerActiveNumber
this.cardData[2].value = res.data.tdOldCustomerScanNumber this.cardData[2].value = res.data.tdAddWeCustomerNumber
this.cardData[3].value = res.data.tdLostCustomerNumber this.cardData[3].value = res.data.tdWeCustomerActiveNumber
}) })
}, },
getLineData(data) { getLineData(data) {
...@@ -154,8 +154,8 @@ ...@@ -154,8 +154,8 @@
if (res.data && res.data.length) { if (res.data && res.data.length) {
res.data.forEach((dd) => { res.data.forEach((dd) => {
this.xdata.push(dd.date) this.xdata.push(dd.date)
arr1.push(dd.newCustomerScanNumber) arr1.push(dd.addWeCustomerNumber)
arr2.push(dd.addCustomerNumber) arr2.push(dd.weCustomerActiveNumber)
}) })
this.series = [arr1, arr2] this.series = [arr1, arr2]
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!