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 @@
-
-
@@ -25,7 +14,6 @@
{{ userInfo.name ? userInfo.name : "-" }}
-
@@ -48,81 +36,74 @@
登录/注册
劳务上下游收发单工具
-
-
-
-
-
-
-
- 切换团队
-
+
+
+
+
+
+ 发展代理
+ 邀请更多代理(粉丝)关注我
+
-
-
+ 去邀请
-
-
-
-
-
-
-
-
- {{ userNum.upNum }}
-
-
- 关注发单号
-
-
-
+
+
-
-
+
+
-
-
-
-
-
- 发展代理
- 邀请更多代理(粉丝)关注我
-
-
- 去邀请
-
+
+
-
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+ 自定义
+
+
+
+ 姓名
+
+ 报名
+ 到面
+ 通过
+ 入职
+
+ 在职
+
+
+
+
+
+ {{ index * 1 + 1 + " " }}{{ item.aliasName || item.agencyTeamName }}
+ {{ item.signUps }}
+ {{ item.arrived }}
+ {{ item.passed }}
+ {{ item.entry }}
+ {{ item.obJob }}
+
+
+
+ 总计
+ {{ totalObj.signUps }}
+ {{ totalObj.arrived }}
+ {{ totalObj.passed }}
+ {{ totalObj.entry }}
+ {{ totalObj.obJob }}
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+ {{ !!startTime ? startTime : "----" }}
+
+
+ -
+
+ {{ !!endTime ? endTime : "----" }}
+
+
+
+
+
+
+
+
+
+
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 () {