From d3a5fbcc6516c77b32f54518a65e3238c3029d6d Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 14 三月 2025 19:31:35 +0800
Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/center-lims-before-ruoyi into dev

---
 src/views/CNAS/personnel/personnelInfo/Department/components/Communicate/index.vue |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/src/views/CNAS/personnel/personnelInfo/Department/components/Communicate/index.vue b/src/views/CNAS/personnel/personnelInfo/Department/components/Communicate/index.vue
index 086b96b..8e4f746 100644
--- a/src/views/CNAS/personnel/personnelInfo/Department/components/Communicate/index.vue
+++ b/src/views/CNAS/personnel/personnelInfo/Department/components/Communicate/index.vue
@@ -10,7 +10,7 @@
                 </div>
             </template>
             <template v-slot:table>
-                <limsTable :column="columnData" :height="'calc(100vh - 21em)'" :table-data="tableData"
+                <limsTable :column="columnData" :height="'calc(100vh - 22em)'" :table-data="tableData"
                     :table-loading="loading" style="margin-top: 18px; padding: 0 15px;" :page="page"
                     @pagination="pagination"></limsTable>
             </template>
@@ -95,7 +95,7 @@
             tableData: [],
             page: {
                 current: 1,
-                pageSize: 20,
+                size: 20,
                 total: 0
             },
             loading: false
@@ -113,11 +113,11 @@
             const params = this.isDepartment ? {
                 departLimsId: this.departId,
                 current: this.page.current,
-                size: this.page.pageSize
+                size: this.page.size
             } : {
                 userId: this.departId,
                 current: this.page.current,
-                size: this.page.pageSize
+                size: this.page.size
             }
             const { code, data } = await personPersonCommunicationAbilityPage(params)
             if (code == 200) {
@@ -147,9 +147,7 @@
                 cancelButtonText: '鍙栨秷',
                 type: 'warning'
             }).then(async () => {
-                let formData = new FormData()
-                formData.append('id', id)
-                const { code } = await deletePersonCommunicationAbility(formData)
+                const { code } = await deletePersonCommunicationAbility({ id })
                 if (code == 200) {
                     this.$message({
                         type: 'success',

--
Gitblit v1.9.3