eight
2024-11-26 a4aa98cebc5d503bbc93f8f6e158b1d3a28a4a9d
src/views/ecg/queue/index.vue
@@ -67,6 +67,7 @@
      </el-form-item>
      <el-form-item label="排队状态" prop="status">
        <el-select
          multiple
          v-model="queryParams.status"
          placeholder="请选择排队状态"
          clearable
@@ -130,6 +131,7 @@
  <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="episodeId" min-width="150px"/>
      <el-table-column label="患者编号" align="center" prop="patId" />
      <el-table-column label="患者姓名" align="center" min-width="120px">
        <template #default="scope">
@@ -204,7 +206,7 @@
            link
            type="danger"
            @click="recall(scope.row)"
            v-if="scope.row.status === 5"
            v-if="scope.row.status === 5 || scope.row.status === 7"
            v-hasPermi="['ecg:queue:recall']"
          >
            召回
@@ -259,7 +261,7 @@
  bookTimeslot: undefined,
  bookCheckType: undefined,
  seqNum: undefined,
  status: undefined,
  status: [],
  passed: undefined,
  expired: undefined,
  roomId: undefined,
@@ -334,10 +336,18 @@
    roomId: item.roomId,
    bedNo: item.bedNo,
    patId: item.patId,
    jumpFlag: 0
    checkType: item.bookCheckType,
    //jumpFlag: 0,
    roomId_operator: item.roomId,  // 队列界面 召回操作时 保持原来的工位
    bedNo_operator: item.bedNo,    // 队列界面 召回操作时 保持原来的工位
  }
  const data = await DoctorApi.recallPatient(patientVO);
  let data = ""
  if (item.status === 5) // 常规、领用 过号
    data = await DoctorApi.recallPatient(patientVO);
  else if (item.status === 7)
    data = await DoctorApi.recallInstallPatient(patientVO);
  message.info(data)
  // 刷新列表
  await getList()