This commit is contained in:
@zuopngfei 2025-06-09 15:33:00 +08:00
parent 6456393d40
commit ab92d4998e
2 changed files with 12 additions and 2 deletions

View File

@ -41,7 +41,13 @@
<el-table-column prop="mobile" label="账号" />
<el-table-column prop="operative_date" label="胆道闭锁手术时间" />
<el-table-column prop="postoperative_duration" label="术后时长" />
<el-table-column prop="risk_value" label="当前风险" />
<el-table-column prop="risk_type" label="当前风险">
<template #default="scope">
<el-tag v-if="scope.row.risk_type === 1" type="success">低危</el-tag>
<el-tag v-if="scope.row.risk_type === 2" type="warning">中危</el-tag>
<el-tag v-if="scope.row.risk_type === 3" type="danger">高危</el-tag>
</template>
</el-table-column>
<el-table-column prop="growth_curve_type" label="生长曲线" >
<template #default="scope">
<el-tag v-if="scope.row.growth_curve_type === 0" type="">未知</el-tag>

View File

@ -7,7 +7,11 @@
<el-descriptions-item label="账号">{{ userInfo.mobile }} </el-descriptions-item>
<el-descriptions-item label="胆道闭锁手术时间">{{ userInfo.operative_date }} </el-descriptions-item>
<el-descriptions-item label="术后时长">{{ userInfo.postoperative_duration }} </el-descriptions-item>
<el-descriptions-item label="当前风险">{{ userInfo.risk_value }} </el-descriptions-item>
<el-descriptions-item label="当前风险">
<el-tag v-if="userInfo.risk_type === 1" type="success">低危</el-tag>
<el-tag v-if="userInfo.risk_type === 2" type="warning">中危</el-tag>
<el-tag v-if="userInfo.risk_type === 3" type="danger">高危</el-tag>
</el-descriptions-item>
<el-descriptions-item label="生长曲线">
<el-tag v-if="userInfo.growth_curve_type === 0" type="">未知</el-tag>
<el-tag v-if="userInfo.growth_curve_type === 1" type="warning">轻度偏高</el-tag>