diff --git a/src/api/sylive/groups-statistics/index.js b/src/api/sylive/groups-statistics/index.js
index 0c05c8f..0493853 100644
--- a/src/api/sylive/groups-statistics/index.js
+++ b/src/api/sylive/groups-statistics/index.js
@@ -68,6 +68,20 @@ export async function getGroupsStatisticsConsultant(params) {
return Promise.reject(new Error(res.data.message));
}
+/**
+ * 获取客户数据
+ * @param params 查询条件
+ */
+export async function getGroupsStatisticsCustomer(params) {
+ const res = await request.get('/sylive/groupsStatistics/customer', {
+ params
+ });
+ if (res.data.code === 0) {
+ return res.data.data;
+ }
+ return Promise.reject(new Error(res.data.message));
+}
+
/**
* 获取观看下单统计折线图数据
* @param params 查询条件
@@ -109,3 +123,17 @@ export async function exportGroupsStatisticsConsultant(params) {
}
return Promise.reject(new Error(res.data.message));
}
+
+/**
+ * 导出客户
+ * @param params 查询条件
+ */
+export async function exportGroupsStatisticsCustomer(params) {
+ const res = await request.get('/sylive/groupsStatistics/customer_export', {
+ params
+ });
+ if (res.data.code === 0) {
+ return res.data.data;
+ }
+ return Promise.reject(new Error(res.data.message));
+}
diff --git a/src/views/sylive/groups-statistics/components/customer-table.vue b/src/views/sylive/groups-statistics/components/customer-table.vue
new file mode 100644
index 0000000..aa06ad9
--- /dev/null
+++ b/src/views/sylive/groups-statistics/components/customer-table.vue
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/sylive/groups-statistics/index.vue b/src/views/sylive/groups-statistics/index.vue
index 5623b8a..37c7389 100644
--- a/src/views/sylive/groups-statistics/index.vue
+++ b/src/views/sylive/groups-statistics/index.vue
@@ -134,6 +134,7 @@
/>
+
@@ -154,6 +155,7 @@
import LevelTable from './components/level-table.vue';
import BizTable from './components/biz-table.vue';
import ConsultantTable from './components/consultant-table.vue';
+ import CustomerTable from './components/customer-table.vue';
import watchOrderLinechart from './components/watchOrder-linechart.vue';
use([CanvasRenderer, TooltipComponent, FunnelChart]);
@@ -165,6 +167,7 @@
LevelTable,
BizTable,
ConsultantTable,
+ CustomerTable,
watchOrderLinechart
},
mixins: [echartsMixin(['funnelChart'])],