| | |
| | | <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> |
| | | <!-- |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | |
| | | > |
| | | <Icon icon="ep:plus" class="mr-5px" /> 新增 |
| | | </el-button> |
| | | --> |
| | | <!-- |
| | | <el-button |
| | | type="success" |
| | | plain |
| | |
| | | > |
| | | <Icon icon="ep:download" class="mr-5px" /> 导出 |
| | | </el-button> |
| | | --> |
| | | </el-form-item> |
| | | </el-form> |
| | | </ContentWrap> |
| | |
| | | <el-button |
| | | link |
| | | type="primary" |
| | | @click="openForm('update', scope.row.id)" |
| | | v-hasPermi="['ecg:queue:update']" |
| | | @click="openAppointmentForm('preview', scope.row.patId)" |
| | | v-hasPermi="['ecg:appointment:preview']" |
| | | > |
| | | 编辑 |
| | | 查看 |
| | | </el-button> |
| | | <!-- |
| | | <el-button |
| | | link |
| | | type="danger" |
| | |
| | | > |
| | | 删除 |
| | | </el-button> |
| | | --> |
| | | <el-button |
| | | link |
| | | type="danger" |
| | |
| | | v-if="scope.row.status === 10" |
| | | v-hasPermi="['ecg:queue:jump']" |
| | | > |
| | | {{scope.row.jumpFlag === 0? "插队" : "取消插队"}} |
| | | {{scope.row.jumpFlag === 0? "加急" : "取消加急"}} |
| | | </el-button> |
| | | <el-button |
| | | link |
| | |
| | | </ContentWrap> |
| | | |
| | | <!-- 表单弹窗:添加/修改 --> |
| | | <queueForm ref="formRef" @success="getList" /> |
| | | <!-- <queueForm ref="formRef" @success="getList" />--> |
| | | |
| | | <!-- 表单弹窗:添加/修改 --> |
| | | <AppointmentForm ref="formRef" @event_appointment_success="getList" /> |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | |
| | | import {DICT_TYPE, getIntDictOptions} from '@/utils/dict' |
| | | import {DoctorApi, PatientVO} from "@/api/ecg/doctor"; |
| | | import {useCheckTypeStore} from "@/store/modules/checkType"; |
| | | import AppointmentForm from "@/views/ecg/appointment/AppointmentForm.vue"; |
| | | |
| | | /** 排队 列表 */ |
| | | defineOptions({ name: 'queue' }) |
| | |
| | | const openForm = (type: string, id?: number) => { |
| | | formRef.value.open(type, id) |
| | | } |
| | | const openAppointmentForm = (type: string, patId: string, status: number) => { |
| | | formRef.value.openByQueue(type, patId, status) |
| | | } |
| | | |
| | | /** 删除按钮操作 */ |
| | | const handleDelete = async (id: number) => { |