|
|
|
@ -27,16 +27,19 @@ |
|
|
|
<el-form-item label="姓名" label-width="68px"> |
|
|
|
<el-input v-model="dataForm.realName" |
|
|
|
placeholder="" |
|
|
|
@keyup.native="btKeyUpUsername" |
|
|
|
clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="手机号"> |
|
|
|
<el-input v-model="dataForm.mobile" |
|
|
|
placeholder="" |
|
|
|
@keyup.native="btKeyUpMobile" |
|
|
|
clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="身份证号"> |
|
|
|
<el-input v-model="dataForm.identityNo" |
|
|
|
placeholder="" |
|
|
|
@keyup.native="btKeyUpIdentityNo" |
|
|
|
clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
<br> |
|
|
|
@ -55,7 +58,7 @@ |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button v-if="$hasPermission('epdc:user:export')" |
|
|
|
type="primary" |
|
|
|
type="success" |
|
|
|
@click="exportHandle()">{{ $t('export') }}</el-button> |
|
|
|
</el-form-item> |
|
|
|
<br> |
|
|
|
@ -256,6 +259,18 @@ export default { |
|
|
|
// this.streetOptions = res.data |
|
|
|
// }).catch(() => { }) |
|
|
|
// }, |
|
|
|
btKeyUpUsername (e) { |
|
|
|
e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】、;‘’,。、]/g, '') |
|
|
|
this.dataForm.username = e.target.value |
|
|
|
}, |
|
|
|
btKeyUpMobile (e) { |
|
|
|
e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】、;‘’,。、]/g, '') |
|
|
|
this.dataForm.mobile = e.target.value |
|
|
|
}, |
|
|
|
btKeyUpIdentityNo (e) { |
|
|
|
e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】、;‘’,。、]/g, '') |
|
|
|
this.dataForm.identityNo = e.target.value |
|
|
|
}, |
|
|
|
getCommunityList () { |
|
|
|
if (this.dataForm.streetId === '') { |
|
|
|
this.communityOptions = [] |
|
|
|
|