From a8ea6eee25ea4eebd5c74c15aea69f9b64b173ee Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Sun, 17 Nov 2024 21:05:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=81=A5=E5=BA=B7=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=EF=BC=8C=E9=A6=96=E9=A1=B5=E5=8A=9F=E8=83=BD=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/health/statisticAnalysis.js | 8 + src/views/health/healthAnalysis/index.vue | 274 ++++------------------ src/views/health/marRecord/index.vue | 2 +- 3 files changed, 58 insertions(+), 226 deletions(-) diff --git a/src/api/health/statisticAnalysis.js b/src/api/health/statisticAnalysis.js index 2b39859..2ede0b0 100644 --- a/src/api/health/statisticAnalysis.js +++ b/src/api/health/statisticAnalysis.js @@ -15,3 +15,11 @@ export function getTemperatureAnalysis(query) { params: query }) } + +export function getHealthAnalysis(query) { + return request({ + url: '/health/analysis/healthAnalysis', + method: 'get', + params: query + }) +} diff --git a/src/views/health/healthAnalysis/index.vue b/src/views/health/healthAnalysis/index.vue index 368c314..3f107b7 100644 --- a/src/views/health/healthAnalysis/index.vue +++ b/src/views/health/healthAnalysis/index.vue @@ -6,28 +6,28 @@
成员总数
-
{{ 0 }}
+
{{ personCount }}
档案总数
-
{{ 0 }}
+
{{ healthRecordCount }}
活动次数
-
{{ 0 }}
+
{{ activityCount }}
就医次数
-
{{ investBalance }}
+
{{ doctorCount }}
@@ -36,28 +36,28 @@
医院数量
-
{{ unClearedOnlineDebt }}
+
{{ hospitalCount }}
大夫数量
-
{{ peopleLendHistory }}
+
{{ doctorTotalCount }}
用药次数
-
{{ creditBalance }}
+
{{ marCount }}
用药种类
-
{{ investBalance }}
+
{{ medicalTypeCount }}
@@ -66,28 +66,28 @@
测量体温次数
-
{{ unClearedOnlineDebt }}
+
{{ temperatureTotalCount }}
低烧次数(36.9~37.5℃)
-
{{ peopleLendHistory }}
+
{{ lowerTempCount }}
中烧次数(37.5~38.5℃)
-
{{ creditBalance }}
+
{{ middleTempCount }}
高烧次数(>=38.5℃)
-
{{ investBalance }}
+
{{ higherTempCount }}
@@ -97,28 +97,28 @@
档案份数
-
{{ debitICount }}
+
{{ 0 }}
就医次数
-
{{ debitIICount }}
+
{{ 0 }}
总费用
-
{{ debitOnlineCount }}
+
{{ 0 }}
医院数量
-
{{ storedValueCardCount }}
+
{{ 0 }}
@@ -127,28 +127,28 @@
大夫数量
-
{{ otherDebitCount }}
+
{{ 0 }}
用药次数
-
{{ debitTotalBalance }}
+
{{ 0 }}
用药种类
-
{{ debitBalance }}
+
{{ 0 }}
高烧天数(>=38.5℃)
-
{{ debitOnlineBalance }}
+
{{ 0 }}
@@ -157,217 +157,41 @@