eight
2025-04-11 22a9a5fe525fb893ecaa8d4a8bfb65169ce02fc4
src/views/ecg/devrent/index.vue
@@ -1,3 +1,4 @@
<!--检查记录界面-->
<template>
  <ContentWrap>
    <!-- 搜索工作栏 -->
@@ -101,7 +102,17 @@
      <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
      <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>
      </el-table-column>
        <el-table-column
        label="检查&装机时间"
        align="center"
        prop="rentTime"
@@ -167,12 +178,16 @@
import download from '@/utils/download'
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' })
const message = useMessage() // 消息弹窗
const { t } = useI18n() // 国际化
const checkTypeStore = useCheckTypeStore()
const loading = ref(true) // 列表的加载中
const list = ref<DevRentVO[]>([]) // 列表的数据
@@ -256,4 +271,4 @@
onMounted(() => {
  getList()
})
</script>
</script>