From 1364cd5c217887b76505ebe8736d7fd7333afaaf Mon Sep 17 00:00:00 2001 From: JinxChen <2183691628@qq.com> Date: Thu, 8 Sep 2022 16:18:44 +0800 Subject: [PATCH] =?UTF-8?q?feat=20-=20=E5=A2=9E=E5=8A=A0=20=E6=B5=81?= =?UTF-8?q?=E9=87=8F=E7=BB=9F=E8=AE=A1=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 +++- src/layout/components/Sidebar/Logo.vue | 2 +- src/router/index.js | 26 ++++++++++- src/settings.js | 2 +- src/styles/index.scss | 2 +- src/utils/get-page-title.js | 2 +- src/utils/model.js | 4 +- src/views/dashboard/index.vue | 2 +- src/views/traffic-statistics/main/index.vue | 31 +++++++++++++ .../main/ssjl-statistics/index.vue | 43 +++++++++++++++++++ vue.config.js | 2 +- 11 files changed, 114 insertions(+), 10 deletions(-) create mode 100644 src/views/traffic-statistics/main/index.vue create mode 100644 src/views/traffic-statistics/main/ssjl-statistics/index.vue diff --git a/README.md b/README.md index 38364b3..39492a2 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ @@ -66,3 +66,9 @@ fix `2022.8.8` feat - 增加 收单系统,众筹拼单系统,消息管理和系统管理路由配置 + + +## v1.0.1 +`2022.9.8` +feat +- 增加 流量统计功能 \ No newline at end of file diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index c5fd855..140eff7 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -31,7 +31,7 @@ export default { }, data() { return { - title: '用户运营管理系统', + title: '用户运营管理平台', logo: require('@/assets/telpo.png') } } diff --git a/src/router/index.js b/src/router/index.js index bfeb9a3..629953e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -72,6 +72,7 @@ export const constantRoutes = [{ component: Layout, redirect: '/collection-order-list', name: 'collection-order-system', + hidden: true, meta: { title: '收单系统', icon: 'el-icon-s-help' @@ -89,6 +90,29 @@ export const constantRoutes = [{ ] }, + // 流量统计 todo + { + path: '/traffic-statistics', + component: Layout, + redirect: '/ssjl-statistics', + name: 'traffic-statistics', + hidden: false, + meta: { + title: '流量统计', + icon: 'el-icon-data-line' + }, + children: [ + { + path: '/ssjl-statistics', + name: 'ssjl-statistics', + component: () => import('@/views/traffic-statistics/main/ssjl-statistics/index'), + meta: { + title: '家长端流量统计', //收单列表 + icon: 'el-icon-office-building' + } + }, + ] + }, // 众筹拼单系统 { path: 'crowd-funding-otrder-system', @@ -168,7 +192,7 @@ export const constantRoutes = [{ redirect: '/wechat-fans', name: 'message-manage', meta: { - title: '消息管理', + title: '消息发送系统', icon: 'el-icon-message-solid' }, children: [ diff --git a/src/settings.js b/src/settings.js index 905afee..1127141 100644 --- a/src/settings.js +++ b/src/settings.js @@ -7,7 +7,7 @@ */ module.exports = { - title: '用户运营管理系统', + title: '用户运营管理平台', /** * @type {boolean} true | false diff --git a/src/styles/index.scss b/src/styles/index.scss index 5f4c34a..ff00425 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -66,7 +66,7 @@ div:focus { height: 600px; position: relative; margin: 60px 20px 0 20px; - padding: 10px 0; + padding: 10px 10px; border: 1px solid #d8dce5; box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .12), 0 0 3px 0 rgba(0, 0, 0, .04); .top-container { diff --git a/src/utils/get-page-title.js b/src/utils/get-page-title.js index 49a2787..daf98fc 100644 --- a/src/utils/get-page-title.js +++ b/src/utils/get-page-title.js @@ -7,7 +7,7 @@ */ import defaultSettings from '@/settings' -const title = defaultSettings.title || '用户运营管理系统' +const title = defaultSettings.title || '用户运营管理平台' export default function getPageTitle(pageTitle) { if (pageTitle) { diff --git a/src/utils/model.js b/src/utils/model.js index 7d0c27a..ac5b554 100644 --- a/src/utils/model.js +++ b/src/utils/model.js @@ -1,8 +1,8 @@ /* * @Date: 2021-11-30 15:09:25 * @LastEditors: JinxChen - * @LastEditTime: 2022-08-08 11:10:59 + * @LastEditTime: 2022-09-08 16:18:13 * @FilePath: \TelpoUserManageAdmin\src\utils\model.js * @description: 版本号 */ -export const VersionModel = '1.0.0'; +export const VersionModel = '1.0.1'; diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index 0c83662..9796120 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -7,7 +7,7 @@ --> diff --git a/src/views/traffic-statistics/main/index.vue b/src/views/traffic-statistics/main/index.vue new file mode 100644 index 0000000..a01d72f --- /dev/null +++ b/src/views/traffic-statistics/main/index.vue @@ -0,0 +1,31 @@ + + + + + + + + diff --git a/src/views/traffic-statistics/main/ssjl-statistics/index.vue b/src/views/traffic-statistics/main/ssjl-statistics/index.vue new file mode 100644 index 0000000..2a500ae --- /dev/null +++ b/src/views/traffic-statistics/main/ssjl-statistics/index.vue @@ -0,0 +1,43 @@ + + + + + + diff --git a/vue.config.js b/vue.config.js index 2a8528a..bdbdcae 100644 --- a/vue.config.js +++ b/vue.config.js @@ -6,7 +6,7 @@ function resolve(dir) { return path.join(__dirname, dir) } -const name = defaultSettings.title || '用户运营管理系统' // page title +const name = defaultSettings.title || '用户运营管理平台' // page title // If your port is set to 80, // use administrator privileges to execute the command line.