diff --git a/src/views/modules/user/identityTag.vue b/src/views/modules/user/identityTag.vue index 46a124e..108b01c 100644 --- a/src/views/modules/user/identityTag.vue +++ b/src/views/modules/user/identityTag.vue @@ -58,7 +58,8 @@ {{ $t('export') }} + @click="exportHandle()">{{ $t('export') }} +
@@ -70,7 +71,7 @@ style="width: 100%;"> - + + + + + + + width="150" + align="center"> + + import mixinViewModule from '@/mixins/view-module' + export default { mixins: [mixinViewModule], data () { @@ -192,8 +203,7 @@ export default { deptIdList: [] } }, - components: { - }, + components: {}, watch: { 'deptIdList': function (val) { if (val.length === 0) { @@ -227,7 +237,8 @@ export default { } this.options = res.data.options }) - .catch(() => { }) + .catch(() => { + }) this.initTime() // this.getStreetList() this.getRegistOptions() @@ -271,15 +282,15 @@ export default { // }).catch(() => { }) // }, btKeyUpRealName (e) { - e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') + e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') this.dataForm.realName = e.target.value }, btKeyUpMobile (e) { - e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') + e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') this.dataForm.mobile = e.target.value }, btKeyUpIdentityNo (e) { - e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') + e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') this.dataForm.identityNo = e.target.value }, getCommunityList () { @@ -297,7 +308,8 @@ export default { return this.$message.error(res.msg) } this.communityOptions = res.data - }).catch(() => { }) + }).catch(() => { + }) }, getGridList () { if (this.dataForm.communityId === '') { @@ -311,7 +323,8 @@ export default { return this.$message.error(res.msg) } this.gridOptions = res.data - }).catch(() => { }) + }).catch(() => { + }) }, getRegistOptions () { this.$http.get(`/sys/dict/sublist/1168769645576179713`).then(({ data: res }) => { @@ -319,7 +332,8 @@ export default { return this.$message.error(res.msg) } this.registOptions = res.data - }).catch(() => { }) + }).catch(() => { + }) }, // getPostOptions () { // this.$http.get(`/sys/dict/sublist/1168770417290366977`).then(({ data: res }) => {