eight
2024-09-14 3ce5338086abe4a432e01ca447efce3adc459cd4
诊间屏 布局调整
已修改1个文件
62 ■■■■■ 文件已修改
src/views/ecg/callingscreen/roomscreen.vue 62 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/ecg/callingscreen/roomscreen.vue
@@ -40,32 +40,48 @@
</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>