| | |
| | | import {PropType} from "vue"; |
| | | import {useCheckTypeStore} from "@/store/modules/checkType"; |
| | | import {UserVO} from "@/store/modules/user"; |
| | | import {getCheckTypeName} from "../../../utils/checkTypeFormatter"; |
| | | |
| | | const emit = defineEmits(['event-haveseat', 'event-leaveseat', 'event-setcurseat']) |
| | | |
| | |
| | | const props = defineProps({ |
| | | // defineProps({ |
| | | title: { |
| | | type: String, |
| | | type: Number, |
| | | required: true |
| | | }, |
| | | bedList: { |
| | |
| | | |
| | | <template> |
| | | <el-card style="width: 200px" shadow="hover" > |
| | | <template #header>{{title}}</template> |
| | | <template #header>{{bedList[0].roomName}}</template> |
| | | <div v-for="(bedItem, index) in bedList" :key="index"> |
| | | <div class="deskwarp"> |
| | | |
| | | <div v-for="(checkType, subIndex) in bedItem.checkTypes" :key="subIndex"> |
| | | {{checkTypeStore.getCheckTypeName(checkType)}} |
| | | {{getCheckTypeName(checkType)}} |
| | | </div> |
| | | <div> |
| | | {{bedItem.opType === 1?"领用":""}} |