| | |
| | | </script> |
| | | |
| | | <template> |
| | | <el-container> |
| | | <el-aside width="200px">A----</el-aside> |
| | | <el-container> |
| | | <el-header>{{ roomBed.roomName }}</el-header> |
| | | <el-main> |
| | | <el-table |
| | | :data="list" |
| | | stripe |
| | | :show-header="false" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | prop="patName" |
| | | label="患者姓名" |
| | | width="80"/> |
| | | <el-table-column label="状态" align="center" :prop="status" width="80"> |
| | | <template #default="scope"> |
| | | {{ statusMap.get(scope.row.status) }} |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-main> |
| | | <el-footer>F----</el-footer> |
| | | </el-container> |
| | | <el-container style="height: 100%;"> |
| | | <el-header style="font-size: 25px">{{ roomBed.roomName }}</el-header> |
| | | <el-main> |
| | | <el-table |
| | | :data="list" |
| | | stripe |
| | | :show-header="false" |
| | | style="width: 100%; height: 100%; border: solid var(--el-color-primary-light-7); font-size: 18px;"> |
| | | <el-table-column |
| | | prop="patName" |
| | | label="患者姓名" |
| | | width="80"/> |
| | | <el-table-column label="状态" align="center" :prop="status" width="80"> |
| | | <template #default="scope"> |
| | | {{ statusMap.get(scope.row.status) }} |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-main> |
| | | </el-container> |
| | | </template> |
| | | |
| | | <style scoped lang="scss"> |
| | | .el-header, .el-footer { |
| | | background-color: var(--el-color-primary-light-7); |
| | | color: #333; |
| | | text-align: center; |
| | | line-height: 60px; |
| | | } |
| | | |
| | | .el-aside { |
| | | background-color: var(--el-color-primary-light-7); |
| | | color: #333; |
| | | text-align: center; |
| | | line-height: 200px; |
| | | } |
| | | |
| | | .el-main { |
| | | background-color: var(--el-color-primary-light-7); |
| | | color: #333; |
| | | padding: 0 0; |
| | | text-align: center; |
| | | line-height: 160px; |
| | | } |
| | | </style> |