|
|
@ -58,7 +58,8 @@ |
|
|
|
<el-form-item> |
|
|
|
<el-button v-if="$hasPermission('epdc:user:export')" |
|
|
|
type="success" |
|
|
|
@click="exportHandle()">{{ $t('export') }}</el-button> |
|
|
|
@click="exportHandle()">{{ $t('export') }} |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<br> |
|
|
|
|
|
|
@ -70,7 +71,7 @@ |
|
|
|
style="width: 100%;"> |
|
|
|
<el-table-column label="序号" header-align="center" align="center" width="50px"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{scope.$index+1}} |
|
|
|
{{ scope.$index + 1 }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="realName" |
|
|
@ -120,12 +121,21 @@ |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="180"></el-table-column> |
|
|
|
<el-table-column prop="allDeptNames" |
|
|
|
label="街道-社区-网格" |
|
|
|
<!-- <el-table-column prop="allDeptNames"--> |
|
|
|
<!-- label="街道-社区-网格"--> |
|
|
|
<!-- header-align="center"--> |
|
|
|
<!-- align="center"--> |
|
|
|
<!-- min-width="350"--> |
|
|
|
<!-- show-overflow-tooltip> </el-table-column>--> |
|
|
|
<el-table-column :label="$t('handle')" |
|
|
|
fixed="right" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
min-width="350" |
|
|
|
show-overflow-tooltip> </el-table-column> |
|
|
|
width="150" |
|
|
|
align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="text" size="small">身份标签管理</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<el-pagination :current-page="page" |
|
|
|
:page-sizes="[10, 20, 50, 100]" |
|
|
@ -141,6 +151,7 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
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 }) => { |
|
|
|