diff --git a/src/views/modules/user/hasAuthenticationpartymembers.vue b/src/views/modules/user/hasAuthenticationpartymembers.vue
index 9a6a99f..4ad3185 100644
--- a/src/views/modules/user/hasAuthenticationpartymembers.vue
+++ b/src/views/modules/user/hasAuthenticationpartymembers.vue
@@ -134,7 +134,7 @@
身份标签管理
+ @click="partyReview(scope.row.userId)">身份标签管理
@@ -402,6 +402,7 @@ 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 454cde5..eb87d90 100644
--- a/src/views/modules/user/party-user-tag.vue
+++ b/src/views/modules/user/party-user-tag.vue
@@ -32,7 +32,7 @@
{{dataForm.allDeptNames}}
-
+
{
+ this.$http.get(`/app-user/user/${this.dataForm.id}`).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
@@ -142,8 +142,6 @@ export default {
this.dataForm.partyFlag = '1' // 默认是党员
this.dataForm.tagIds = []
this.dataForm.partyFlag = ''
- this.dataForm.tagIds = ''
- this.dataForm.partyTagIds = []
}).catch(() => { })
this.$http.get(`/app-user/usergrid/listUserGrid/${this.dataForm.id}`).then(({ data: res }) => {
if (res.code !== 0) {
@@ -161,7 +159,7 @@ export default {
this.isAble = true
let postData = {
userId: this.dataForm.id,
- tagIds: this.dataForm.tagIdsNew
+ tagIds: this.dataForm.partyTagIds
}
this.$http[!this.dataForm.id ? 'post' : 'post']('/app-user/usertagrelation/addTag/', postData).then(({ data: res }) => {
this.isAble = false
diff --git a/src/views/modules/user/pass-authentication.vue b/src/views/modules/user/pass-authentication.vue
index aa54856..d9357e0 100644
--- a/src/views/modules/user/pass-authentication.vue
+++ b/src/views/modules/user/pass-authentication.vue
@@ -160,8 +160,8 @@
ref="userGrid"
@refreshDataList="getDataList">
-
@@ -216,7 +216,7 @@ export default {
deptIdList: [],
options: [],
userDetailVisible: false,
- userDetailVisible1: false,
+ tagVisble: false,
userGridVisible: false,
streetOptions: [],
communityOptions: [],
@@ -396,10 +396,10 @@ export default {
this.dataForm.mobile = e.target.value
},
partyReview(userId){
- this.userDetailVisible1 = true
+ this.tagVisble = true
this.$nextTick(() => {
- this.$refs.userDetail.dataForm.id = userId
- this.$refs.userDetail.init()
+ this.$refs.userTag.dataForm.id = userId
+ this.$refs.userTag.init()
})
}
},
diff --git a/src/views/modules/user/user-tag1.vue b/src/views/modules/user/user-tag1.vue
index 47409f2..59c50d1 100644
--- a/src/views/modules/user/user-tag1.vue
+++ b/src/views/modules/user/user-tag1.vue
@@ -39,22 +39,8 @@
prop="remark">
{{dataForm.remark}}
-
-
-
-
-
-
-
-
-
-
-
+
+ {{ $t('cancel') }}
{{ $t('confirm') }}
@@ -82,8 +69,8 @@ export default {
partyFlag: '',
cadreFlag: '',
state: '',
- tagIds: [],
- remark: ''
+ remark: '',
+ partyTagIds:[],
},
partyFlagOptions: [{ id: '0', name: '不是' }, { id: '1', name: '是' }],
cadreOptions: [{ cadreFlag: '1', cadreTitle: '是' }, { cadreFlag: '0', cadreTitle: '否' }],
@@ -156,7 +143,7 @@ export default {
this.isAble = true
let postData = {
userId: this.dataForm.id,
- tagIds: this.dataForm.tagIdsNew
+ tagIds: this.dataForm.partyTagIds
}
this.$http[!this.dataForm.id ? 'post' : 'post']('/app-user/usertagrelation/addTag/', postData).then(({ data: res }) => {
this.isAble = false