|
|
@ -41,6 +41,10 @@ |
|
|
|
<el-form-item> |
|
|
|
<el-button @click="getDataList()">{{ $t('query') }}</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button type="info" |
|
|
|
@click="clearDataForm()">清空</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button v-if="$hasPermission('sys:deptmacode:delete')" |
|
|
|
type="danger" |
|
|
@ -221,6 +225,10 @@ export default { |
|
|
|
this.gridList = [] |
|
|
|
// 获取社区下属网格 |
|
|
|
this.getDeptInfoList('grid', this.dataForm.communityId) |
|
|
|
}, |
|
|
|
clearDataForm () { |
|
|
|
this.dataForm.streetId = this.dataForm.communityId = this.dataForm.gridId = null |
|
|
|
this.communityList = this.gridList = [] |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|