From e39690e1a2ae38c8794efd86367971b3b4e61ed3 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Mon, 2 Dec 2024 13:00:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=9F=E8=AE=A1=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/health/doctorStatistic/index.vue | 218 ++++++++---------- src/views/health/healthStatistic/index.vue | 134 ++++------- src/views/health/marStatistic/index.vue | 21 +- .../health/temperatureStatistic/index.vue | 26 ++- 4 files changed, 166 insertions(+), 233 deletions(-) diff --git a/src/views/health/doctorStatistic/index.vue b/src/views/health/doctorStatistic/index.vue index d609467..eb664e2 100644 --- a/src/views/health/doctorStatistic/index.vue +++ b/src/views/health/doctorStatistic/index.vue @@ -9,11 +9,11 @@ - + - +
-
+
-
用药种类
+
就医次数
{{ mar.marCategoryCount }} + >
-
+
-
用药次数
+
就医费用
+
+ {{ mar.marCount }} +
+
+
+ +
+
+ +
+
+
常去医院
+
+ {{ mar.qingre }}XXX +
+
+
+
+
+ +
+
+
常去科室
+
+ {{ mar.zhike }}XXX +
+
+
+
+
+
+
+ +
+
+
常看大夫
+
+ {{ mar.wuhua }}XXX +
+
+
+
+
+ +
+
+
门诊次数
+
+ {{ mar.marCategoryCount }} +
+
+
+
+
+ +
+
+
急诊次数
{{ mar.marCount }} @@ -81,153 +144,54 @@
-
+
-
清热解毒
+
住院次数
{{ mar.qingre }}
-
-
- -
-
-
止咳化痰平喘
-
- {{ mar.zhike }} -
-
-
-
-
- -
-
-
雾化消炎
-
- {{ mar.wuhua }} -
-
-
-
-
- -
-
-
抗菌消炎
-
- {{ mar.kangjun }} -
-
-
-
-
-
-
- -
-
-
抗过敏
-
- {{ mar.kangguomin }} -
-
-
-
-
- -
-
-
抗病毒
-
- {{ mar.kangbingdu }} -
-
-
-
-
- -
-
-
退烧用药
-
- {{ mar.tuishao }} -
-
-
-
-
- -
-
-
鼻炎腺样体
-
- {{ mar.biyan }} -
-
-
-
-
- -
-
-
肠道消化
-
- {{ mar.changdao }} -
-
-
-
-
- -
-
-
免疫力
-
- {{ mar.mianyili }} -
-
-
-
用药统计
+
就医统计
- - - - + + + + +
-
-
- +
+
+ - - + + + + + + + + - - + - - + + + @@ -270,7 +271,7 @@ const dates = [{ value: 1, label: '日' }] const accountsList = ref([]) const loading = ref(true) const total = ref(0) -const radioVal = ref('用药次数柱状图') +const radioVal = ref('用药分类明细') const dateValidate = (rules, value, callback) => { const dateType = rules.dateType || 'days' const num = rules.num || 31 @@ -347,10 +348,10 @@ function getPersonList() { }) } -const today = new Date() -const end = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) + '-' + ('0' + today.getDate()).slice(-2) -const start = dayjs(end).add(-60, 'day') -queryParams.value.time = [start, end] +// const today = new Date() +// const end = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) + '-' + ('0' + today.getDate()).slice(-2) +// const start = dayjs(end).add(-60, 'day') +// queryParams.value.time = [start, end] const handleTimeChange = (type) => { queryParams.value.time = null if (type === 1) { diff --git a/src/views/health/temperatureStatistic/index.vue b/src/views/health/temperatureStatistic/index.vue index 8ce3a7b..fcb5861 100644 --- a/src/views/health/temperatureStatistic/index.vue +++ b/src/views/health/temperatureStatistic/index.vue @@ -9,7 +9,7 @@ - + @@ -56,6 +56,18 @@
+
+
+ +
+
+
发烧天数
+
+ {{ temp.feverDay }}天(大于37℃) +
+
+
@@ -154,9 +166,9 @@
体温统计
+ -
@@ -212,7 +224,7 @@ const dates = [{ value: 1, label: '日' }] const accountsList = ref([]) const loading = ref(true) const total = ref(0) -const radioVal = ref('柱状图') +const radioVal = ref('表格') const dateValidate = (rules, value, callback) => { const dateType = rules.dateType || 'days' const num = rules.num || 31 @@ -289,10 +301,10 @@ function getPersonList() { }) } -const today = new Date() -const end = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) + '-' + ('0' + today.getDate()).slice(-2) -const start = dayjs(end).add(-60, 'day') -queryParams.value.time = [start, end] +// const today = new Date() +// const end = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) + '-' + ('0' + today.getDate()).slice(-2) +// const start = dayjs(end).add(-60, 'day') +// queryParams.value.time = [start, end] const handleTimeChange = (type) => { queryParams.value.time = null if (type === 1) {