eight
2024-10-23 83bc7f6d33934f56fd1df80c7e8975e7c887d606
src/views/ecg/doctor/components/QueuePanel.vue
@@ -3,12 +3,15 @@
import { QueueVO } from '@/api/ecg/queue'
import {DICT_TYPE} from "@/utils/dict";
import {PatientVO, DoctorApi} from "@/api/ecg/doctor";
import {useCheckTypeStore} from "@/store/modules/checkType";
defineComponent({
  name: 'QueuePanel'
})
const emit = defineEmits(['event_RecallFinish']) // 定义 success 事件,用于操作成功后的回调
const checkTypeStore = useCheckTypeStore();
const message = useMessage() // 消息弹窗
@@ -50,7 +53,7 @@
  <span style="display:inline-block; width:70px;"> {{item.seqNum}} &nbsp; {{item.patName}}{{item.passed === 0 ? "":"*"}} </span>
  <dict-tag :type="DICT_TYPE.SYSTEM_USER_SEX" :value="item.patGender" />
<!--  {{item.roomName}} {{item.bedNo}}-->
  <dict-tag :type="DICT_TYPE.ECG_CHECK_TYPE" :value="item.bookCheckType" />
  checkTypeStore.getCheckTypeName(item.bookCheckType)
  <dict-tag :type="DICT_TYPE.ECG_QUEUE_STATUS" :value="item.status" />
  <el-button v-if="item.status === 5 || item.status === 7" @click="recall(item)"> 召回 </el-button>
</div>