修改
This commit is contained in:
parent
5b38b79616
commit
81adedf478
@ -406,6 +406,7 @@ export default {
|
|||||||
loading: true,
|
loading: true,
|
||||||
// 选中数组
|
// 选中数组
|
||||||
ids: [],
|
ids: [],
|
||||||
|
groupName:[],
|
||||||
getListByUserquery: {
|
getListByUserquery: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10
|
pageSize: 10
|
||||||
@ -658,6 +659,8 @@ export default {
|
|||||||
// 多选框选中数据
|
// 多选框选中数据
|
||||||
handleSelectionChange(selection) {
|
handleSelectionChange(selection) {
|
||||||
this.ids = selection.map(item => item.id);
|
this.ids = selection.map(item => item.id);
|
||||||
|
this.groupName = selection.map(item => item.groupName);
|
||||||
|
|
||||||
this.single = selection.length !== 1;
|
this.single = selection.length !== 1;
|
||||||
this.multiple = !selection.length;
|
this.multiple = !selection.length;
|
||||||
},
|
},
|
||||||
@ -725,9 +728,10 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 删除按钮操作 */
|
/** 删除按钮操作 */
|
||||||
handleDelete(row) {
|
handleDelete(row) {
|
||||||
const ids = row.id || this.ids;
|
console.log(row);
|
||||||
|
const ids = row.groupName || this.groupName;
|
||||||
this.$modal
|
this.$modal
|
||||||
.confirm('是否确认删除在线客服编号为"' + ids + '"的数据项?')
|
.confirm('是否确认删除群名称为"' + ids + '"的数据?')
|
||||||
.then(function() {
|
.then(function() {
|
||||||
return delGroupQrCodeInfo(ids);
|
return delGroupQrCodeInfo(ids);
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user