wewe
This commit is contained in:
parent
0d618fd2b7
commit
22c6fe6da1
@ -52,12 +52,12 @@
|
|||||||
<el-table-column prop="mobile" label="账号" />
|
<el-table-column prop="mobile" label="账号" />
|
||||||
<el-table-column prop="operative_date" label="胆道闭锁手术时间" />
|
<el-table-column prop="operative_date" label="胆道闭锁手术时间" />
|
||||||
<el-table-column prop="postoperative_duration" label="术后时长" />
|
<el-table-column prop="postoperative_duration" label="术后时长" />
|
||||||
<el-table-column label="当前风险">
|
<el-table-column label="当前风险" width="180">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-tag v-if="scope.row.risk_type === 0" type="info">未知</el-tag>
|
<span v-if="scope.row.risk_type === 0" type="info">未知</span>
|
||||||
<el-tag v-if="scope.row.risk_type === 1" type="success">低危 (PELD = {{scope.row.risk_value}})</el-tag>
|
<span v-if="scope.row.risk_type === 1" class="success">低危 (PELD = {{scope.row.risk_value}})</span>
|
||||||
<el-tag v-if="scope.row.risk_type === 2" type="warning">中危 (PELD = {{scope.row.risk_value}})</el-tag>
|
<span v-if="scope.row.risk_type === 2" class="warning">中危 (PELD = {{scope.row.risk_value}})</span>
|
||||||
<el-tag v-if="scope.row.risk_type === 3" type="danger">高危 (PELD = {{scope.row.risk_value}})</el-tag>
|
<span v-if="scope.row.risk_type === 3" class="danger">高危 (PELD = {{scope.row.risk_value}})</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="身高生长曲线" >
|
<el-table-column label="身高生长曲线" >
|
||||||
@ -77,7 +77,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="next_follow_date" label="下次随访时间" />
|
<el-table-column prop="next_follow_date" label="下次随访时间" />
|
||||||
<el-table-column label="操作">
|
<el-table-column label="操作" fixed="right" width="100">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button type="primary" @click="handleCheck(scope.row)" size="small">查看详情</el-button>
|
<el-button type="primary" @click="handleCheck(scope.row)" size="small">查看详情</el-button>
|
||||||
</template>
|
</template>
|
||||||
@ -238,4 +238,13 @@ onMounted(() => {
|
|||||||
.el-button{
|
.el-button{
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
.success{
|
||||||
|
color: var(--el-color-success);
|
||||||
|
}
|
||||||
|
.warning{
|
||||||
|
color: var(--el-color-warning);
|
||||||
|
}
|
||||||
|
.danger{
|
||||||
|
color: var(--el-color-danger);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Loading…
x
Reference in New Issue
Block a user