From e948cce0229a9322c051347237e785ff45a4e071 Mon Sep 17 00:00:00 2001 From: Caps <452713115@qq.com> Date: Wed, 22 Apr 2020 13:49:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/shop/IncreaseDataCompany.vue | 20 ++++++++++++++------ src/pages/shop/IncreaseDataStaff.vue | 6 +++--- src/pages/shop/IncreaseDataStore.vue | 8 ++++---- src/pages/user/AccountManager.vue | 12 ++++++------ src/pages/user/AccountManagerAdd.vue | 8 +++++--- 5 files changed, 32 insertions(+), 22 deletions(-) diff --git a/src/pages/shop/IncreaseDataCompany.vue b/src/pages/shop/IncreaseDataCompany.vue index 01585f3..8c83ac7 100644 --- a/src/pages/shop/IncreaseDataCompany.vue +++ b/src/pages/shop/IncreaseDataCompany.vue @@ -59,7 +59,7 @@ key: 'allCustomer' }, { - title: '有效好友总数', + title: '总好友数(去重)', key: 'effectiveCustomer' }, { @@ -67,15 +67,15 @@ key: 'newCustomer' }, { - title: '新增有效好友数', + title: '新增好友数(去重)', key: 'newEffectiveCustomer' }, { - title: '日增有效好友平均', + title: '日增好友平均(去重)', key: 'avgNewCustomer' }, { - title: '删除/拉黑成员好友数(累计)', + title: '删除/拉黑成员客户数(累计)', key: 'delCustomer' }, { @@ -116,7 +116,10 @@ return; } if (data.code === '0000') { - that.companyList = data.results; + that.companyList.push({id:'-1',name:"全部"}); + data.results.forEach(da => { + that.companyList.push(da); + }) } }) }, @@ -125,10 +128,15 @@ this.$Message.info("请选择日期"); return } + debugger + let orgId = this.selectedCompany; + if(this.selectedCompany === '-1'){ + orgId = null; + } let request = { startTime: this.selectDate[0], endTime: this.selectDate[1], - orgId: this.selectedCompany, + orgId: orgId, pageNum: this.pageNum, pageSize: this.pageSize }; diff --git a/src/pages/shop/IncreaseDataStaff.vue b/src/pages/shop/IncreaseDataStaff.vue index 60e973a..0ca369f 100644 --- a/src/pages/shop/IncreaseDataStaff.vue +++ b/src/pages/shop/IncreaseDataStaff.vue @@ -95,7 +95,7 @@ key: 'allCustomer' }, { - title: '有效好友总数', + title: '总好友数(去重)', key: 'effectiveCustomer' }, { @@ -103,11 +103,11 @@ key: 'newCustomer' }, { - title: '新增有效好友数', + title: '新增好友数(去重)', key: 'newEffectiveCustomer' }, { - title: '日增有效好友平均', + title: '日增好友平均(去重)', key: 'avgNewCustomer' } ], diff --git a/src/pages/shop/IncreaseDataStore.vue b/src/pages/shop/IncreaseDataStore.vue index 28616b6..e92cdf1 100644 --- a/src/pages/shop/IncreaseDataStore.vue +++ b/src/pages/shop/IncreaseDataStore.vue @@ -76,7 +76,7 @@ key: 'allCustomer' }, { - title: '有效好友总数', + title: '总好友数(去重)', key: 'effectiveCustomer' }, { @@ -84,15 +84,15 @@ key: 'newCustomer' }, { - title: '新增有效好友数', + title: '新增好友数(去重)', key: 'newEffectiveCustomer' }, { - title: '日增有效好友平均', + title: '日增好友平均(去重)', key: 'avgNewCustomer' }, { - title: '删除/拉黑成员好友数(累计)', + title: '删除/拉黑成员客户数(累计)', key: 'delCustomer' }, { diff --git a/src/pages/user/AccountManager.vue b/src/pages/user/AccountManager.vue index 217665e..ea9a456 100644 --- a/src/pages/user/AccountManager.vue +++ b/src/pages/user/AccountManager.vue @@ -18,9 +18,9 @@ - + + +