diff --git a/src/api/home/reportChannel.js b/src/api/home/reportChannel.js new file mode 100644 index 0000000..3a66cc1 --- /dev/null +++ b/src/api/home/reportChannel.js @@ -0,0 +1,8 @@ +import request from '@/config/axios' +export const getList = async (data) => { + return await request.post({ url: '/admin-api/crm/sch-clue/clueQuality/report', data }) +} + +export const getPeriodList = async (data) => { + return await request.post({ url: '/admin-api/crm/sch-clue/clueQuality/period/report', data }) +} 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/api/home/reportSignRate.js b/src/api/home/reportSignRate.js new file mode 100644 index 0000000..0b515fe --- /dev/null +++ b/src/api/home/reportSignRate.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/signRate/report', data }) +} diff --git a/src/components/UploadFile/src/UploadFile.vue b/src/components/UploadFile/src/UploadFile.vue index a8442d5..9d104e7 100644 --- a/src/components/UploadFile/src/UploadFile.vue +++ b/src/components/UploadFile/src/UploadFile.vue @@ -47,7 +47,7 @@ const props = defineProps({ // fileType: propTypes.array.def(['doc', 'xls', 'ppt', 'txt', 'pdf']), // 文件类型, 例如['png', 'jpg', 'jpeg'] fileType: propTypes.array.def([]), accept: propTypes.string.def('*'), - fileSize: propTypes.number.def(5), // 大小限制(MB) + fileSize: propTypes.number.def(100), // 大小限制(MB) limit: propTypes.number.def(5), // 数量限制 autoUpload: propTypes.bool.def(true), // 自动上传 drag: propTypes.bool.def(false), // 拖拽上传 diff --git a/src/hooks/web/useMessage.ts b/src/hooks/web/useMessage.ts index ac2b552..e064b08 100644 --- a/src/hooks/web/useMessage.ts +++ b/src/hooks/web/useMessage.ts @@ -13,7 +13,12 @@ export const useMessage = () => { }, // 成功消息 success(content: string) { - ElMessage.success(content) + // ElMessage.success(content) + ElMessage({ + message: content, + duration: 1500, + type: 'success' + }) }, // 警告消息 warning(content: string) { diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index a6b5036..fdd7af5 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -106,7 +106,6 @@ const remainingRouter: AppRouteRecordRaw[] = [ } ] }, - // { // path: '/dict', // component: Layout, @@ -134,7 +133,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ // path: '/Basic', // component: Layout, // name: 'Basic', - // meta: {}, + // meta: { title: '菜单管理' }, // redirect: '/Basic/menu', // children: [ // { diff --git a/src/views/Home/ChannelReport.vue b/src/views/Home/ChannelReport.vue new file mode 100644 index 0000000..d541869 --- /dev/null +++ b/src/views/Home/ChannelReport.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/src/views/Home/CloseRate.vue b/src/views/Home/CloseRate.vue index c8876d0..aa9aa68 100644 --- a/src/views/Home/CloseRate.vue +++ b/src/views/Home/CloseRate.vue @@ -1,7 +1,114 @@ - + 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..5977f1e --- /dev/null +++ b/src/views/Home/Comp/ChannelPeriod.vue @@ -0,0 +1,169 @@ + + + + + diff --git a/src/views/Home/Comp/SignListCard.vue b/src/views/Home/Comp/SignListCard.vue new file mode 100644 index 0000000..253ce3b --- /dev/null +++ b/src/views/Home/Comp/SignListCard.vue @@ -0,0 +1,149 @@ + + + + + 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 new file mode 100644 index 0000000..c65aab5 --- /dev/null +++ b/src/views/Home/SignReport.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/views/Home/channel.vue b/src/views/Home/channel.vue deleted file mode 100644 index 082b0bf..0000000 --- a/src/views/Home/channel.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - - -