From 0ce91265f1ec4592b862fe0f8feaa48022eefe4b Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期一, 02 二月 2026 11:19:54 +0800
Subject: [PATCH] fix: 字段与接口返回数据保持一致

---
 src/views/personnelManagement/contractManagement/filesDia.vue |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/src/views/personnelManagement/contractManagement/filesDia.vue b/src/views/personnelManagement/contractManagement/filesDia.vue
index f752496..4bcd812 100644
--- a/src/views/personnelManagement/contractManagement/filesDia.vue
+++ b/src/views/personnelManagement/contractManagement/filesDia.vue
@@ -28,18 +28,13 @@
           :tableData="tableData"
           :tableLoading="tableLoading"
           :isSelection="true"
+          :page="page"
           @selection-change="handleSelectionChange"
           height="500"
+          @pagination="paginationSearch"
+          :total="page.total"
       >
       </PIMTable>
-			<pagination
-				style="margin: 10px 0"
-				v-show="total > 0"
-				@pagination="paginationSearch"
-				:total="total"
-				:page="page.current"
-				:limit="page.size"
-			/>
       <template #footer>
         <div class="dialog-footer">
           <el-button @click="closeDia">鍙栨秷</el-button>
@@ -124,7 +119,7 @@
 const getList = () => {
   fileListPage({accountId: currentId.value,accountType:accountType.value, ...page}).then(res => {
     tableData.value = res.data.records;
-		total.value = res.data.total;
+    page.total = res.data.total;
   })
 }
 // 琛ㄦ牸閫夋嫨鏁版嵁

--
Gitblit v1.9.3