From 81adedf478576359d7a825426e6659c1d78e4d65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Mon, 6 Mar 2023 10:30:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/groupQrCodeInfo/index.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/system/groupQrCodeInfo/index.vue b/src/views/system/groupQrCodeInfo/index.vue index 265d1c8..d402dde 100644 --- a/src/views/system/groupQrCodeInfo/index.vue +++ b/src/views/system/groupQrCodeInfo/index.vue @@ -406,6 +406,7 @@ export default { loading: true, // 选中数组 ids: [], + groupName:[], getListByUserquery: { pageNum: 1, pageSize: 10 @@ -658,6 +659,8 @@ export default { // 多选框选中数据 handleSelectionChange(selection) { this.ids = selection.map(item => item.id); + this.groupName = selection.map(item => item.groupName); + this.single = selection.length !== 1; this.multiple = !selection.length; }, @@ -725,9 +728,10 @@ export default { }, /** 删除按钮操作 */ handleDelete(row) { - const ids = row.id || this.ids; + console.log(row); + const ids = row.groupName || this.groupName; this.$modal - .confirm('是否确认删除在线客服编号为"' + ids + '"的数据项?') + .confirm('是否确认删除群名称为"' + ids + '"的数据?') .then(function() { return delGroupQrCodeInfo(ids); })