From 801579e79cdc628d28b696a2c2de7402997154d5 Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Fri, 20 Jun 2025 11:08:32 +0800 Subject: [PATCH] no message --- api/person.js | 1 + pages.json | 9 + pages/person/index.vue | 142 +++++++------- root/person/todayData.vue | 475 ++++++++++++++++++++++++++++++++++++++++++++++ utils/common.js | 3 + 5 files changed, 552 insertions(+), 78 deletions(-) create mode 100644 root/person/todayData.vue diff --git a/api/person.js b/api/person.js index 06f20e9..bf6db5f 100644 --- a/api/person.js +++ b/api/person.js @@ -1,4 +1,5 @@ let personInfo = {// 用户信息模块 + merchantManagement_todayData: "/yishoudan/statistics/agency/teamWithGroup",// 获取今日数据 person_feedback: "/daotian/feedback/add",// 反馈与建议 person_feedbackList: "/daotian/feedback/list",// 反馈与建议 } diff --git a/pages.json b/pages.json index 8ba71f8..0a9d60d 100644 --- a/pages.json +++ b/pages.json @@ -79,6 +79,15 @@ { // 个人中心二级页面 "root": "root/person", "pages": [ + { + "path": "todayData", + "style": { + "navigationBarTitleText": "今日数据", + "backgroundColor": "#ededed", + "backgroundColorTop": "#ededed", + "backgroundColorBottom": "#ededed" + } + }, { "path": "billIndex", "style": { diff --git a/pages/person/index.vue b/pages/person/index.vue index 4ebecc3..2b321ac 100644 --- a/pages/person/index.vue +++ b/pages/person/index.vue @@ -1,17 +1,6 @@ + + + + diff --git a/utils/common.js b/utils/common.js index 0abe804..1d24428 100644 --- a/utils/common.js +++ b/utils/common.js @@ -16,6 +16,9 @@ let data = { // #endif } }, + fullCopy (data) { + return JSON.parse(JSON.stringify(data)) + }, /* 清除登录信息存储 */ clearLocalStorage () {