Browse Source

筛查首页结论颜色调整

newMaster
1747191978@qq.com 3 months ago
parent
commit
fe01a05939
  1. 4
      acupuncture-前台/src/views/screening/h5.vue
  2. 23
      acupuncture-前台/src/views/screening/index.vue
  3. 23
      acupuncture-后台/src/views/screening/index.vue

4
acupuncture-前台/src/views/screening/h5.vue

@ -98,8 +98,8 @@
</el-form-item>
<el-form-item label="结论" prop="SCWJ-JL">
<span :class="`BIMTips${BMIVerdict[form['SCWJ-JL']]}`">
{{ form["SCWJ-JL"] || "- - -" }}</span
>
{{ form["SCWJ-JL"] || "- - -" }}
</span>
</el-form-item>
</div>
</el-form>

23
acupuncture-前台/src/views/screening/index.vue

@ -163,6 +163,11 @@
prop="SCWJ-JL"
min-width="150"
>
<template slot-scope="scope">
<span :class="`BIMTips${BMIVerdict[scope.row['SCWJ-JL']]}`">
{{ scope.row["SCWJ-JL"] || "- - -" }}
</span>
</template>
</el-table-column>
<el-table-column
label="失眠自评(SRSS)"
@ -222,6 +227,12 @@ export default {
dicts: ["sys_notice_status", "sys_notice_type"],
data() {
return {
BMIVerdict: {
体重过轻: "1",
正常: "2",
超重: "3",
肥胖: "4",
},
queryTime: [], //
tenantsListData: [], //
loading: false, //
@ -344,6 +355,18 @@ export default {
</script>
<style scoped src="@/assets/styles/common.css"></style>
<style scoped>
.BIMTips1 {
color: #cccccc;
}
.BIMTips2 {
color: #66cc00;
}
.BIMTips3 {
color: #c3c300;
}
.BIMTips4 {
color: #ff9900;
}
.form-item-age {
display: flex;
align-items: center;

23
acupuncture-后台/src/views/screening/index.vue

@ -163,6 +163,11 @@
prop="SCWJ-JL"
min-width="150"
>
<template slot-scope="scope">
<span :class="`BIMTips${BMIVerdict[scope.row['SCWJ-JL']]}`">
{{ scope.row["SCWJ-JL"] || "- - -" }}
</span>
</template>
</el-table-column>
<el-table-column
label="失眠自评(SRSS)"
@ -222,6 +227,12 @@ export default {
dicts: ["sys_notice_status", "sys_notice_type"],
data() {
return {
BMIVerdict: {
体重过轻: "1",
正常: "2",
超重: "3",
肥胖: "4",
},
queryTime: [], //
tenantsListData: [], //
loading: false, //
@ -344,6 +355,18 @@ export default {
</script>
<style scoped src="@/assets/styles/common.css"></style>
<style scoped>
.BIMTips1 {
color: #cccccc;
}
.BIMTips2 {
color: #66cc00;
}
.BIMTips3 {
color: #c3c300;
}
.BIMTips4 {
color: #ff9900;
}
.form-item-age {
display: flex;
align-items: center;

Loading…
Cancel
Save