From 8d11e11a86bbfe84ea4156bd68e865bb2986e9bd Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期一, 18 十一月 2024 11:18:21 +0800
Subject: [PATCH] 领用界面 自动叫号控制
---
src/views/ecg/appointment/index.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/views/ecg/appointment/index.vue b/src/views/ecg/appointment/index.vue
index 0ff69f1..9a0fb71 100644
--- a/src/views/ecg/appointment/index.vue
+++ b/src/views/ecg/appointment/index.vue
@@ -116,7 +116,7 @@
<!-- 鍒楄〃 -->
<ContentWrap>
- <el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
+ <el-table v-loading="loading" :data="appointmentList" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="缂栧彿" align="center" prop="patId" />
<el-table-column label="缂磋垂" align="center" prop="paid">
<template #default="scope">
@@ -193,11 +193,11 @@
</ContentWrap>
<!-- 琛ㄥ崟寮圭獥锛氭坊鍔�/淇敼 -->
- <AppointmentForm ref="formRef" @success="getList" />
+ <AppointmentForm ref="formRef" @event_appointment_success="getList" />
</template>
<script setup lang="ts">
-import {DICT_TYPE, getIntDictOptions} from '@/utils/dict'
+import {DICT_TYPE} from '@/utils/dict'
import { dateFormatter2 } from '@/utils/formatTime'
import download from '@/utils/download'
import { AppointmentApi, AppointmentVO } from '@/api/ecg/appointment'
@@ -211,7 +211,7 @@
const { t } = useI18n() // 鍥介檯鍖�
const loading = ref(true) // 鍒楄〃鐨勫姞杞戒腑
-const list = ref<AppointmentVO[]>([]) // 鍒楄〃鐨勬暟鎹�
+const appointmentList = ref<AppointmentVO[]>([]) // 鍒楄〃鐨勬暟鎹�
const total = ref(0) // 鍒楄〃鐨勬�婚〉鏁�
const queryParams = reactive({
pageNo: 1,
@@ -245,7 +245,7 @@
loading.value = true
try {
const data = await AppointmentApi.getAppointmentPage(queryParams)
- list.value = data.list
+ appointmentList.value = data.list
total.value = data.total
} finally {
loading.value = false
--
Gitblit v1.9.3