From 17efddc6a667670dca682bf36b51a43e99615e6d Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 16 十月 2024 15:59:38 +0800
Subject: [PATCH] 代码初始化

---
 admin/src/views/business/blackmailPersonnel.vue |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/admin/src/views/business/blackmailPersonnel.vue b/admin/src/views/business/blackmailPersonnel.vue
index 7735fb3..5093b78 100644
--- a/admin/src/views/business/blackmailPersonnel.vue
+++ b/admin/src/views/business/blackmailPersonnel.vue
@@ -52,8 +52,7 @@
                     </template>
                 </el-table-column>
                 <el-table-column prop="visitCompanyName" label="缁勭粐" min-width="100px"></el-table-column>
-                <el-table-column prop="optTime" label="鎿嶄綔鏃堕棿" min-width="100px"></el-table-column>
-                <el-table-column prop="creatorName" label="鎿嶄綔浜�" min-width="100px"></el-table-column>
+                <el-table-column prop="optRemark" label="鎿嶄綔淇℃伅" min-width="300px"></el-table-column>
                 <el-table-column
                     v-if="containPermissions(['business:member:update', 'business:member:delete'])"
                     label="鎿嶄綔"
@@ -80,7 +79,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 +110,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 +124,7 @@
         cancelButtonText: '鍙栨秷',
         type: 'warning'
       }).then(() => {
-        updateRemoveStatusById([{ id: ids }])
+        updateRemoveBlackById(ids)
           .then(res => {
             this.$message.success('鎿嶄綔鎴愬姛')
             this.search()

--
Gitblit v1.9.3