eight
2024-09-01 ff05ffe7f250bda96627d62b4bf1979fc6141e0b
error tips
已修改1个文件
17 ■■■■■ 文件已修改
src/views/ecg/doctor/index.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/ecg/doctor/index.vue
@@ -4,7 +4,7 @@
import {DoctorApi, PatientStatisticVO, RoomBedVO} from '@/api/ecg/doctor';
import {useUserStore} from "@/store/modules/user";
import {QueueVO} from "@/api/ecg/queue";
import {ElMessage} from "element-plus";
import {ElMessage, ElNotification} from "element-plus";
const userStore = useUserStore();
@@ -51,6 +51,15 @@
}
const initLoad = async () => {
  if (roomBedVO.roomId == null) {
    ElNotification.error({
      message: '请重新就座!',
      type: 'info',
      duration: 3000 // 自动关闭时间,默认为3000ms
    })
    return
  }
  patientList.value = await DoctorApi.getPatientList(roomBedVO)
  patientStat.value = await DoctorApi.getPatientStatistic(roomBedVO)
  const queueVO2 = await DoctorApi.bedDoctorGet(roomBedVO)
@@ -99,12 +108,6 @@
  } else {
    roomBedVO.roomId = null
    roomBedVO.bedNo = null
    ElMessage({
      message: '请先入座!',
      type: 'info',
      duration: 3000 // 自动关闭时间,默认为3000ms
    })
  }
  bedControlFlag.value = false