Blame view

src/components/owner/ownerOweFeesDemo.vue 449 Bytes
b25b036d   wuxw   v1.9 优化日期
1
  <template>
af1bcbd6   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
    <div>
      <el-button type="primary" @click="openModal">
        {{ $t('ownerOweFeesDemo.openBtn') }}
      </el-button>
      <owner-owe-fees ref="oweFeesRef" />
    </div>
  </template>
  
  <script>
  import OwnerOweFees from './ownerOweFees'
  
  export default {
    components: {
      OwnerOweFees
    },
    methods: {
      openModal() {
        // 模拟业主ID
        const ownerId = '12345'
        this.$refs.oweFeesRef.open(ownerId)
      }
    }
  }
  </script>