From e42b6e5111af314399a17b669789fb2f960e93a3 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 03 七月 2025 13:55:46 +0800
Subject: [PATCH] 入库新增数量限制

---
 src/views/personnelManagement/dimission/index.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/views/personnelManagement/dimission/index.vue b/src/views/personnelManagement/dimission/index.vue
index 01305e4..ccf43da 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>
@@ -122,6 +122,7 @@
   {
     label: "绱ф�ヨ仈绯讳汉",
     prop: "emergencyContact",
+    width: 120
   },
   {
     label: "鑱旂郴鐢佃瘽",
@@ -134,10 +135,12 @@
   {
     label: "鍚堝悓寮�濮嬫棩鏈�",
     prop: "contractStartTime",
+    width: 120
   },
   {
     label: "鍚堝悓缁撴潫鏃ユ湡",
     prop: "contractEndTime",
+    width: 120
   },
   {
     dataType: "action",
@@ -160,8 +163,8 @@
 const page = reactive({
   current: 1,
   size: 100,
+  total: 0,
 });
-const total = ref(0);
 const formDia = ref()
 const { proxy } = getCurrentInstance()
 
@@ -181,7 +184,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