From 43942a545271345ce26e40d82bb97138c5ea7611 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期五, 28 六月 2024 13:54:51 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- 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