From d645e5491fda5d116b1f19c41709a44f35f4f120 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 25 六月 2024 16:04:06 +0800
Subject: [PATCH] ''

---
 admin/src/views/business/blackmailPersonnel.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/admin/src/views/business/blackmailPersonnel.vue b/admin/src/views/business/blackmailPersonnel.vue
index 7735fb3..e5208c4 100644
--- a/admin/src/views/business/blackmailPersonnel.vue
+++ b/admin/src/views/business/blackmailPersonnel.vue
@@ -80,7 +80,7 @@
 import TableLayout from '@/layouts/TableLayout'
 import Pagination from '@/components/common/Pagination'
 import { findAllList } from '@/api/system/common'
-import { updateRemoveStatusById } from '@/api/business/block'
+import { updateRemoveBlackById } from '@/api/business/block'
 export default {
   name: 'blackmailPersonnel',
   extends: BaseTable,
@@ -111,9 +111,9 @@
     thaws () {
       if (this.tableData.selectedRows.length === 0) return this.$message.warning('鑷冲皯閫夋嫨涓�椤瑰唴瀹�')
       const ids = this.tableData.selectedRows.map(item => {
-        return { id: item.id }
+        return item.id
       })
-      updateRemoveStatusById(ids)
+      updateRemoveBlackById(ids.join(','))
         .then(res => {
           this.$message.success('鎿嶄綔鎴愬姛')
           this.search()
@@ -125,7 +125,7 @@
         cancelButtonText: '鍙栨秷',
         type: 'warning'
       }).then(() => {
-        updateRemoveStatusById([{ id: ids }])
+        updateRemoveBlackById(ids)
           .then(res => {
             this.$message.success('鎿嶄綔鎴愬姛')
             this.search()

--
Gitblit v1.9.3