|
@ -120,13 +120,6 @@ export default { |
|
|
return this.$message.error(res.msg) |
|
|
return this.$message.error(res.msg) |
|
|
} |
|
|
} |
|
|
this.tagOptions = res.data |
|
|
this.tagOptions = res.data |
|
|
// this.tagOptions =[ |
|
|
|
|
|
// {id:"11125",tagName:"党员"}, |
|
|
|
|
|
// {id:"11124",tagName:"入党积极分子"}, |
|
|
|
|
|
// {id:"11123",tagName:"双认证党员"}, |
|
|
|
|
|
// {id:"11122",tagName:"基层干部"}, |
|
|
|
|
|
// {id:"11121",tagName:"书记"} |
|
|
|
|
|
// ] |
|
|
|
|
|
}).catch(() => { }) |
|
|
}).catch(() => { }) |
|
|
}, |
|
|
}, |
|
|
// 获取信息 |
|
|
// 获取信息 |
|
@ -157,8 +150,11 @@ export default { |
|
|
return false |
|
|
return false |
|
|
} |
|
|
} |
|
|
this.isAble = true |
|
|
this.isAble = true |
|
|
|
|
|
let userIds =[ |
|
|
|
|
|
this.dataForm.id |
|
|
|
|
|
] |
|
|
let postData = { |
|
|
let postData = { |
|
|
userId: this.dataForm.id, |
|
|
userId: userIds, |
|
|
tagIds: this.dataForm.partyTagIds |
|
|
tagIds: this.dataForm.partyTagIds |
|
|
} |
|
|
} |
|
|
this.$http[!this.dataForm.id ? 'post' : 'post']('/app-user/usertagrelation/addTag/', postData).then(({ data: res }) => { |
|
|
this.$http[!this.dataForm.id ? 'post' : 'post']('/app-user/usertagrelation/addTag/', postData).then(({ data: res }) => { |
|
|