From d5ca5d8855aa27f770e824a8f7159aedb239614d Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 11 七月 2025 17:30:11 +0800
Subject: [PATCH] 1.质量管理-附件分页bug修改

---
 src/views/personnelManagement/dimission/index.vue |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/src/views/personnelManagement/dimission/index.vue b/src/views/personnelManagement/dimission/index.vue
index 01305e4..3b5ca2b 100644
--- a/src/views/personnelManagement/dimission/index.vue
+++ b/src/views/personnelManagement/dimission/index.vue
@@ -31,7 +31,7 @@
           @selection-change="handleSelectionChange"
           :tableLoading="tableLoading"
           @pagination="pagination"
-          :total="total"
+          :total="page.total"
       ></PIMTable>
     </div>
     <form-dia ref="formDia" @close="handleQuery"></form-dia>
@@ -98,6 +98,7 @@
   {
     label: "瀹跺涵浣忓潃",
     prop: "adress",
+    width:200
   },
   {
     label: "绗竴瀛﹀巻",
@@ -106,10 +107,12 @@
   {
     label: "涓撲笟",
     prop: "profession",
+    width:100
   },
   {
     label: "韬唤璇佸彿",
     prop: "identityCard",
+    width:200
   },
   {
     label: "骞撮緞",
@@ -118,14 +121,17 @@
   {
     label: "鑱旂郴鐢佃瘽",
     prop: "phone",
+    width:150
   },
   {
     label: "绱ф�ヨ仈绯讳汉",
     prop: "emergencyContact",
+    width: 120
   },
   {
-    label: "鑱旂郴鐢佃瘽",
+    label: "绱ф�ヨ仈绯讳汉鐢佃瘽",
     prop: "emergencyContactPhone",
+    width:150
   },
   {
     label: "鍚堝悓骞撮檺",
@@ -134,10 +140,12 @@
   {
     label: "鍚堝悓寮�濮嬫棩鏈�",
     prop: "contractStartTime",
+    width: 120
   },
   {
     label: "鍚堝悓缁撴潫鏃ユ湡",
     prop: "contractEndTime",
+    width: 120
   },
   {
     dataType: "action",
@@ -160,8 +168,8 @@
 const page = reactive({
   current: 1,
   size: 100,
+  total: 0,
 });
-const total = ref(0);
 const formDia = ref()
 const { proxy } = getCurrentInstance()
 
@@ -181,7 +189,7 @@
   staffJoinListPage({...page, ...searchForm.value, staffState: 0}).then(res => {
     tableLoading.value = false;
     tableData.value = res.data.records
-    total.value = res.data.total;
+    page.total = res.data.total;
   }).catch(err => {
     tableLoading.value = false;
   })

--
Gitblit v1.9.3