Commit f7f5ae98 authored by gengchunlei's avatar gengchunlei

Merge branch 'chronic-dev' of http://gitlab.yiboshi.com/nightkis1995/frontend-h5 into chronic-dev

 Conflicts:
	src/doctor/Doctor.vue
parents 3e5b20a2 75b3812a
...@@ -524,15 +524,15 @@ export default { ...@@ -524,15 +524,15 @@ export default {
}, },
resultHandle() { resultHandle() {
const {currentAge, height = 0, weight = 0, waistline, familyHistory = [], isSmoking, gender, const {currentAge, height = 0, weight = 0, waistline, familyHistory = [], isSmoking, gender,
pressureOneSbp, pressureOneDbp, pressureTwoSbp, pressureTwoDbp, fastingGlucose, ldlCholesterin} = this.form pressureOneSbp, pressureOneDbp, pressureTwoSbp, pressureTwoDbp, fastingGlucose, ldlCholesterin, serumCholesterin} = this.form
let list = [] let list = []
if (currentAge >= 50) { if (currentAge >= 50) {
list.push(1) list.push(1)
} }
let bmi = parseFloat(this.bmi) let bmi = parseFloat(this.bmi)
if ((bmi >= 24)|| if ((bmi >= 24)||
(gender == 2 && waistline >=85) || (gender == 2 && waistline >=80) ||
(gender == 1 && waistline >=90) ){ (gender == 1 && waistline >=85) ){
list.push(2) list.push(2)
} }
if (isSmoking == 1) { if (isSmoking == 1) {
...@@ -550,7 +550,10 @@ export default { ...@@ -550,7 +550,10 @@ export default {
if (fastingGlucose >= 6.1) { if (fastingGlucose >= 6.1) {
list.push(6) list.push(6)
} }
if (ldlCholesterin >= 3.4) { // if (ldlCholesterin >= 3.4) {
// list.push(7)
// }
if (serumCholesterin >= 5.2) {
list.push(7) list.push(7)
} }
list = Array.from(new Set(list)) list = Array.from(new Set(list))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment