| | |
| | | class="!w-220px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="叫号列" prop="callingColumn"> |
| | | <el-input |
| | | v-model="queryParams.callingColumn" |
| | | placeholder="请输入叫号列" |
| | | clearable |
| | | @keyup.enter="handleQuery" |
| | | class="!w-240px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="是否显示患者条码" prop="displayBarcode"> |
| | | <el-input |
| | | v-model="queryParams.displayBarcode" |
| | | placeholder="请输入是否显示患者条码" |
| | | clearable |
| | | @keyup.enter="handleQuery" |
| | | class="!w-240px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="是否需要确费" prop="expenseRecognition"> |
| | | <el-input |
| | | v-model="queryParams.expenseRecognition" |
| | | placeholder="请输入是否需要确费" |
| | | clearable |
| | | @keyup.enter="handleQuery" |
| | | class="!w-240px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="时段预约规定人数" prop="timeslotBookNum"> |
| | | <el-input |
| | | v-model="queryParams.timeslotBookNum" |
| | | placeholder="请输入时段预约规定人数" |
| | | clearable |
| | | @keyup.enter="handleQuery" |
| | | class="!w-240px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="每时段预留人数" prop="timeslotReservedNum"> |
| | | <el-input |
| | | v-model="queryParams.timeslotReservedNum" |
| | | placeholder="请输入每时段预留人数" |
| | | clearable |
| | | @keyup.enter="handleQuery" |
| | | class="!w-240px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="亲和的检查类型" prop="affinityCheckTypes"> |
| | | <el-input |
| | | v-model="queryParams.affinityCheckTypes" |
| | | placeholder="请输入亲和的检查类型" |
| | | clearable |
| | | @keyup.enter="handleQuery" |
| | | class="!w-240px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button> |
| | | <el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button> |
| | |
| | | <ContentWrap> |
| | | <el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true"> |
| | | <el-table-column label="id" align="center" prop="id" /> |
| | | <el-table-column label="检查类型名" align="center" prop="name" /> |
| | | <el-table-column label="检查类型名" align="center" prop="name" width="180px"/> |
| | | <el-table-column label="检查类型值" align="center" prop="value" /> |
| | | <el-table-column label="允许准备中人数" align="center" prop="readyNum" /> |
| | | <!-- <el-table-column label="创建时间" align="center" prop="createTime" :formatter="dateFormatter" width="180px />--> |
| | | <el-table-column label="需要设备领用" align="center" prop="needDevReady"> |
| | | <template #default="scope"> |
| | | {{scope.row.needDevReady === 0 ? "不需要":"需要"}} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="创建时间" |
| | | align="center" |
| | | prop="createTime" |
| | | :formatter="dateFormatter" |
| | | width="180px" |
| | | /> |
| | | <el-table-column label="叫号列" align="center" prop="callingColumn" /> |
| | | <el-table-column label="是否显示患者条码" align="center" prop="displayBarcode" /> |
| | | <el-table-column label="是否需要确费" align="center" prop="expenseRecognition" /> |
| | | <el-table-column label="时段预约规定人数" align="center" prop="timeslotBookNum" /> |
| | | <el-table-column label="每时段预留人数" align="center" prop="timeslotReservedNum" /> |
| | | <el-table-column label="亲和的检查类型" align="center" prop="affinityCheckTypes" > |
| | | <template #default="scope"> |
| | | <div v-for="(checkType, subIndex) in scope.row.affinityCheckTypes" :key="subIndex"> |
| | | {{checkTypeStore.getCheckTypeName(checkType)}} |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" align="center" min-width="120px"> |
| | | <template #default="scope"> |
| | | <el-button |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import { DICT_TYPE } from '@/utils/dict' |
| | | import { dateFormatter } from '@/utils/formatTime' |
| | | import {dateFormatter, dateFormatter2} from '@/utils/formatTime' |
| | | import download from '@/utils/download' |
| | | import { CheckTypeApi, CheckTypeVO } from '@/api/ecg/checktype' |
| | | import CheckTypeForm from './CheckTypeForm.vue' |
| | | import {useCheckTypeStore} from "@/store/modules/checkType"; |
| | | |
| | | /** 检查类型 列表 */ |
| | | defineOptions({ name: 'CheckType' }) |
| | | |
| | | const message = useMessage() // 消息弹窗 |
| | | const { t } = useI18n() // 国际化 |
| | | |
| | | const checkTypeStore = useCheckTypeStore(); |
| | | |
| | | const loading = ref(true) // 列表的加载中 |
| | | const list = ref<CheckTypeVO[]>([]) // 列表的数据 |
| | |
| | | value: undefined, |
| | | readyNum: undefined, |
| | | createTime: [], |
| | | needDevReady: undefined |
| | | needDevReady: undefined, |
| | | callingColumn: undefined, |
| | | displayBarcode: undefined, |
| | | expenseRecognition: undefined, |
| | | timeslotBookNum: undefined, |
| | | timeslotReservedNum: undefined, |
| | | affinityCheckTypes: undefined |
| | | }) |
| | | const queryFormRef = ref() // 搜索的表单 |
| | | const exportLoading = ref(false) // 导出的加载中 |