From 9feea2f82cb21abf58643dcffd875b1ed6f1162b Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期二, 08 七月 2025 11:06:41 +0800
Subject: [PATCH] yys  1.新增入库查询      2.新增入库      3.入库分页查询      4.编辑

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

diff --git a/src/views/personnelManagement/dimission/index.vue b/src/views/personnelManagement/dimission/index.vue
index ae4c531..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>
@@ -163,8 +163,8 @@
 const page = reactive({
   current: 1,
   size: 100,
+  total: 0,
 });
-const total = ref(0);
 const formDia = ref()
 const { proxy } = getCurrentInstance()
 
@@ -184,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