From 9b9f031159b5426730469a7115489b1c568b579f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com>
Date: Wed, 15 May 2024 10:08:22 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Dynamicbloodpressure.vue | 480 ++++++++++++++++++
.../Physicalexamination.vue | 89 +++-
pagesC/healthdata/healthdata.vue | 11 +-
3 files changed, 573 insertions(+), 7 deletions(-)
create mode 100644 pagesC/Dynamicbloodpressure/Dynamicbloodpressure.vue
diff --git a/pagesC/Dynamicbloodpressure/Dynamicbloodpressure.vue b/pagesC/Dynamicbloodpressure/Dynamicbloodpressure.vue
new file mode 100644
index 0000000..4059313
--- /dev/null
+++ b/pagesC/Dynamicbloodpressure/Dynamicbloodpressure.vue
@@ -0,0 +1,480 @@
+
+
+
+
+ — 正常范围 —
+
+
+ + 添加数据
+
+
+
+
+ 收缩压
+
+
+ 90-140mmHg
+
+
+
+
+ 舒张压
+
+
+ 60-90mmHg
+
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+ 注:全部视图主要展示全部血压数值的趋势曲线 单位:mmHg
+
+
+
+
+
+
+ 平均
+
+
+ {{echartData.calc.avgVal?echartData.calc.avgVal:'暂无'}}
+
+
+
+
+ 最大
+
+
+
+ {{echartData.calc.maxDbpVal?echartData.calc.maxDbpVal:'暂无'}}
+
+ {{echartData.calc.maxSbpVal?echartData.calc.maxSbpVal:'暂无'}}
+
+
+
+
+ 最小
+
+
+
+ {{echartData.calc.minDbpVal?echartData.calc.minDbpVal:'暂无'}}
+
+ {{echartData.calc.minSbpVal?echartData.calc.minSbpVal:'暂无'}}
+
+
+
+
+
+
+
+
+ 记录时间
+ 收缩压
+ 舒张压
+
+
+ {{item.measureTime}}
+ {{item.sbp}}
+ {{item.dbp}}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pagesC/Physicalexamination/Physicalexamination.vue b/pagesC/Physicalexamination/Physicalexamination.vue
index 0c53dff..1715ef8 100644
--- a/pagesC/Physicalexamination/Physicalexamination.vue
+++ b/pagesC/Physicalexamination/Physicalexamination.vue
@@ -342,6 +342,73 @@
+
+
+ 动态血压
+
+
+
+ 快来测量吧~
+
+
+ 您暂时未测量
+
+
+
+
+
+ {{dataeight.date}}
+
+
+
+
+ {{dataeight.ssy}}
+
+
+ mmHg
+
+
+
+
+ 过低
+
+
+
+
+ 正常
+
+
+
+
+ 过高
+
+
+
+
+ {{dataeight.szy}}
+
+
+ mmHg
+
+
+
+
+ 过低
+
+
+
+
+ 正常
+
+
+
+
+ 过高
+
+
+
+
+
@@ -359,6 +426,7 @@
datafive: null,
datasix: null,
dataseven: null,
+ dataeight: null,
}
},
onShow() {
@@ -376,13 +444,22 @@
e.type == '5' ? this.datafive = e : ''
e.type == '6' ? this.datasix = e : ''
e.type == '7' ? this.dataseven = e : ''
+ e.type == '8' ? this.dataeight = e : ''
})
- this.datatwo.szy = this.datatwo.val.split('/')[1]
- this.datatwo.ssy = this.datatwo.val.split('/')[0]
- this.datathree.tc = this.datathree.val.split('/')[0]
- this.datathree.tg = this.datathree.val.split('/')[1]
- this.datathree.hdl = this.datathree.val.split('/')[2]
- this.datathree.ldl = this.datathree.val.split('/')[3]
+ if (this.datatwo && this.datatwo.val) {
+ this.datatwo.szy = this.datatwo.val.split('/')[1]
+ this.datatwo.ssy = this.datatwo.val.split('/')[0]
+ }
+ if (this.dataeight && this.dataeight.val) {
+ this.dataeight.szy = this.dataeight.val.split('/')[1]
+ this.dataeight.ssy = this.dataeight.val.split('/')[0]
+ }
+ if (this.datathree && this.datathree.val) {
+ this.datathree.tc = this.datathree.val.split('/')[0]
+ this.datathree.tg = this.datathree.val.split('/')[1]
+ this.datathree.hdl = this.datathree.val.split('/')[2]
+ this.datathree.ldl = this.datathree.val.split('/')[3]
+ }
}
})
},
diff --git a/pagesC/healthdata/healthdata.vue b/pagesC/healthdata/healthdata.vue
index dcb3995..0e47329 100644
--- a/pagesC/healthdata/healthdata.vue
+++ b/pagesC/healthdata/healthdata.vue
@@ -32,6 +32,11 @@
+
+
+
+
@@ -48,6 +53,7 @@
import BMI from '../BMI/BMI.vue'
import BloodOxygen from '../BloodOxygen/BloodOxygen.vue'
import HeartRate from '../HeartRate/HeartRate.vue'
+ import Dynamicbloodpressure from '../Dynamicbloodpressure/Dynamicbloodpressure.vue'
export default {
components: {
BloodPressure,
@@ -56,7 +62,8 @@
BloodFat,
BMI,
BloodOxygen,
- HeartRate
+ HeartRate,
+ Dynamicbloodpressure
},
data() {
return {
@@ -75,6 +82,8 @@
name: '心率',
}, {
name: '体温',
+ }, {
+ name: '动态血压',
}, ],
list: null,
type: 0,