eight
2024-10-23 83bc7f6d33934f56fd1df80c7e8975e7c887d606
src/views/ecg/queue/index.vue
@@ -49,7 +49,7 @@
          class="!w-240px"
        >
          <el-option
            v-for="dict in getIntDictOptions(DICT_TYPE.ECG_CHECK_TYPE)"
            v-for="dict in checkTypeStore.getCheckTypeOptions()"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
@@ -137,7 +137,7 @@
      </el-table-column>
      <el-table-column label="检查类型" align="center" prop="bookCheckType" >
        <template #default="scope">
          <dict-tag :type="DICT_TYPE.ECG_CHECK_TYPE" :value="scope.row.bookCheckType" />
          checkTypeStore.getCheckTypeName(scope.row.bookCheckType)
        </template>
      </el-table-column>
        <el-table-column label="排队序号" align="center" prop="seqNum" />
@@ -217,6 +217,7 @@
import queueForm from './QueueForm.vue'
import {DICT_TYPE, getIntDictOptions} from '@/utils/dict'
import {DoctorApi, PatientVO} from "@/api/ecg/doctor";
import {useCheckTypeStore} from "@/store/modules/checkType";
/** 排队 列表 */
defineOptions({ name: 'queue' })
@@ -224,6 +225,8 @@
const message = useMessage() // 消息弹窗
const { t } = useI18n() // 国际化
const checkTypeStore = useCheckTypeStore();
const loading = ref(true) // 列表的加载中
const list = ref<QueueVO[]>([]) // 列表的数据
const total = ref(0) // 列表的总页数