diff --git a/public/index.html b/public/index.html
index 543b46b4..5cd73267 100644
--- a/public/index.html
+++ b/public/index.html
@@ -13,8 +13,8 @@
window.SITE_CONFIG['storeState'] = {}; // vuex本地储存初始化状态(用于不刷新页面的情况下,也能重置初始化项目中所有状态)
window.SITE_CONFIG['contentTabDefault'] = { // 内容标签页默认属性对象
'name': '', // 名称, 由 this.$route.name 自动赋值(默认,名称 === 路由名称 === 路由路径)
- 'params': {}, // 参数, 由 this.$route.params 自动赋值
- 'query': {}, // 查询参数, 由 this.$route.query 自动赋值
+ 'params': {}, // 参数, 由 this.$route.params 自动赋值
+ 'query': {}, // 查询参数, 由 this.$route.query 自动赋值
'menuId': '', // 菜单id(用于选中侧边栏菜单,与this.$store.state.sidebarMenuActiveName进行匹配)
'title': '', // 标题
'isTab': true, // 是否通过tab展示内容?
@@ -33,7 +33,7 @@
<% } %>
<% if (process.env.VUE_APP_NODE_ENV === 'prod:sit') { %>
-
+
<% } %>
<% if (process.env.VUE_APP_NODE_ENV === 'prod:uat') { %>
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 22c050ca..a4119b54 100644
--- a/src/views/modules/user/user-add-or-update.vue
+++ b/src/views/modules/user/user-add-or-update.vue
@@ -93,20 +93,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: []
}
},
@@ -131,9 +119,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' }
],