| | |
| | | <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="checkType" width="100px"> |
| | | <template #default="scope"> |
| | | <span>{{checkTypeStore.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> |
| | |
| | | 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[]>([]) // 列表的数据 |
| | | const total = ref(0) // 列表的总页数 |