eight
2025-03-30 fad6097b889268af72ae2ff2f1206bdd7bd09b31
src/views/ecg/callingscreen/roomscreen.vue
@@ -1,6 +1,6 @@
<script setup lang="ts">
import {RoomBedVO} from "@/api/ecg/doctor";
import {RoomBedVO, RoomProfileVO} from "@/api/ecg/doctor";
import {RoomApi} from "@/api/ecg/room";
import {ScreenQueueVO, ScreenApi} from "@/api/ecg/screen";
import {CallApi, CallVO} from "@/api/ecg/call";
@@ -16,11 +16,7 @@
let curSpeakPat : CallVO | null = null;
const roomBed = ref<RoomBedVO>({
  roomId : null,
  roomName: null,
  bedNo: null
})
const roomProfile = ref<RoomProfileVO>()
const getList = async () => {
  const data = await ScreenApi.getRoomScreenData()
@@ -30,7 +26,7 @@
const getRoomByIp = async () => {
  const data = await RoomApi.getRoomByIP()
  roomBed.value = data
  roomProfile.value = data
}
const startScrolling = () => {
@@ -105,7 +101,7 @@
<template>
  <el-container style="height: 100%;">
    <el-header style="font-size: 25px">{{ roomBed.roomName }}</el-header>
    <el-header style="font-size: 25px">{{ roomProfile.roomName }}</el-header>
    <el-main>
      <el-table
          :data="list"
@@ -115,14 +111,29 @@
      >
        <el-table-column
            prop="patName"
            label="患者姓名"
            width="220">
            label="预约序号"
            width="60px">
          <template #default="scope">
            {{scope.row.bookSeqNum}} &nbsp; {{ nameDesensitize(scope.row.patName) }}
            {{scope.row.bookCheckType && checkTypeStore.getCheckTypeName(scope.row.bookCheckType)}}
            <span style="display:inline-block; width:60px;">{{checkTypeStore.getCheckTypeSeqPrefix(scope.row.bookCheckType)}}{{scope.row.bookSeqNum}} </span>
          </template>
        </el-table-column>
        <el-table-column label="状态" align="center" width="100">
        <el-table-column
            prop="patName"
            label="患者姓名"
            width="80px">
          <template #default="scope">
            <span style="display:inline-block; width:80px;">{{ nameDesensitize(scope.row.patName) }} </span>
          </template>
        </el-table-column>
        <el-table-column
            prop="patName"
            label="检查项目"
            width="80px">
          <template #default="scope">
            <span style="display:inline-block; width:80px;">{{scope.row.bookCheckType && checkTypeStore.getCheckTypeName(scope.row.bookCheckType)}} </span>
          </template>
        </el-table-column>
        <el-table-column label="状态" align="center" width="100px">
          <template #default="scope">
<!--            <dict-tag :type="DICT_TYPE.ECG_QUEUE_STATUS" :value="scope.row.status" />-->
            {{queueStatusConvert(scope.row.status)}}