diff --git a/src/views/modules/user/partymembers-add-or-update.vue b/src/views/modules/user/partymembers-add-or-update.vue
index 581a7652..8d6f882a 100755
--- a/src/views/modules/user/partymembers-add-or-update.vue
+++ b/src/views/modules/user/partymembers-add-or-update.vue
@@ -1,64 +1,88 @@
-
-
-
-
+
+
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
- {{item.tagName}}
+ {{item.tagName}}
{{ $t('cancel') }}
- {{ $t('confirm') }}
+ {{ $t('confirm') }}
@@ -86,13 +110,7 @@ export default {
streetOptions: [],
communityOptions: [],
gridOptions: [],
- cadreOptions: [{
- cadreFlag: '1',
- cadreTitle: '是'
- }, {
- cadreFlag: '0',
- cadreTitle: '否'
- }],
+ cadreOptions: [{ cadreFlag: '1', cadreTitle: '是' }, { cadreFlag: '0', cadreTitle: '否' }],
tagOptions: []
}
},
@@ -144,7 +162,7 @@ export default {
return this.$message.error(res.msg)
}
this.tagOptions = res.data
- }).catch(() => {})
+ }).catch(() => { })
},
getStreetList () {
this.$http.get(`/sys/dept/sublist/1169154711480528897`).then(({ data: res }) => {
@@ -152,7 +170,7 @@ export default {
return this.$message.error(res.msg)
}
this.streetOptions = res.data
- }).catch(() => {})
+ }).catch(() => { })
},
getCommunityList () {
let choosenItem = this.streetOptions.filter(item => item.id === this.dataForm.streetId)[0]
@@ -164,7 +182,7 @@ export default {
return this.$message.error(res.msg)
}
this.communityOptions = res.data
- }).catch(() => {})
+ }).catch(() => { })
},
getGridList () {
let choosenItem = this.communityOptions.filter(item => item.id === this.dataForm.communityId)[0]
@@ -175,7 +193,7 @@ export default {
return this.$message.error(res.msg)
}
this.gridOptions = res.data
- }).catch(() => {})
+ }).catch(() => { })
},
evaluation () {
let choosenItem = this.gridOptions.filter(item => item.id === this.dataForm.gridId)[0]
@@ -197,14 +215,14 @@ export default {
return this.$message.error(res.msg)
}
this.communityOptions = res.data
- }).catch(() => {})
+ }).catch(() => { })
this.$http.get(`/sys/dept/sublist/` + this.dataForm.communityId).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
this.gridOptions = res.data
- }).catch(() => {})
- }).catch(() => {})
+ }).catch(() => { })
+ }).catch(() => { })
},
// 表单提交
dataFormSubmitHandle: debounce(function () {
@@ -225,7 +243,7 @@ export default {
this.$emit('refreshDataList')
}
})
- }).catch(() => {})
+ }).catch(() => { })
})
}, 1000, { 'leading': true, 'trailing': false })
}
diff --git a/src/views/modules/user/user-add-or-update.vue b/src/views/modules/user/user-add-or-update.vue
index 753b491e..17fb4658 100644
--- a/src/views/modules/user/user-add-or-update.vue
+++ b/src/views/modules/user/user-add-or-update.vue
@@ -49,15 +49,13 @@
prop="address">
{{dataForm.address}}
-
-
- 是否通过审核
+
是
否
-
-
+
@@ -92,20 +90,8 @@ export default {
tagIds: [],
registTime: ''
},
- partyFlagOptions: [{
- id: '0',
- name: '不是'
- }, {
- id: '1',
- name: '是'
- }],
- cadreOptions: [{
- cadreFlag: '1',
- cadreTitle: '是'
- }, {
- cadreFlag: '0',
- cadreTitle: '否'
- }],
+ partyFlagOptions: [{ id: '0', name: '不是' }, { id: '1', name: '是' }],
+ cadreOptions: [{ cadreFlag: '1', cadreTitle: '是' }, { cadreFlag: '0', cadreTitle: '否' }],
tagOptions: []
}
},
@@ -130,9 +116,6 @@ export default {
partyFlag: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
- registerWay: [
- { required: true, message: this.$t('validate.required'), trigger: 'blur' }
- ],
gridId: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
]