修改
This commit is contained in:
parent
bc3ffa474d
commit
aec2c46121
@ -39,6 +39,13 @@
|
||||
<el-table-column prop="updated_at" label="最后一次检查时间" min-width="60" />
|
||||
<el-table-column prop="gender" label="性别" min-width="60" />
|
||||
<el-table-column prop="num" label="测试次数" min-width="60" />
|
||||
<el-table-column prop="status" label="测试状态" min-width="60">
|
||||
<template #default="scope">
|
||||
<span v-if="!scope.row.status" style="font-size: 14px;color:#F59A23;">未处理</span>
|
||||
<span v-else style="font-size: 14px;color:#ffffff;">已处理</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="doctor" label="测试医生" min-width="60" />
|
||||
<el-table-column fixed="right" label="操作" width="80">
|
||||
<template #default="scope">
|
||||
<el-button link type="primary" size="small" @click="delClick(scope.row.id)">删除</el-button>
|
||||
@ -347,6 +354,7 @@ const filteredPatients = computed(() => {
|
||||
if (!searchKeyword.value) {
|
||||
return patients.value
|
||||
}
|
||||
|
||||
return patients.value.filter(patient =>
|
||||
patient.name.toLowerCase().includes(searchKeyword.value.toLowerCase())
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user