diff --git a/src/views/modules/user/user-add-or-update.vue b/src/views/modules/user/user-add-or-update.vue
index e5462718..b2c4bed0 100644
--- a/src/views/modules/user/user-add-or-update.vue
+++ b/src/views/modules/user/user-add-or-update.vue
@@ -42,10 +42,17 @@
{{dataForm.address}}
+
是否通过审核
是
否
+
+
+
+ {{item.tagName}}
+
+
{{ $t('cancel') }}
@@ -64,7 +71,11 @@ export default {
id: '',
partyFlag: '',
cadreFlag: '',
- pass: ''
+ pass: '',
+ street: '',
+ community: '',
+ grid: '',
+ tagIds: []
},
partyFlagOptions: [{
id: '0',
@@ -79,7 +90,8 @@ export default {
}, {
cadreFlag: '0',
cadreTitle: '否'
- }]
+ }],
+ tagOptions: []
}
},
computed: {
@@ -121,6 +133,15 @@ export default {
this.getInfo()
}
})
+ this.getTagOptions()
+ },
+ getTagOptions () {
+ this.$http.get(`/app-user/usertag/list`).then(({ data: res }) => {
+ if (res.code !== 0) {
+ return this.$message.error(res.msg)
+ }
+ this.tagOptions = res.data
+ }).catch(() => {})
},
// 获取信息
getInfo () {