|
|
|
@ -81,7 +81,7 @@ |
|
|
|
@size-change="pageSizeChangeHandle" |
|
|
|
@current-change="pageCurrentChangeHandle"> |
|
|
|
</el-pagination> |
|
|
|
<detail v-if="detailVisible" ref="detail" @refreshDataList="getDataList"></detail> |
|
|
|
<detail v-if="detailVisible" ref="detailRef" @refreshDataList="getDataList"></detail> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</template> |
|
|
|
@ -106,6 +106,7 @@ export default { |
|
|
|
communityId: '', |
|
|
|
gridId: '' |
|
|
|
}, |
|
|
|
detailVisible: false, |
|
|
|
streetOptions: [], |
|
|
|
communityOptions: [], |
|
|
|
gridOptions: [], |
|
|
|
@ -137,8 +138,8 @@ export default { |
|
|
|
detailAction (id) { |
|
|
|
this.detailVisible = true |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs.detail.dataForm.id = id |
|
|
|
this.$refs.detail.init() |
|
|
|
this.$refs.detailRef.dataForm.id = id |
|
|
|
this.$refs.detailRef.init() |
|
|
|
}) |
|
|
|
}, |
|
|
|
getStreetList () { |
|
|
|
|