eight
2025-04-15 589bcdb26f8e9d3e0d5ef46d27acc901c96d50ea
src/components/RoomBedSelect/src/RoomBedSelect.vue
@@ -3,6 +3,7 @@
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'])
@@ -13,7 +14,7 @@
const  props = defineProps({
// defineProps({
  title: {
    type: String,
    type: Number,
    required: true
  },
  bedList: {
@@ -51,12 +52,12 @@
<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?"领用":""}}