From a8ea0e4b2620225abbc2c6306a9db42664745c67 Mon Sep 17 00:00:00 2001 From: qsh <> Date: Tue, 8 Oct 2024 16:31:21 +0800 Subject: [PATCH 1/3] sc --- src/api/home/reportSignRate.js | 5 ++ src/router/modules/remaining.ts | 42 ++++++------ src/views/Home/CloseRate.vue | 111 +++++++++++++++++++++++++++++++- 3 files changed, 135 insertions(+), 23 deletions(-) create mode 100644 src/api/home/reportSignRate.js diff --git a/src/api/home/reportSignRate.js b/src/api/home/reportSignRate.js new file mode 100644 index 0000000..3ceb4af --- /dev/null +++ b/src/api/home/reportSignRate.js @@ -0,0 +1,5 @@ +import request from '@/config/axios' +// 线索情况 +export const getList = async (data) => { + return await request.post({ url: '/admin-api/crm/sch-clue/signRate/report', data }) +} diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index a6b5036..85ab24e 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -130,27 +130,27 @@ const remainingRouter: AppRouteRecordRaw[] = [ // } // ] // }, - // { - // path: '/Basic', - // component: Layout, - // name: 'Basic', - // meta: {}, - // redirect: '/Basic/menu', - // children: [ - // { - // path: 'menu', - // component: () => import('@/views/Basic/Menu/index.vue'), - // name: 'Menu', - // meta: { - // canTo: true, - // hidden: true, - // noTagsView: false, - // icon: 'ep:user', - // title: '菜单管理' - // } - // } - // ] - // }, + { + path: '/Basic', + component: Layout, + name: 'Basic', + meta: { title: '菜单管理' }, + redirect: '/Basic/menu', + children: [ + { + path: 'menu', + component: () => import('@/views/Basic/Menu/index.vue'), + name: 'Menu', + meta: { + canTo: true, + hidden: true, + noTagsView: false, + icon: 'ep:user', + title: '菜单管理' + } + } + ] + }, { path: '/login', component: () => import('@/views/Login/Login.vue'), diff --git a/src/views/Home/CloseRate.vue b/src/views/Home/CloseRate.vue index c8876d0..f873d6c 100644 --- a/src/views/Home/CloseRate.vue +++ b/src/views/Home/CloseRate.vue @@ -1,7 +1,114 @@ - + From 41c20623d457aa0829e4c8a83a57ef0ddaa7c65d Mon Sep 17 00:00:00 2001 From: qsh <> Date: Tue, 8 Oct 2024 18:08:22 +0800 Subject: [PATCH 2/3] cc --- src/api/home/reportChannel.js | 4 + src/api/home/reportSignRate.js | 1 - src/router/modules/remaining.ts | 42 +++--- src/views/Home/ChannelReport.vue | 140 ++++++++++++++++++ src/views/Home/CloseRate.vue | 2 +- .../Home/{channel.vue => SignReport.vue} | 2 +- 6 files changed, 167 insertions(+), 24 deletions(-) create mode 100644 src/api/home/reportChannel.js create mode 100644 src/views/Home/ChannelReport.vue rename src/views/Home/{channel.vue => SignReport.vue} (76%) diff --git a/src/api/home/reportChannel.js b/src/api/home/reportChannel.js new file mode 100644 index 0000000..0e1d268 --- /dev/null +++ b/src/api/home/reportChannel.js @@ -0,0 +1,4 @@ +import request from '@/config/axios' +export const getList = async (data) => { + return await request.post({ url: '/admin-api/crm/sch-clue/clueQuality/report', data }) +} diff --git a/src/api/home/reportSignRate.js b/src/api/home/reportSignRate.js index 3ceb4af..0b515fe 100644 --- a/src/api/home/reportSignRate.js +++ b/src/api/home/reportSignRate.js @@ -1,5 +1,4 @@ import request from '@/config/axios' -// 线索情况 export const getList = async (data) => { return await request.post({ url: '/admin-api/crm/sch-clue/signRate/report', data }) } diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 85ab24e..13f762a 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -130,27 +130,27 @@ const remainingRouter: AppRouteRecordRaw[] = [ // } // ] // }, - { - path: '/Basic', - component: Layout, - name: 'Basic', - meta: { title: '菜单管理' }, - redirect: '/Basic/menu', - children: [ - { - path: 'menu', - component: () => import('@/views/Basic/Menu/index.vue'), - name: 'Menu', - meta: { - canTo: true, - hidden: true, - noTagsView: false, - icon: 'ep:user', - title: '菜单管理' - } - } - ] - }, + // { + // path: '/Basic', + // component: Layout, + // name: 'Basic', + // meta: { title: '菜单管理' }, + // redirect: '/Basic/menu', + // children: [ + // { + // path: 'menu', + // component: () => import('@/views/Basic/Menu/index.vue'), + // name: 'Menu', + // meta: { + // canTo: true, + // hidden: true, + // noTagsView: false, + // icon: 'ep:user', + // title: '菜单管理' + // } + // } + // ] + // }, { path: '/login', component: () => import('@/views/Login/Login.vue'), diff --git a/src/views/Home/ChannelReport.vue b/src/views/Home/ChannelReport.vue new file mode 100644 index 0000000..c38c3b2 --- /dev/null +++ b/src/views/Home/ChannelReport.vue @@ -0,0 +1,140 @@ + + + + + diff --git a/src/views/Home/CloseRate.vue b/src/views/Home/CloseRate.vue index f873d6c..aa9aa68 100644 --- a/src/views/Home/CloseRate.vue +++ b/src/views/Home/CloseRate.vue @@ -21,7 +21,7 @@ - + -
+
成交报表
From 2406bcb8e4400f1114910f500ef8a365fcc782cd Mon Sep 17 00:00:00 2001 From: qsh <> Date: Wed, 9 Oct 2024 16:38:49 +0800 Subject: [PATCH 3/3] sc --- src/api/home/reportSignDetail.js | 8 + src/views/Home/ChannelReport.vue | 127 ++-------------- src/views/Home/Comp/ChannelMonthly.vue | 147 +++++++++++++++++++ src/views/Home/Comp/ChannelPeriod.vue | 160 ++++++++++++++++++++ src/views/Home/Comp/SignListCard.vue | 105 +++++++++++++ src/views/Home/Comp/SignTotalCard.vue | 195 +++++++++++++++++++++++++ src/views/Home/SignReport.vue | 10 +- 7 files changed, 634 insertions(+), 118 deletions(-) create mode 100644 src/api/home/reportSignDetail.js create mode 100644 src/views/Home/Comp/ChannelMonthly.vue create mode 100644 src/views/Home/Comp/ChannelPeriod.vue create mode 100644 src/views/Home/Comp/SignListCard.vue create mode 100644 src/views/Home/Comp/SignTotalCard.vue diff --git a/src/api/home/reportSignDetail.js b/src/api/home/reportSignDetail.js new file mode 100644 index 0000000..71b6667 --- /dev/null +++ b/src/api/home/reportSignDetail.js @@ -0,0 +1,8 @@ +import request from '@/config/axios' +export const getInfo = async (data) => { + return await request.post({ url: '/admin-api/crm/sch-clue/signData/report/one', data }) +} + +export const getList = async (data) => { + return await request.post({ url: '/admin-api/crm/sch-clue/signData/report/two', data }) +} diff --git a/src/views/Home/ChannelReport.vue b/src/views/Home/ChannelReport.vue index c38c3b2..d541869 100644 --- a/src/views/Home/ChannelReport.vue +++ b/src/views/Home/ChannelReport.vue @@ -1,82 +1,28 @@ diff --git a/src/views/Home/Comp/ChannelMonthly.vue b/src/views/Home/Comp/ChannelMonthly.vue new file mode 100644 index 0000000..6411d27 --- /dev/null +++ b/src/views/Home/Comp/ChannelMonthly.vue @@ -0,0 +1,147 @@ + + + + + diff --git a/src/views/Home/Comp/ChannelPeriod.vue b/src/views/Home/Comp/ChannelPeriod.vue new file mode 100644 index 0000000..7da3810 --- /dev/null +++ b/src/views/Home/Comp/ChannelPeriod.vue @@ -0,0 +1,160 @@ + + + + + diff --git a/src/views/Home/Comp/SignListCard.vue b/src/views/Home/Comp/SignListCard.vue new file mode 100644 index 0000000..fb9e77d --- /dev/null +++ b/src/views/Home/Comp/SignListCard.vue @@ -0,0 +1,105 @@ + + + + + diff --git a/src/views/Home/Comp/SignTotalCard.vue b/src/views/Home/Comp/SignTotalCard.vue new file mode 100644 index 0000000..c7d3bcb --- /dev/null +++ b/src/views/Home/Comp/SignTotalCard.vue @@ -0,0 +1,195 @@ + + + + + diff --git a/src/views/Home/SignReport.vue b/src/views/Home/SignReport.vue index b780bce..c65aab5 100644 --- a/src/views/Home/SignReport.vue +++ b/src/views/Home/SignReport.vue @@ -1,7 +1,13 @@ - +