From 759f30a6e3afc8289a0b3c341cccbbd6ade39a2d Mon Sep 17 00:00:00 2001 From: 曹睿 <360930172@qq.com> Date: 星期一, 07 七月 2025 16:55:53 +0800 Subject: [PATCH] feat: 来票登记添加编辑功能 --- src/views/personnelManagement/onboarding/index.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/personnelManagement/onboarding/index.vue b/src/views/personnelManagement/onboarding/index.vue index 88cbed1..f7ddc71 100644 --- a/src/views/personnelManagement/onboarding/index.vue +++ b/src/views/personnelManagement/onboarding/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> @@ -164,8 +164,8 @@ const page = reactive({ current: 1, size: 100, + total: 0, }); -const total = ref(0); const formDia = ref() const { proxy } = getCurrentInstance() @@ -185,7 +185,7 @@ staffJoinListPage({...page, ...searchForm.value, staffState: 1}).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