<template>
  <div class="rightMiddle">
    <dv-border-box-13>
      <dv-scroll-board :config="config" />
    </dv-border-box-13>
  </div>
</template>

<script>
export default {
  data() {
    return {
      title: '白班 手术间：78 护理人员：135',
      titleWidth: 380,
      config: {
        header: ['手术间', '手术名称', '申请类型', '入手术室时间', '麻醉开始时间', '手术开始时间', '是否准点'],
        data: [
          [
            'WK01',
            '阑尾切除术',
            '<span class="emergent">紧急</span>',
            '2023-09-10 08:00',
            '2023-09-10 08:30',
            '2023-09-10 09:15',
            '<span class="colorBlue">准点</span>',
          ],
          [
            'WK02',
            '膝关节置换术',
            '<span class="otherDay">择期</span>',
            '2023-09-11 09:30',
            '2023-09-11 10:00',
            '2023-09-11 10:45',
            '<span class="colorpurple">不准点</span>',
          ],
          [
            'WK03',
            '白内障手术',
            '<span class="otherDay">择期</span>',
            '2023-09-12 14:45',
            '2023-09-12 15:15',
            '2023-09-12 15:45',
            '<span class="colorBlue">准点</span>',
          ],
          [
            'WK04',
            '胆囊切除术',
            '<span class="emergent">紧急</span>',
            '2023-09-13 08:30',
            '2023-09-13 09:00',
            '2023-09-13 09:45',
            '<span class="colorBlue">准点</span>',
          ],
          [
            'WK05',
            '阑尾切除术',
            '<span class="emergent">紧急</span>',
            '2023-09-14 07:45',
            '2023-09-14 08:15',
            '2023-09-14 08:45',
            '<span class="colorpurple">不准点</span>',
          ],
          [
            'WK06',
            '膝关节置换术',
            '<span class="otherDay">择期</span>',
            '2023-09-15 10:00',
            '2023-09-15 10:30',
            '2023-09-15 11:15',
            '<span class="colorBlue">准点</span>',
          ],
          [
            'WK07',
            '阑尾切除术',
            '<span class="emergent">紧急</span>',
            '2023-09-16 08:15',
            '2023-09-16 08:45',
            '2023-09-16 09:30',
            '<span class="colorpurple">不准点</span>',
          ],
          [
            'WK08',
            '白内障手术',
            '<span class="otherDay">择期</span>',
            '2023-09-17 14:30',
            '2023-09-17 15:00',
            '2023-09-17 15:45',
            '<span class="colorBlue">准点</span>',
          ],
          [
            'WK09',
            '胆囊切除术',
            '<span class="emergent">紧急</span>',
            '2023-09-18 08:45',
            '2023-09-18 09:15',
            '2023-09-18 10:00',
            '<span class="colorpurple">不准点</span>',
          ],
          [
            'WK10',
            '膝关节置换术',
            '<span class="otherDay">择期</span>',
            '2023-09-19 10:15',
            '2023-09-19 10:45',
            '2023-09-19 11:30',
            '<span class="colorBlue">准点</span>',
          ],
          [
            'WK11',
            '阑尾切除术',
            '<span class="emergent">紧急</span>',
            '2023-09-20 08:30',
            '2023-09-20 09:00',
            '2023-09-20 09:45',
            '<span class="colorBlue">准点</span>',
          ],
          [
            'WK12',
            '白内障手术',
            '<span class="otherDay">择期</span>',
            '2023-09-21 14:15',
            '2023-09-21 14:45',
            '2023-09-21 15:30',
            '<span class="colorpurple">不准点</span>',
          ],
          [
            'WK13',
            '胆囊切除术',
            '<span class="emergent">紧急</span>',
            '2023-09-22 08:00',
            '2023-09-22 08:30',
            '2023-09-22 09:15',
            '<span class="colorpurple">不准点</span>',
          ],
          [
            'WK14',
            '阑尾切除术',
            '<span class="emergent">紧急</span>',
            '2023-09-23 07:30',
            '2023-09-23 08:00',
            '2023-09-23 08:45',
            '<span class="colorpurple">不准点</span>',
          ],
          [
            'WK15',
            '膝关节置换术',
            '<span class="otherDay">择期</span>',
            '2023-09-24 10:30',
            '2023-09-24 11:00',
            '2023-09-24 11:45',
            '<span class="colorBlue">准点</span>',
          ],
          [
            'WK16',
            '白内障手术',
            '<span class="otherDay">择期</span>',
            '2023-09-25 14:00',
            '2023-09-25 14:30',
            '2023-09-25 15:15',
            '<span class="colorpurple">不准点</span>',
          ],
          [
            'WK17',
            '胆囊切除术',
            '<span class="emergent">紧急</span>',
            '2023-09-26 08:15',
            '2023-09-26 08:45',
            '2023-09-26 09:30',
            '<span class="colorpurple">不准点</span>',
          ],
          [
            'WK18',
            '阑尾切除术',
            '<span class="emergent">紧急</span>',
            '2023-09-27 07:45',
            '2023-09-27 08:15',
            '2023-09-27 09:00',
            '<span class="colorpurple">不准点</span>',
          ],
          [
            'WK19',
            '膝关节置换术',
            '<span class="otherDay">择期</span>',
            '2023-09-28 10:45',
            '2023-09-28 11:15',
            '2023-09-28 12:00',
            '<span class="colorBlue">准点</span>',
          ],
          [
            'WK20',
            '白内障手术',
            '<span class="otherDay">择期</span>',
            '2023-09-29 13:45',
            '2023-09-29 14:15',
            '2023-09-29 14:45',
            '<span class="colorpurple">不准点</span>',
          ],
        ],
        rowNum: 12,
        waitTime: 100000,
        carousel: 'page',
        headerBGC: 'rgba(74, 78, 103, 0.4)',
        oddRowBGC: 'rgba(74, 78, 103, 0.15)',
        evenRowBGC: 'rgba(74, 78, 103, 0.15)',
        headerHeight: '48',
        align: ['center', 'center', 'center', 'center', 'center', 'center', 'center'],
        columnWidth: [95, 220, 90],
      },
    };
  },
};
</script>

<style lang="scss" scoped>
@import '@/assets/scss/pxtovw.scss';
.rightMiddle {
  height: 100%;
  background: #011343;
  :deep(.dv-border-box-13) {
    box-sizing: border-box;
    padding: vw(20);
    .dv-scroll-board {
      height: 100%;
      .header-item {
        font-size: vw(16);
        color: '#aaa';
      }
      .ceil {
        font-size: vw(16);
        white-space: nowrap;
      }
      .row-item {
        .colorBlue {
          color: #349afc !important;
        }
        .colorpurple {
          color: #a53faf !important;
        }
        .emergent {
          padding: vw(5) vw(10);
          color: #03f0b4;
          border: 1px solid #03f0b4;
          border-radius: 4px;
        }
        .otherDay {
          padding: vw(5) vw(10);
          color: #f08503;
          border: 1px solid #f08503;
          border-radius: 4px;
        }
      }
    }
  }
}
</style>
