Commit 05d254b5 by Kyle_Li

传参bug

parent 9a02d8a3
......@@ -1015,7 +1015,7 @@ export default {
if (this.templateData.length) {
if (code === 'com023' || code === 'com024') {
tagValue.val[0].data.compute = this[code].postCompute;
tagValue.val[0].data.compute = code === 'com024' ? 'in' : this[code].postCompute;
tagValue.val[0].data.dealKey = "card";
tagValue.val[0].data.key = this.currentKey;
tagValue.val[0].data.value = this.cardListData.map(el => el.coupCardId).join(' ');
......
......@@ -409,18 +409,24 @@ export default {
})
},
deleteGroup(id) {
const param = {
requestProject: 'gic-member-tag-web',
memberTagGroupIds: id
};
batchDeleteGroup(param).then(res => {
if (res.errorCode == 1) {
this.$message.success({
message: '删除成功'
});
this.getGroupList();
}
});
this.$confirm('确认删除该分组吗?', '提示', {
confirmButtonText: '确认删除',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
const param = {
requestProject: 'gic-member-tag-web',
memberTagGroupIds: id
};
batchDeleteGroup(param).then(res => {
if (res.errorCode == 1) {
this.$message.success({
message: '删除成功'
});
this.getGroupList();
}
});
})
},
getMemberGroupList() {
memberGroupList({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment