From c55ae1d4b32d84de6ea071ff64a6180d408ba591 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 02 四月 2025 16:57:25 +0800
Subject: [PATCH] fix: bug

---
 src/views/Home/InsuranceOrderDetail.vue             |    4 +-
 src/views/Home/components/BatchChangeRecordView.vue |   10 ----
 src/views/Home/components/InsureOrderInfoView.vue   |   49 +++++++++++++++++-------
 3 files changed, 38 insertions(+), 25 deletions(-)

diff --git a/src/views/Home/InsuranceOrderDetail.vue b/src/views/Home/InsuranceOrderDetail.vue
index e737942..6a9bdde 100644
--- a/src/views/Home/InsuranceOrderDetail.vue
+++ b/src/views/Home/InsuranceOrderDetail.vue
@@ -1,6 +1,6 @@
 <template>
   <LoadingLayout>
-    <AppScrollContainer>
+    <AppContainer>
       <ProTabs v-model="state.tabType" hasBorder>
         <ProTabPane lazy label="淇濆崟淇℃伅" :name="InsureOrderTabType.InsureOrderInfo">
           <InsureOrderInfoView />
@@ -14,7 +14,7 @@
           <BatchChangeRecordView />
         </ProTabPane>
       </ProTabs>
-    </AppScrollContainer>
+    </AppContainer>
   </LoadingLayout>
 </template>
 
diff --git a/src/views/Home/components/BatchChangeRecordView.vue b/src/views/Home/components/BatchChangeRecordView.vue
index a38937f..7707a6a 100644
--- a/src/views/Home/components/BatchChangeRecordView.vue
+++ b/src/views/Home/components/BatchChangeRecordView.vue
@@ -1,15 +1,7 @@
 <template>
   <LoadingLayout :loading="state.loading">
     <AppContainer>
-      <ProTableV2
-        v-bind="proTableProps"
-        :columns="column"
-        :operationBtns="operationBtns"
-        :autoHeight="false"
-        :tableProps="{
-          maxHeight: '400px',
-        }"
-      >
+      <ProTableV2 v-bind="proTableProps" :columns="column" :operationBtns="operationBtns">
         <template #checkStatus="{ row }">
           <el-tooltip
             class="box-item"
diff --git a/src/views/Home/components/InsureOrderInfoView.vue b/src/views/Home/components/InsureOrderInfoView.vue
index 258e11f..6969481 100644
--- a/src/views/Home/components/InsureOrderInfoView.vue
+++ b/src/views/Home/components/InsureOrderInfoView.vue
@@ -1,6 +1,6 @@
 <template>
   <LoadingLayout :loading="state.loading">
-    <AppScrollContainer>
+    <AppContainer>
       <ChunkCell title="">
         <ProForm :model="detail" ref="formRef" label-width="120px" :is-read="true">
           <ProFormCol>
@@ -65,7 +65,7 @@
           </ProFormCol>
         </ProForm>
       </ChunkCell>
-      <ChunkCell title="浜哄憳淇℃伅">
+      <ChunkCell title="浜哄憳淇℃伅" class="full-table-chunk">
         <template #titleRight v-if="detail.status !== InsurancePolicyStatusEnum.WaitEffect">
           <el-button type="primary" @click="handleBatchChange">鎵规敼鐢宠</el-button>
         </template>
@@ -104,21 +104,19 @@
             </template>
           </template>
         </ProTableQueryFilterBar>
-        <ProTableV2
-          v-bind="proTableProps"
-          :columns="column"
-          :operationBtns="operationBtns"
-          :auto-height="false"
-          ref="proTable"
-          :tableProps="{
-            maxHeight: '400px',
-          }"
-        >
-        </ProTableV2>
+        <div class="full-table-chunk-table">
+          <ProTableV2
+            v-bind="proTableProps"
+            :columns="column"
+            :operationBtns="operationBtns"
+            ref="proTable"
+          >
+          </ProTableV2>
+        </div>
       </ChunkCell>
       <ChangePersonInfoDialog v-bind="dialogProps"></ChangePersonInfoDialog>
       <InsureClaimDetailDialog v-bind="dialogInsureClaimProps"></InsureClaimDetailDialog>
-    </AppScrollContainer>
+    </AppContainer>
   </LoadingLayout>
 </template>
 
@@ -483,4 +481,27 @@
 
 <style lang="scss" scoped>
 @use '@/style/common.scss' as *;
+
+.full-table-chunk {
+  display: flex;
+  min-height: 0;
+  flex: 1;
+  flex-direction: column;
+
+  :deep() {
+    .chunk-cell-content {
+      display: flex;
+      flex-direction: column;
+      flex: 1;
+      min-height: 0;
+    }
+  }
+
+  .full-table-chunk-table {
+    display: flex;
+    flex-direction: column;
+    flex: 1;
+    min-height: 0;
+  }
+}
 </style>

--
Gitblit v1.9.1