From 644f9b827ac28d39f32c626712d5c574fe9acbf1 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 16 十二月 2025 17:23:01 +0800
Subject: [PATCH] 1.海川开心-入库管理-成品入库添加一个删除功能

---
 src/views/personnelManagement/contractManagement/filesDia.vue |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/src/views/personnelManagement/contractManagement/filesDia.vue b/src/views/personnelManagement/contractManagement/filesDia.vue
index f752496..2b72581 100644
--- a/src/views/personnelManagement/contractManagement/filesDia.vue
+++ b/src/views/personnelManagement/contractManagement/filesDia.vue
@@ -30,16 +30,10 @@
           :isSelection="true"
           @selection-change="handleSelectionChange"
           height="500"
+					:page="page"
+					@pagination="pagination"
       >
       </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>
@@ -98,6 +92,7 @@
 const page = reactive({
 	current: 1,
 	size: 100,
+	total: 0
 });
 const total = ref(0);
 const tableData = ref([]);
@@ -116,7 +111,7 @@
   currentId.value = row.id;
   getList()
 }
-const paginationSearch = (obj) => {
+const pagination = (obj) => {
 	page.current = obj.page;
 	page.size = obj.limit;
 	getList();
@@ -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