eight
2024-12-10 b3631abf0aaddb74be6ebd0803792833bb7285e6
src/views/ecg/callingscreen/roomscreen.vue
@@ -5,8 +5,11 @@
import {ScreenQueueVO, ScreenApi} from "@/api/ecg/screen";
import {CallApi, CallVO} from "@/api/ecg/call";
import {queueStatusConvert} from "../../../utils/statusFormatter";
import {useCheckTypeStore} from "@/store/modules/checkType";
defineOptions({ name: 'roomscreen' })
const checkTypeStore = useCheckTypeStore()
const list = ref<ScreenQueueVO[]>([]) // 列表的数据
//const listPassed = ref<ScreenQueueVO[]>([]) // 过号列表的数据
@@ -112,13 +115,29 @@
      >
        <el-table-column
            prop="patName"
            label="患者姓名"
            width="80">
            label="预约序号"
            width="60px">
          <template #default="scope">
            {{scope.row.bookSeqNum}} &nbsp; {{ nameDesensitize(scope.row.patName) }}
            <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="130">
        <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)}}