You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
119 lines
2.1 KiB
119 lines
2.1 KiB
<template>
|
|
<div class="app-container" v-loading="loading">
|
|
<div class="hospital">测评已完成</div>
|
|
<div class="card">
|
|
<div class="card-title">测评结果</div>
|
|
<div>
|
|
<div class="tip-content">主要体质:{{ resultData.result1 || "-" }}</div>
|
|
<div class="tip-content">兼夹体质:{{ resultData.result2 || "-" }}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { evaResult } from "@/api/medicalFile.js";
|
|
export default {
|
|
name: "Notice",
|
|
data() {
|
|
return {
|
|
loading: false,
|
|
resultData: {},
|
|
};
|
|
},
|
|
created() {
|
|
this.evaId = this.$route.query.evaId;
|
|
this.getEvaResult();
|
|
},
|
|
methods: {
|
|
getEvaResult() {
|
|
this.loading = true;
|
|
evaResult({ param: { evaId: this.evaId } }).then((res) => {
|
|
this.resultData = res.data;
|
|
this.loading = false;
|
|
});
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
<style scoped src="@/assets/styles/common.css"></style>
|
|
<style scoped>
|
|
.tip-content {
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
color: #8e592d;
|
|
padding-right: 60px;
|
|
width: 100%;
|
|
text-align: left;
|
|
}
|
|
.hospital1 {
|
|
text-align: center;
|
|
font-size: 14px;
|
|
color: #999;
|
|
}
|
|
.hospital {
|
|
background: #fff;
|
|
font-size: 20px;
|
|
color: #70483e;
|
|
line-height: 50px;
|
|
font-weight: 600;
|
|
margin-bottom: 10px;
|
|
border-radius: 6px;
|
|
text-align: center;
|
|
}
|
|
.BIMTips1 {
|
|
color: #cccccc;
|
|
}
|
|
.BIMTips2 {
|
|
color: #66cc00;
|
|
}
|
|
.BIMTips3 {
|
|
color: #c3c300;
|
|
}
|
|
.BIMTips4 {
|
|
color: #ff9900;
|
|
}
|
|
.BIMTips5 {
|
|
color: red;
|
|
}
|
|
.item-radio {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
}
|
|
.item-title {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
color: #3d3d3d;
|
|
line-height: 26px;
|
|
}
|
|
.item-radio-box {
|
|
margin: 16px 0px;
|
|
}
|
|
|
|
.card {
|
|
padding: 16px;
|
|
background: #fff;
|
|
border-radius: 6px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.card-title {
|
|
font-weight: 600;
|
|
font-size: 20px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.card-tips {
|
|
font-size: 14px;
|
|
color: #999999;
|
|
}
|
|
/* */
|
|
.app-container {
|
|
/* background: linear-gradient(to bottom, #70483e, #f7f8fa); */
|
|
background: #70483e;
|
|
min-height: 100vh;
|
|
}
|
|
</style>
|
|
<!-- >>> .el-input__inner {
|
|
padding: 0 15px !important;
|
|
} -->
|
|
|