From 1cbfac109c80cdefab53d573619c2a3c332ddf45 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 30 十月 2024 17:17:44 +0800 Subject: [PATCH] update --- src/views/ecg/appointment/index.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/ecg/appointment/index.vue b/src/views/ecg/appointment/index.vue index 0ff69f1..64b9ce7 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"> @@ -197,7 +197,7 @@ </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