From 5b1ba2bf719c705ae09ba74ac230d944080492ed Mon Sep 17 00:00:00 2001 From: shidongli Date: Wed, 8 May 2024 10:14:53 +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 --- .../threeHundredAndSixty.js | 22 ++ pages.json | 22 ++ pagesB/AddMembers/AddMembers.vue | 2 +- pagesB/Healthindex/Healthindex.vue | 266 ++++++++++++++ pagesB/Precords/Precords.vue | 166 +++++++++ .../Prescriptionrecords.vue | 230 ++++++++++++ .../threeHundredAndSixty.vue | 330 ++++++------------ 7 files changed, 807 insertions(+), 231 deletions(-) create mode 100644 pagesB/Healthindex/Healthindex.vue create mode 100644 pagesB/Precords/Precords.vue create mode 100644 pagesB/Prescriptionrecords/Prescriptionrecords.vue diff --git a/api/pagesB/threeHundredAndSixty/threeHundredAndSixty.js b/api/pagesB/threeHundredAndSixty/threeHundredAndSixty.js index 7c1b682..daaf9c0 100644 --- a/api/pagesB/threeHundredAndSixty/threeHundredAndSixty.js +++ b/api/pagesB/threeHundredAndSixty/threeHundredAndSixty.js @@ -12,3 +12,25 @@ export function riskWarning(identity) { } }) } +// 健康指数 +export function healthIndexdata(identity) { + return request({ + url: '/applet/360/portrait/healthIndex/'+identity, + method: 'GET', + header: { + region: uni.getStorageSync('region'), + } + }) +} +// 健康处方 + +export function lastrecode(identity) { + return request({ + url: '/applet/360/portrait/record/detail/last/'+identity+'/0', + method: 'GET', + header: { + region: uni.getStorageSync('region'), + } + }) +} + diff --git a/pages.json b/pages.json index 4a5ff82..1a5d6e7 100644 --- a/pages.json +++ b/pages.json @@ -468,6 +468,28 @@ "navigationBarTitleText" : "申请记录", "enablePullDownRefresh" : false } + }, + { + "path" : "Prescriptionrecords/Prescriptionrecords", + "style" : + { + "navigationBarTitleText" : "健康教育处方记录", + "enablePullDownRefresh": false + } + }, + { + "path" : "Precords/Precords", + "style" : + { + "navigationBarTitleText" : "" + } + }, + { + "path" : "Healthindex/Healthindex", + "style" : + { + "navigationBarTitleText" : "" + } } ] }, { diff --git a/pagesB/AddMembers/AddMembers.vue b/pagesB/AddMembers/AddMembers.vue index a665b34..8196e8d 100644 --- a/pagesB/AddMembers/AddMembers.vue +++ b/pagesB/AddMembers/AddMembers.vue @@ -697,7 +697,7 @@ that.form.cityCode = 2 } if (that.form.sexname == '男') { - that.f orm.sex = 'MALE'; + that.form.sex = 'MALE'; } else if (that.form.sexname == '女') { that.form.sex = 'FEMALE'; } diff --git a/pagesB/Healthindex/Healthindex.vue b/pagesB/Healthindex/Healthindex.vue new file mode 100644 index 0000000..7df7f58 --- /dev/null +++ b/pagesB/Healthindex/Healthindex.vue @@ -0,0 +1,266 @@ + + + + + diff --git a/pagesB/Precords/Precords.vue b/pagesB/Precords/Precords.vue new file mode 100644 index 0000000..947a8d6 --- /dev/null +++ b/pagesB/Precords/Precords.vue @@ -0,0 +1,166 @@ + + + + + + diff --git a/pagesB/Prescriptionrecords/Prescriptionrecords.vue b/pagesB/Prescriptionrecords/Prescriptionrecords.vue new file mode 100644 index 0000000..85ebd05 --- /dev/null +++ b/pagesB/Prescriptionrecords/Prescriptionrecords.vue @@ -0,0 +1,230 @@ + + + + + \ No newline at end of file diff --git a/pagesB/threeHundredAndSixty/threeHundredAndSixty.vue b/pagesB/threeHundredAndSixty/threeHundredAndSixty.vue index 93de5ed..b7aae7d 100644 --- a/pagesB/threeHundredAndSixty/threeHundredAndSixty.vue +++ b/pagesB/threeHundredAndSixty/threeHundredAndSixty.vue @@ -7,106 +7,57 @@ gutter="50" @change="tabschange"> - - - - 1 - - - - 680 - 健康指数 - - - - - 血压(mmHg):收缩压/舒张压 - - - 空腹血糖(mmol/L):5.6 - - - 血脂(TC/LDL-C):5.6 - - - 体质指数(BMI):5.6 - - - 腰围(cm):5.6 - - - - - - - - - - + + - + + + + + + + + + + + + 1 + + + 680 + + + + 说明 + + + 85分以上为绿色, + 85分以上为绿色, + 85分以上为绿色,85分以上为绿色, + 85分以上为绿色, + 85分以上为绿色,85分以上为绿色, + 85分以上为绿色, + 85分以上为绿色,85分以上为绿色, + + @@ -222,6 +116,47 @@ text-align: center; font-size: 36rpx; + .toppopup { + justify-content: space-between; + padding-top: 75rpx; + line-height: 35px; + height: 70rpx; + display: flex; + /* margin-top: 49rpx; */ + width: 87%; + margin: 0 auto; + + .rightpopup { + margin-top: 17rpx; + background: red; + // position: relative; + font-size: 20rpx; + width: 30rpx; + height: 30rpx; + // background: red; + // top: 30rpx; + line-height: 30rpx; + left: 471rpx; + + } + + } + + .text { + font-weight: 600; + text-align: left; + width: 87%; + margin: 66rpx auto auto auto; + } + + .words { + // font-weight: 600; + text-align: left; + width: 87%; + margin: 26rpx auto auto auto; + + } + .top { width: 100%; height: 100rpx; @@ -241,75 +176,10 @@ } } - // 健康 - .health { - width: 100%; - margin: 0 auto; - // background: red; - .health_top { - width: 100%; - // height: 100%; - // background: #FBDA81; - .right { - position: relative; - font-size: 20rpx; - width: 30rpx; - height: 30rpx; - background: red; - top: 30rpx; - line-height: 30rpx; - left: 471rpx; - // left: 288rpx; + .disease {} - } - image { - width: 230rpx; - height: 230rpx; - } - - .count { - position: relative; - top: -158rpx; - - .numbers { - font-weight: 600; - font-size: 25rpx; - margin-bottom: 10rpx; - } - - .healths { - font-size: 22rpx; - - } - } - - } - - .health_body { - width: 100%; - - .healthitem { - text-align: left; - padding: 0 0 40rpx 62rpx; - - // padding-bottom: 40rpx; - // position: relative; - // left: -53rpx; - - } - - } - .zx{ - width: 100%; - height: 300rpx; - // background: red; - } - - } - .disease{ - } } \ No newline at end of file