diff --git a/apis/interfaces/gout.js b/apis/interfaces/gout.js
index caabd7e..c744aba 100644
--- a/apis/interfaces/gout.js
+++ b/apis/interfaces/gout.js
@@ -25,9 +25,10 @@ const goutAdd = (data) => {
}
// 查看病例
-const goutSee = () => {
+const goutSee = (data) => {
return request({
- url: 'gout/result'
+ url: 'gout/result',
+ data:data
})
}
diff --git a/pages/attestation/index.vue b/pages/attestation/index.vue
index f24d2c4..a35ff0a 100644
--- a/pages/attestation/index.vue
+++ b/pages/attestation/index.vue
@@ -167,12 +167,12 @@
// 健康前置信息
goutCreate().then(res => {
this.count = res.count
- this.hyperlipemiaMax = Number(res.count.man.hyperlipidemia.max)
- this.hyperlipemiaMin = Number(res.count.man.hyperlipidemia.min)
- this.hypertensionMax = Number(res.count.man.hypertension.max)
- this.hypertensionMin = Number(res.count.man.hypertension.min)
- this.hyperglycemiaMax = Number(res.count.man.hyperglycemia.max)
- this.hyperglycemiaMin = Number(res.count.man.hyperglycemia.min)
+ this.hyperlipemiaMax = res.count.man.hyperlipidemia.max
+ this.hyperlipemiaMin = res.count.man.hyperlipidemia.min
+ this.hypertensionMax = res.count.man.hypertension.max
+ this.hypertensionMin = res.count.man.hypertension.min
+ this.hyperglycemiaMax = res.count.man.hyperglycemia.max
+ this.hyperglycemiaMin = res.count.man.hyperglycemia.min
this.seeData.username = res.user.username
}).catch(err => {
uni.showToast({
@@ -209,21 +209,21 @@
// 选择男女
bindSexChange(e) {
this.sexIndex = parseInt(e.detail.value)
- this.sexName = this.sexArray[e.detail.value].val
+ this.sexName = this.sexArray[e.detail.value].val
if(this.sexArray[e.detail.value].val == 'woman') {
- this.hyperlipemiaMax = parseInt(this.count.woman.hyperlipidemia.max)
- this.hyperlipemiaMin = parseInt(this.count.woman.hyperlipidemia.min)
- this.hypertensionMax = parseInt(this.count.woman.hypertension.max)
- this.hypertensionMin = parseInt(this.count.woman.hypertension.min)
- this.hyperglycemiaMax = parseInt(this.count.woman.hyperglycemia.max)
- this.hyperglycemiaMin = parseInt(this.count.woman.hyperglycemia.min)
+ this.hyperlipemiaMax = this.count.woman.hyperlipidemia.max
+ this.hyperlipemiaMin = this.count.woman.hyperlipidemia.min
+ this.hypertensionMax = this.count.woman.hypertension.max
+ this.hypertensionMin = this.count.woman.hypertension.min
+ this.hyperglycemiaMax = this.count.woman.hyperglycemia.max
+ this.hyperglycemiaMin = this.count.woman.hyperglycemia.min
}else {
- this.hyperlipemiaMax = parseInt(this.count.man.hyperlipidemia.max)
- this.hyperlipemiaMin = parseInt(this.count.man.hyperlipidemia.min)
- this.hypertensionMax = parseInt(this.count.man.hypertension.max)
- this.hypertensionMin = parseInt(this.count.man.hypertension.min)
- this.hyperglycemiaMax = parseInt(this.count.man.hyperglycemia.max)
- this.hyperglycemiaMin = parseInt(this.count.man.hyperglycemia.min)
+ this.hyperlipemiaMax = this.count.man.hyperlipidemia.max
+ this.hyperlipemiaMin = this.count.man.hyperlipidemia.min
+ this.hypertensionMax = this.count.man.hypertension.max
+ this.hypertensionMin = this.count.man.hypertension.min
+ this.hyperglycemiaMax = this.count.man.hyperglycemia.max
+ this.hyperglycemiaMin = this.count.man.hyperglycemia.min
}
},
@@ -283,7 +283,9 @@
}
goutAdd(data).then(res => {
this.disabled = true
- this.$Router.replace({name: "User"})
+ uni.navigateBack({
+
+ })
}).catch(err => {
uni.showToast({
title: err.message,
@@ -421,7 +423,7 @@
right: 0;
background: white;
.issue-btn {
- background: #6e79ec;
+ background: #4490ff;
text-align: center;
color: white;
height: 90rpx;
@@ -433,7 +435,7 @@
padding: 0;
border-radius: 10rpx;
&[disabled] {
- background: #a7affd !important;
+ background: #4490ff !important;
color: #fff !important;
}
}
diff --git a/pages/login/login.vue b/pages/login/login.vue
index e72b501..04cbef4 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -198,7 +198,7 @@
}
.btn {
- background: #6e79ec;
+ background: $mian-color;
color: white;
border-radius: 0;
margin-top: $margin;
@@ -212,7 +212,7 @@
}
&[disabled] {
- background: rgba($color: #6e79ec, $alpha: .6);
+ background: rgba($color: $mian-color, $alpha: .6);
}
}
.beianNo{
diff --git a/pages/user/index.vue b/pages/user/index.vue
index 31e22df..b97bdbb 100644
--- a/pages/user/index.vue
+++ b/pages/user/index.vue
@@ -11,7 +11,7 @@
用户档案
- 病例档案
+ 健康档案
@@ -192,7 +192,7 @@
color: #FFFFFF;
font-size: 26rpx;
.user-tags-label {
- background-color: #7e8aff;
+ background-color: $mian-color;
border-radius: 30rpx;
padding-left: 20rpx;
line-height: 48rpx;
@@ -313,7 +313,7 @@
margin-right: 30rpx;
}
.namePop-btn {
- color: #6e79ec;
+ color: $mian-color;
font-weight: 600;
}
}
diff --git a/pages/userCase/userCase.vue b/pages/userCase/userCase.vue
index a76a1fa..c7e4050 100644
--- a/pages/userCase/userCase.vue
+++ b/pages/userCase/userCase.vue
@@ -2,56 +2,66 @@
-
- 患者:{{ caseInfo.name }}
-
+ 建档人:{{ caseInfo.name }}
-
- 年龄:{{ caseInfo.age }} 岁
-
-
- 性别:{{ caseInfo.sex == 'woman' ? '女' : '男' }}
-
+ 年龄:{{ caseInfo.age }} 岁
+ 性别:{{ caseInfo.sex == 'woman' ? '女' : '男' }}
- 上传
+
-
- 初始值
-
-
- {{ countInfo.first != 0 ? countInfo.first : '-' }}
-
+ 测量类型
-
- 最高值
-
-
- {{ countInfo.max != 0 ? countInfo.max : '-' }}
-
+ 初始值
-
- 最新值
-
-
- {{ countInfo.last != 0 ? countInfo.last : '-' }}
-
+ 最高值
+
+ 最新值
+
+
+
+
+
+
+ 高血脂
+
+ {{countInfo.hyperlipidemia.first}}
+ {{countInfo.hyperlipidemia.max}}
+ {{countInfo.hyperlipidemia.last}}
+
+
+
+
+ 高血压
+
+ {{countInfo.hypertension.first}}
+ {{countInfo.hypertension.max}}
+ {{countInfo.hypertension.last}}
+
+
+
+
+ 高血糖
+
+ {{countInfo.hyperglycemia.first}}
+ {{countInfo.hyperglycemia.max}}
+ {{countInfo.hyperglycemia.last}}
+
+