Browse Source

查看详情

master
王金鹏 6 years ago
parent
commit
b2c4c317b3
  1. 7
      src/views/modules/events/item-close.vue

7
src/views/modules/events/item-close.vue

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

Loading…
Cancel
Save