|
|
@ -272,6 +272,21 @@ |
|
|
|
</el-button> |
|
|
|
</div> |
|
|
|
<div class="hospital1">{{ tenantName || "- - - -" }}</div> |
|
|
|
<el-dialog |
|
|
|
class="popup" |
|
|
|
title="筛查结论" |
|
|
|
:visible.sync="open" |
|
|
|
width="80%" |
|
|
|
append-to-body |
|
|
|
> |
|
|
|
属于<span :class="`BIMTips${BMIVerdict[form['SCWJ-JL']]}`">{{ |
|
|
|
form["SCWJ-JL"] || "- - -" |
|
|
|
}}</span |
|
|
|
>型肥胖,请关注南宁市第七人民医院公众号预约体重管理中心做进一步评估。 |
|
|
|
<div> |
|
|
|
<img src="./gzh.jpg" style="max-width: 100%" /> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
@ -287,6 +302,7 @@ export default { |
|
|
|
name: "Notice", |
|
|
|
data() { |
|
|
|
return { |
|
|
|
open: false, |
|
|
|
loading: false, |
|
|
|
disabled: true, |
|
|
|
|
|
|
@ -343,6 +359,8 @@ export default { |
|
|
|
正常: "2", |
|
|
|
超重: "3", |
|
|
|
肥胖: "4", |
|
|
|
中度肥胖: "5", |
|
|
|
重度肥胖: "5", |
|
|
|
}, |
|
|
|
tips: "", //结果提示 |
|
|
|
tipsError: false, //结果提示 |
|
|
@ -750,15 +768,21 @@ export default { |
|
|
|
if (bmi < 18.5) { |
|
|
|
tips = "体重过轻"; |
|
|
|
} |
|
|
|
if (bmi >= 18.5 && bmi < 23.9) { |
|
|
|
if (bmi >= 18.5 && bmi < 24) { |
|
|
|
tips = "正常"; |
|
|
|
} |
|
|
|
if (bmi >= 24 && bmi < 27.9) { |
|
|
|
if (bmi >= 24 && bmi < 28) { |
|
|
|
tips = "超重"; |
|
|
|
} |
|
|
|
if (bmi >= 28) { |
|
|
|
if (bmi >= 28 && bmi < 30) { |
|
|
|
tips = "肥胖"; |
|
|
|
} |
|
|
|
if (bmi >= 30 && bmi < 40) { |
|
|
|
tips = "中度肥胖"; |
|
|
|
} |
|
|
|
if (bmi >= 40) { |
|
|
|
tips = "重度肥胖"; |
|
|
|
} |
|
|
|
this.form["SCWJ-JL"] = tips; |
|
|
|
}, |
|
|
|
// 上传成功回 - pdg |
|
|
@ -873,6 +897,12 @@ export default { |
|
|
|
this.disabled = false; |
|
|
|
this.$modal.msgSuccess("提交成功"); |
|
|
|
}); |
|
|
|
// 根据筛查结果,判断是否需要显示二维码 |
|
|
|
// 根据筛查结果,判断是否需要显示二维码 |
|
|
|
let flat = this.BMIVerdict[this.form["SCWJ-JL"]]; |
|
|
|
if (flat >= 3) { |
|
|
|
this.open = true; |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
@ -906,6 +936,9 @@ export default { |
|
|
|
</script> |
|
|
|
<style scoped src="@/assets/styles/common.css"></style> |
|
|
|
<style scoped> |
|
|
|
>>> .el-dialog__header { |
|
|
|
padding-bottom: 0; |
|
|
|
} |
|
|
|
>>> .el-checkbox { |
|
|
|
margin-right: 10px rtant; |
|
|
|
} |
|
|
@ -965,6 +998,9 @@ export default { |
|
|
|
.BIMTips4 { |
|
|
|
color: #ff9900; |
|
|
|
} |
|
|
|
.BIMTips5 { |
|
|
|
color: red; |
|
|
|
} |
|
|
|
.item-radio { |
|
|
|
display: block; |
|
|
|
margin-bottom: 10px; |
|
|
|