From a4aa98cebc5d503bbc93f8f6e158b1d3a28a4a9d Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期二, 26 十一月 2024 23:23:53 +0800 Subject: [PATCH] 显示宽度 --- src/views/ecg/appointment/index.vue | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/ecg/appointment/index.vue b/src/views/ecg/appointment/index.vue index 0ff69f1..a5d4912 100644 --- a/src/views/ecg/appointment/index.vue +++ b/src/views/ecg/appointment/index.vue @@ -116,7 +116,8 @@ <!-- 鍒楄〃 --> <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="episodeId" min-width="150px"/> <el-table-column label="缂栧彿" align="center" prop="patId" /> <el-table-column label="缂磋垂" align="center" prop="paid"> <template #default="scope"> @@ -193,11 +194,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 +212,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 +246,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