From ee36747f2db9ac3a641e1cbaeb01f726ce9faa98 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期一, 24 三月 2025 16:02:28 +0800 Subject: [PATCH] feat: 页面 --- src/views/Home/components/BatchChangeRecordView.vue | 33 ++++++++++++++++++--------------- 1 files changed, 18 insertions(+), 15 deletions(-) diff --git a/src/views/Home/components/BatchChangeRecordView.vue b/src/views/Home/components/BatchChangeRecordView.vue index c79d563..0dcdf53 100644 --- a/src/views/Home/components/BatchChangeRecordView.vue +++ b/src/views/Home/components/BatchChangeRecordView.vue @@ -1,17 +1,19 @@ <template> - <AppContainer> - <ProTableV2 - v-bind="proTableProps" - :columns="column" - :operationBtns="operationBtns" - :autoHeight="false" - :tableProps="{ - maxHeight: '400px', - }" - > - </ProTableV2> - <BatchChangeRecordDetailDialog v-bind="dialogProps"></BatchChangeRecordDetailDialog> - </AppContainer> + <LoadingLayout :loading="state.loading"> + <AppContainer> + <ProTableV2 + v-bind="proTableProps" + :columns="column" + :operationBtns="operationBtns" + :autoHeight="false" + :tableProps="{ + maxHeight: '400px', + }" + > + </ProTableV2> + <BatchChangeRecordDetailDialog v-bind="dialogProps"></BatchChangeRecordDetailDialog> + </AppContainer> + </LoadingLayout> </template> <script setup lang="ts"> @@ -146,8 +148,9 @@ }); } -onMounted(() => { - getBatchRefundInfoDetail(); +onMounted(async () => { + await getBatchRefundInfoDetail(); + state.loading = false; }); </script> -- Gitblit v1.9.1