From 660be19d5e548734674dde108b0fc7ff3fbcf12c Mon Sep 17 00:00:00 2001 From: TimSpan Date: Wed, 14 May 2025 16:17:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 7 + package.json | 1 + src/views/index.vue | 457 +++++++++++++++++++++++++++++++++++--------- 3 files changed, 371 insertions(+), 94 deletions(-) diff --git a/package-lock.json b/package-lock.json index a6d9faa..ab32889 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,6 +19,7 @@ "jsencrypt": "^3.3.2", "lodash-es": "^4.17.21", "naive-ui": "^2.41.0", + "odometer": "^0.4.8", "pinia": "^3.0.1", "pinia-plugin-persistedstate": "^4.2.0", "sass": "^1.85.1", @@ -3793,6 +3794,12 @@ "node": "^14.16.0 || >=16.10.0" } }, + "node_modules/odometer": { + "version": "0.4.8", + "resolved": "https://registry.npmmirror.com/odometer/-/odometer-0.4.8.tgz", + "integrity": "sha512-bfKuAhWE/qMCiX9bwX90c5bTpt7MDVeq1e6YsOHQrYokNhv9jhS5JbR9kg6i+FeWmDgalf3VUtwNx1aVaZ8cgg==", + "license": "MIT" + }, "node_modules/ohash": { "version": "2.0.11", "resolved": "https://registry.npmmirror.com/ohash/-/ohash-2.0.11.tgz", diff --git a/package.json b/package.json index cfc4912..426cfc3 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "jsencrypt": "^3.3.2", "lodash-es": "^4.17.21", "naive-ui": "^2.41.0", + "odometer": "^0.4.8", "pinia": "^3.0.1", "pinia-plugin-persistedstate": "^4.2.0", "sass": "^1.85.1", diff --git a/src/views/index.vue b/src/views/index.vue index b18c111..65a355d 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -7,39 +7,70 @@ 2024-11-25 【系统菜单调整通知】 - 为了更方便功能查找使用,从新编排了菜单位置,基础信息相关的页面都在顶部”基础信息“下 + + 为了更方便功能查找使用,从新编排了菜单位置,基础信息相关的页面都在顶部”基础信息“下 +
供应商 -
+
{{ isFold ? "展开" : "收起" }} - +
-
+
-
+
{{ item.titleName }}
{{ item.video }}
-
+
{{ items.name }} {{ items.digital }} {{ items.mechanism }} {{ items.digitalKey }}

-
-
+
+
{{ item.risk }}
-
+
{{ item.score }}分
@@ -49,7 +80,6 @@
-
@@ -57,93 +87,199 @@
-
+
用户数据
-
-
总数
+
+
总数
15452
-
-
日活跃量
+
+
+ 日活跃量 +
6666
-
-
用户
+
+
用户
524
-
-
+
+
每日消息
-
-
今日发送
+
+
+ 今日发送 +
0
-
-
接受率
+
+
接受率
20%
-
-
查看率
-
30%
+
+
查看率
+
+ 30% +
-
-
+
+
客户点评
-
+
- 好评率 + + 好评率 +
-
+
口味 -
54.64%
+
54.64%
-
+
卫生 -
54.64%
+
54.64%
-
+
态度 -
67.92%
+
67.92%
- 综合TOP3 + + 综合TOP3 +
-
+ style=" + display: flex; + align-items: center; + justify-content: space-around; + line-height: 10px; + padding: 5px 0; + " + > +
+ +
技术部
68.91%
-
+ style=" + display: flex; + align-items: center; + justify-content: space-around; + line-height: 10px; + padding: 5px 0; + " + > +
+ +
技术部
68.91%
-
+ style=" + display: flex; + align-items: center; + justify-content: space-around; + line-height: 10px; + padding: 5px 0; + " + > +
+ +
技术部
68.91%
@@ -155,7 +291,10 @@
-
+
快捷入口
@@ -163,30 +302,32 @@
基础信息管理
- > + >
设备台账
- > + >
设备状态
- > + >
营养食安
- > + >
-
数据分析
- > +
数据分析
+ >
-
-
+
系统事项
@@ -194,21 +335,58 @@
未处理
- 458 +
+
已处理
- 12 +
-