From 45493a16aaacc73ec3a5f3a42d67d57717a73253 Mon Sep 17 00:00:00 2001 From: weikai <123456> Date: Thu, 3 Dec 2020 14:43:11 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AE=89=E5=AE=81pc=E7=AB=AF=20?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E7=AE=A1=E7=90=86=E3=80=91-=E3=80=90?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=A0=87=E7=AD=BE=20-=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=BA=AB=E4=BB=BD=E6=A0=87=E7=AD=BE=E3=80=91=E9=AD=8F=E5=87=AF?= =?UTF-8?q?=202020-12-03?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/user/hasAuthenticationpartymembers.vue | 1 - src/views/modules/user/party-user-tag.vue | 12 ++++-------- src/views/modules/user/user-tag1.vue | 7 +++++-- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/views/modules/user/hasAuthenticationpartymembers.vue b/src/views/modules/user/hasAuthenticationpartymembers.vue index 4ad3185..bc5420d 100644 --- a/src/views/modules/user/hasAuthenticationpartymembers.vue +++ b/src/views/modules/user/hasAuthenticationpartymembers.vue @@ -402,7 +402,6 @@ export default { } }, partyReview (userId) { - debugger this.partyReviewVisible = true this.$nextTick(() => { this.$refs.partyReview.dataForm.id = userId diff --git a/src/views/modules/user/party-user-tag.vue b/src/views/modules/user/party-user-tag.vue index eb87d90..05b777d 100644 --- a/src/views/modules/user/party-user-tag.vue +++ b/src/views/modules/user/party-user-tag.vue @@ -120,13 +120,6 @@ export default { return this.$message.error(res.msg) } this.tagOptions = res.data - // this.tagOptions =[ - // {id:"11125",tagName:"党员"}, - // {id:"11124",tagName:"入党积极分子"}, - // {id:"11123",tagName:"双认证党员"}, - // {id:"11122",tagName:"基层干部"}, - // {id:"11121",tagName:"书记"} - // ] }).catch(() => { }) }, // 获取信息 @@ -157,8 +150,11 @@ export default { return false } this.isAble = true + let userIds =[ + this.dataForm.id + ] let postData = { - userId: this.dataForm.id, + userId: userIds, tagIds: this.dataForm.partyTagIds } this.$http[!this.dataForm.id ? 'post' : 'post']('/app-user/usertagrelation/addTag/', postData).then(({ data: res }) => { diff --git a/src/views/modules/user/user-tag1.vue b/src/views/modules/user/user-tag1.vue index 59c50d1..7cc801f 100644 --- a/src/views/modules/user/user-tag1.vue +++ b/src/views/modules/user/user-tag1.vue @@ -75,7 +75,7 @@ export default { partyFlagOptions: [{ id: '0', name: '不是' }, { id: '1', name: '是' }], cadreOptions: [{ cadreFlag: '1', cadreTitle: '是' }, { cadreFlag: '0', cadreTitle: '否' }], tagOptions: [], - userGridList: [] + userGridList: [], } }, computed: { @@ -141,8 +141,11 @@ export default { return false } this.isAble = true + let userIds =[ + this.dataForm.id + ] let postData = { - userId: this.dataForm.id, + userId: userIds, tagIds: this.dataForm.partyTagIds } this.$http[!this.dataForm.id ? 'post' : 'post']('/app-user/usertagrelation/addTag/', postData).then(({ data: res }) => {