From 41c20623d457aa0829e4c8a83a57ef0ddaa7c65d Mon Sep 17 00:00:00 2001 From: qsh <> Date: Tue, 8 Oct 2024 18:08:22 +0800 Subject: [PATCH] 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 @@ - + -
+
成交报表