| | |
| | | <el-table-column label="诊室IP" align="center" prop="ip" /> |
| | | <el-table-column label="检查类型" align="center" prop="checkTypes" width="180px"> |
| | | <template #default="scope"> |
| | | {{scope.row.checkTypes}} |
| | | <div v-for="(checkType, subIndex) in scope.row.checkTypes" :key="subIndex"> |
| | | {{checkTypeStore.getCheckTypeName(checkType)}} |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import {dateFormatter, dateFormatter2} from '@/utils/formatTime' |
| | | import {dateFormatter2} from '@/utils/formatTime' |
| | | import download from '@/utils/download' |
| | | import { RoomApi, RoomVO } from '@/api/ecg/room' |
| | | import RoomForm from './RoomForm.vue' |
| | | import {useCheckTypeStore} from "@/store/modules/checkType"; |
| | | |
| | | /** 诊室和诊疗床 列表 */ |
| | | defineOptions({ name: 'Room' }) |
| | |
| | | const message = useMessage() // 消息弹窗 |
| | | const { t } = useI18n() // 国际化 |
| | | |
| | | const checkTypeStore = useCheckTypeStore(); |
| | | |
| | | const loading = ref(true) // 列表的加载中 |
| | | const list = ref<RoomVO[]>([]) // 列表的数据 |
| | | const total = ref(0) // 列表的总页数 |