eight
2024-08-23 f6d5dc98286c7eb1e80092084b96be54ecd56dfe
src/views/ecg/room/RoomStatusSetting.vue
@@ -5,12 +5,16 @@
    </div>
  </div>
  <el-button @click="startUsing">启用</el-button>
  <el-button @click="startBiz"> 手动开诊 </el-button>
</template>
<script setup lang="ts">
import {RoomStatus} from "@/components/RoomStatus"
import { RoomApi, RoomVO } from '@/api/ecg/room'
import { queueApi, queueVO } from '@/api/ecg/queue'
defineOptions({ name: 'RoomStatusSetting' })
const bedMap = ref<Map<String, RoomVO[]>>() // 列表的数据
@@ -24,6 +28,10 @@
  await queueApi.openingSetting();
}
const startBiz = async () => {
  await queueApi.startBiz();
}
/** 初始化 **/
onMounted(() => {
    getList()