<script setup lang="ts">
|
import {defineComponent, PropType} from "vue";
|
import {PatientStatisticVO, RoomBedVO} from "@/api/ecg/doctor";
|
|
defineComponent({
|
name: 'TitlePanel'
|
})
|
|
const props = defineProps({
|
room: {
|
type: Object as PropType<RoomBedVO>,
|
required: true
|
},
|
patientStatistic: {
|
type: Object as PropType<PatientStatisticVO>,
|
required: true
|
}
|
})
|
|
</script>
|
|
<template>
|
<div class="mytitle">
|
<div>
|
{{room.roomName || ''}} {{room.bedNo || ''}}
|
</div>
|
<div>
|
已就诊{{patientStatistic.finishedNum==undefined ? 0 : patientStatistic.finishedNum}}
|
准备中{{patientStatistic.readyNum==undefined ? 0 : patientStatistic.readyNum}}
|
过号{{patientStatistic.passedNum==undefined ? 0 : patientStatistic.passedNum}}
|
排队中{{patientStatistic.queuingNum==undefined ? 0 : patientStatistic.queuingNum}}
|
</div>
|
</div>
|
|
</template>
|
|
<style scoped lang="scss">
|
.mytitle {
|
display: flex;
|
justify-content: space-between;
|
}
|
</style>
|