From eb9fd0b629ab14daebd492f67820b2fadc90de32 Mon Sep 17 00:00:00 2001 From: wanyongkang <937888580@qq.com> Date: Thu, 26 Nov 2020 17:23:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=B4=E6=8A=A4=E5=AE=A2=E6=88=B7=E5=9F=BA?= =?UTF-8?q?=E6=9C=AC=E5=AE=8C=E5=96=84---=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/user/statistics.vue | 56 +++++++++++++++++++++++++----- 1 file changed, 48 insertions(+), 8 deletions(-) diff --git a/src/components/user/statistics.vue b/src/components/user/statistics.vue index 2f5f0d5..47696e4 100644 --- a/src/components/user/statistics.vue +++ b/src/components/user/statistics.vue @@ -149,7 +149,7 @@ + width="50%"> + + - 取 消 @@ -185,16 +186,15 @@ title="消费记录" :visible.sync="cost_fall" v-loading="cost_loading" - width="50%"> + width="70%"> + - - - - + + @@ -276,7 +276,8 @@ export default { label: '本月消费' }], sell_detail: {}, - sell_detail_month: null + sell_detail_month: null, + temps: null } }, created () { @@ -333,6 +334,7 @@ export default { }) }, click_follow_status (row) { + this.temps = row this.clickOk = false this.follow_status_change_fall = true this.set_follow_status.status = row.follow_status @@ -350,6 +352,7 @@ export default { }) return } + this.temps.follow_status = this.setStatus(this.set_follow_status.status) this.clickOk = true this.$api.post(this.$api.phpURL + 'manager/UserFollow/changeFolowStatus', {data: this.set_follow_status}).then(res => { this.follow_status_change_fall = false @@ -377,6 +380,43 @@ export default { this.account_loading = false }) }, + setStatus (status) { + switch (status) { + case 1: + return '待跟进-未购买' + + case 2: + return '跟进超时-未购买' + + case 3: + return '待跟进-消费减少' + + case 4: + return '跟进超时-消费减少' + + case 5: + return '流失-需求减少' + + case 6: + return '流失-暂时不用' + + case 7: + return '流失-价格问题' + + case 8: + return '流失-产品问题' + + case 9: + return '流失-也可自定义' + + case 10: + return '高意向客户' + + case 11: + return '已完成' + + } + }, dataExport () { this.$api.getDownloadFile('/course/v1/order/ExportUserConsumeStatistics', this.searchModel) }