eight
2025-04-11 22a9a5fe525fb893ecaa8d4a8bfb65169ce02fc4
src/views/ecg/devrent/index.vue
@@ -1,3 +1,4 @@
<!--检查记录界面-->
<template>
  <ContentWrap>
    <!-- 搜索工作栏 -->
@@ -101,7 +102,12 @@
      <el-table-column label="设备编号" align="center" prop="devId" />
      <el-table-column label="患者编号" align="center" prop="patId" />
      <el-table-column label="患者名称" align="center" prop="patName" />
      <el-table-column label="检查状态" align="center" prop="state" >
      <el-table-column label="检查类型" align="center" prop="checkType" width="100px">
        <template #default="scope">
          <span>{{getCheckTypeName(scope.row.checkType)}}</span>
        </template>
      </el-table-column>
      <el-table-column label="检查状态" align="center" prop="state" width="90px">
        <template #default="scope">
          <span>{{tranlateCheckState(scope.row.state)}}</span>
        </template>
@@ -173,6 +179,7 @@
import { DevRentApi, DevRentVO } from '@/api/ecg/devrent'
import DevRentForm from './DevRentForm.vue'
import {tranlateCheckState} from "../../../utils/statusFormatter";
import {useCheckTypeStore} from "@/store/modules/checkType";
/** 装机拆机 列表 */
defineOptions({ name: 'DevRent' })
@@ -180,6 +187,8 @@
const message = useMessage() // 消息弹窗
const { t } = useI18n() // 国际化
const checkTypeStore = useCheckTypeStore()
const loading = ref(true) // 列表的加载中
const list = ref<DevRentVO[]>([]) // 列表的数据
const total = ref(0) // 列表的总页数