Blame view

src/views/owner/deleteOwnerRoomList.vue 1.03 KB
b25b036d   wuxw   v1.9 优化日期
1
  <template>
84aec3bc   wuxw   彻底开发完成 房屋管理页面
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
    <div class="padding">
  
      <!-- 业主信息 -->
      <view-owner-info ref="viewOwnerInfo" :show-call-back-button="true" @notify="handleNotify" @callBackListOwner="goBack"/>
  
  
      <!-- 业主房屋信息 -->
      <show-owner-room :deleteOwnerRoomFlag="deleteOwnerRoomFlag" :ownerId="ownerId" :ownerName="ownerName" />
  
    </div>
  </template>
  
  <script>
  import ViewOwnerInfo from '@/components/owner/viewOwnerInfo'
  import ShowOwnerRoom from '@/components/owner/showOwnerRoom'
  
  export default {
    name: 'DeleteOwnerRoomList',
    components: {
      ViewOwnerInfo,
      ShowOwnerRoom
    },
    data() {
      return {
        ownerId: '',
        ownerName: '',
        deleteOwnerRoomFlag: true
      }
    },
    created() {
      this.ownerId = this.$route.query.ownerId
    },
    methods: {
      handleNotify(ownerInfo) {
        // 处理返回通知
        console.log('Received notify:', ownerInfo)
        // 这里可以添加其他处理逻辑
      },
      goBack() {
        this.$router.go(-1)
      }
    }
  }
  </script>
  
  <style scoped>
  .el-row {
    margin-bottom: 20px;
  }
  </style>