Commit 9cc2b407 by liuchenxi

update: 标签bug修改

parent 8a2e9074
......@@ -442,8 +442,8 @@ export default {
this.params.id = '';
this.params.type = -1;
this.loadMemberTagList(this.params);
this.tagName = '全部系统标签';
this.handTag = null;
this.tagName = this.activeTag == 'manual' ? '全部手工标签' : this.activeTag == 'active' ? '全部活动标签' : '全部系统标签';
// this.handTag = null;
this.pageNum = 1;
this.$store.commit('modiftTagName', '我的用户');
},
......@@ -657,18 +657,19 @@ export default {
// 模糊查询会员标签
searchMemberList() {
console.log(this.activeTag);
if (this.memberTag) {
this.tagName = this.memberTag;
} else {
this.tagName = '全部系统标签';
this.tagName = this.activeTag == 'manual' ? '全部手工标签' : this.activeTag == 'active' ? '全部活动标签' : '全部系统标签';
}
this.handTag = null;
// this.handTag = null;
this.loadMemberTagList({
searchName: this.memberTag,
showSearchResult: true
});
this.pageNum = 1;
this.handTag = null;
// this.handTag = null;
},
// 一级标签
handleFristTag(list) {
......@@ -708,7 +709,8 @@ export default {
},
// 添加手工标签后刷新标签列表
addNewTag() {
this.loadMemberTagList(this.params);
const params = Object.assign({}, this.params, { searchName: this.memberTag, showSearchResult: true });
this.loadMemberTagList(params);
},
// 删除手工
deleteHandTag(id) {
......
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