Blame view

src/components/room/ownerRoomsDemo.vue 374 Bytes
af1bcbd6   wuxw   房屋页面开发中
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  <template>
    <div>
      <el-button type="primary" @click="openOwnerRooms">查看业主房屋</el-button>
      <owner-rooms ref="ownerRooms" />
    </div>
  </template>
  
  <script>
  import OwnerRooms from './ownerRooms'
  
  export default {
    components: {
      OwnerRooms
    },
    methods: {
      openOwnerRooms() {
        this.$refs.ownerRooms.open({ ownerId: '123' })
      }
    }
  }
  </script>