From 68c73f6ca9f9ae8225b2fd30f15479fec75b7973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A1=E8=8B=A5?= Date: Fri, 27 Mar 2026 18:26:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=AA=E8=A1=A8=E7=9B=98=E4=B8=8E?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86=E3=80=81=E5=88=86=E6=9E=90?= =?UTF-8?q?/=E6=B5=8B=E8=AF=95=E6=8E=A5=E5=8F=A3=E3=80=81=E5=8F=8C?= =?UTF-8?q?=E7=AB=AF=E7=BB=93=E6=9E=9C=E9=A1=B5=E4=B8=8E=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E5=B1=95=E7=A4=BA=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - admin:Dashboard/Users 与超管 Users 联动后端统计 - api:Dashboard、Analyze、Test、超管 AppUser 逻辑更新 - 微信/抖音小程序:result、profile 页面与样式 - 新增 admin 公共组件与需求文档截图 Made-with: Cursor --- admin/src/components/UserDetailDialog.vue | 1003 +++++++++++++++++ admin/src/views/admin/Dashboard.vue | 338 +++++- admin/src/views/admin/Users.vue | 100 +- admin/src/views/superadmin/Users.vue | 90 +- api/app/controller/admin/Dashboard.php | 153 +++ api/app/controller/api/Analyze.php | 29 +- api/app/controller/api/Test.php | 21 +- api/app/controller/superadmin/AppUser.php | 176 +++ douyin-miniprogram/pages/index/result.js | 139 ++- douyin-miniprogram/pages/index/result.ttml | 103 +- douyin-miniprogram/pages/index/result.ttss | 182 +++ douyin-miniprogram/pages/profile/index.js | 32 +- douyin-miniprogram/pages/profile/index.ttml | 102 +- douyin-miniprogram/pages/profile/index.ttss | 41 + miniprogram/pages/index/result.js | 132 ++- miniprogram/pages/index/result.wxml | 119 +- miniprogram/pages/index/result.wxss | 197 +++- miniprogram/pages/profile/index.js | 35 +- miniprogram/pages/profile/index.wxml | 102 +- miniprogram/pages/profile/index.wxss | 42 + .../1、需求/修改/images/2026-03-27-18-13-26.png | Bin 0 -> 200611 bytes .../1、需求/修改/images/2026-03-27-18-13-55.png | Bin 0 -> 329985 bytes 开发文档/1、需求/修改/管理后台20260327-1.md | 7 + 23 files changed, 2706 insertions(+), 437 deletions(-) create mode 100644 admin/src/components/UserDetailDialog.vue create mode 100644 开发文档/1、需求/修改/images/2026-03-27-18-13-26.png create mode 100644 开发文档/1、需求/修改/images/2026-03-27-18-13-55.png create mode 100644 开发文档/1、需求/修改/管理后台20260327-1.md diff --git a/admin/src/components/UserDetailDialog.vue b/admin/src/components/UserDetailDialog.vue new file mode 100644 index 0000000..8012723 --- /dev/null +++ b/admin/src/components/UserDetailDialog.vue @@ -0,0 +1,1003 @@ + + + + + diff --git a/admin/src/views/admin/Dashboard.vue b/admin/src/views/admin/Dashboard.vue index 59cfadb..92f3a7c 100644 --- a/admin/src/views/admin/Dashboard.vue +++ b/admin/src/views/admin/Dashboard.vue @@ -19,11 +19,53 @@ +
+
+
+ +
+
+
{{ row.label }}
+
+ {{ row.records }} 人次 + · + {{ row.uniqueUsers }} +
+
+
+
+

近 14 日测试趋势

-

人脸 · MBTI · PDP · DISC 完成量

+

人脸 · MBTI · PDP · DISC 完成量;下方为性格结果分布(与本企业测评数据一致)

+
+
+
+
+ + {{ block.title }} +
+
+
+ {{ it.label }} +
+
+
+ {{ it.count }} +
+
+
@@ -87,7 +129,15 @@