This commit is contained in:
曹辉 2023-03-06 10:30:18 +08:00
parent 5b38b79616
commit 81adedf478

View File

@ -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);
})