From 49a947e7bd01b3dee1c30509cd8f46a0ca9206a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”>
Date: Fri, 22 Mar 2024 11:25:09 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B7=9F=E8=BF=9B=E9=94=80=E5=94=AE=E8=AE=A2?=
=?UTF-8?q?=E5=8D=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/user/statistics.vue | 94 +++++++++++++++++++-----
src/components/user/statisticsrecord.vue | 15 ++--
2 files changed, 86 insertions(+), 23 deletions(-)
diff --git a/src/components/user/statistics.vue b/src/components/user/statistics.vue
index 8f7ee90..58d9f2e 100644
--- a/src/components/user/statistics.vue
+++ b/src/components/user/statistics.vue
@@ -25,16 +25,25 @@
跟进记录
号码拨号
+
+
+ {{sell_detail.cost_mogu}}|| {{sell_detail.cost_not_mogu}}
+
+
+
主动销售:
+
{{sell_detail.other_order_active}}|| {{sell_detail.mogu_order_active}}|| {{sell_detail.recharge_active}}|| {{sell_detail.http_active}}|| {{sell_detail.ros_active}}|| {{sell_detail.jinqiao_active}}
+
+
被动销售:
+
{{sell_detail.other_order_not_active}}|| {{sell_detail.mogu_order_not_active}}|| {{sell_detail.recharge_not_active}}|| {{sell_detail.http_not_active}}|| {{sell_detail.ros_not_active}}|| {{sell_detail.jinqiao_not_active}}
+
- {{sell_detail.cost_mogu}} ||
- {{sell_detail.cost_not_mogu}}
- {{sell_detail.sell_percent}} ||
- {{sell_detail.cost_percent}} ||
- {{sell_detail.cost_register}} ||
- {{sell_detail.cost_old_user}}
- {{sell_detail.com_cost}} ||
- {{sell_detail.com_percent}} ||
- {{sell_detail.today_new_user}} ||
+ {{sell_detail.sell_percent}}||
+ {{sell_detail.cost_percent}}||
+ {{sell_detail.cost_register}}||
+ {{sell_detail.cost_old_user}}
+ {{sell_detail.com_cost}}||
+ {{sell_detail.com_percent}}||
+ {{sell_detail.today_new_user}}||
{{sell_detail.refund}}
@@ -115,7 +124,7 @@
{{scope.row.UserName}}
-
拨号
+
@@ -176,6 +185,19 @@
:value="item.value">
+
+
+
+
+
+
+ 主动销售
+ 被动销售
+
-
+
+
+
+
{{scope.row.file}} 查看大图
@@ -341,7 +366,10 @@ export default {
old_status: null,
status: null,
remark: null,
- file:null
+ file:null,
+ product_type:'other_order',
+ sell_money:0,
+ sell_type:'0'
},
userinfo_fall: false,
phone_fall: false,
@@ -371,16 +399,42 @@ export default {
value: '选项1',
label: '黄金糕'
}],
- manager: 0,
- isroot:false
+ manager: 0,
+ isroot:false,
+ product_type_list:[
+ {
+ value: 'other_order',
+ label: '其他IP产品订单'
+ },
+ {
+ value: 'mogu_order',
+ label: '蘑菇IP订单'
+ },
+ {
+ value: 'recharge',
+ label: 'IP充值'
+ },
+ {
+ value: 'http',
+ label: 'HTTP充值'
+ },
+ {
+ value: 'ros',
+ label: '软路由订单'
+ },
+ {
+ value: 'jinqiao',
+ label: '金桥投屏订单'
+ },
+ ]
}
},
created () {
this.$store.commit('setCurrentNav', '用户管理>>消费统计')
- this.get()
- this.sell_detail_info()
var currentUser = this.$local.getUserByCache()
this.isroot = currentUser.Manager.IsRootUser
+ this.get()
+ this.sell_detail_info()
if (this.isroot) {
this.manager_list()
}
@@ -388,7 +442,8 @@ export default {
methods: {
sell_detail_info () {
if (this.isroot) {
- this.$api.get(this.$api.phpURL + 'manager/SellInfo/getOne', {sell_month: this.sell_detail_month,manager_id: this.manager}).then(res => {
+ this.$api.get(this.$api.phpURL + 'manager/SellInfo/getOneManager', {sell_month: this.sell_detail_month,manager_id: this.manager}).then(res => {
+ // this.$api.get(this.$api.phpURL + 'manager/SellInfo/getOne', {sell_month: this.sell_detail_month,manager_id: this.manager}).then(res => {
this.sell_detail = res.data
})
} else {
@@ -488,6 +543,11 @@ export default {
this.follow_status_change_fall = false
this.follow_status_change_two = false
this.set_follow_status.id = null
+ if (res.Code == 30000) {
+ this.$alert(res.msg, '警告', {
+ confirmButtonText: '确定'
+ })
+ }
})
},
click_username (row) {
diff --git a/src/components/user/statisticsrecord.vue b/src/components/user/statisticsrecord.vue
index b2d4a87..8ce1bef 100644
--- a/src/components/user/statisticsrecord.vue
+++ b/src/components/user/statisticsrecord.vue
@@ -15,27 +15,30 @@
-
-
+
+
点击查看
-
+
{{scope.row.follow_status}}
-
+
+
+
+
{{scope.row.file}} 查看大图
-
-
+