24d3590f
wuxw
房屋收费页面开发完成
|
1
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
|
<template>
<div>
<el-button @click="openModal">{{ $t('roomCreateFeeAddDemo.openModal') }}</el-button>
<room-create-fee-add ref="roomCreateFeeAdd" @success="handleSuccess"></room-create-fee-add>
</div>
</template>
<script>
import RoomCreateFeeAdd from './roomCreateFeeAdd'
export default {
name: 'RoomCreateFeeAddDemo',
components: {
RoomCreateFeeAdd
},
methods: {
openModal() {
this.$refs.roomCreateFeeAdd.open({
roomId: '123',
floorNum: '1',
unitNum: '2',
roomNum: '101',
ownerName: 'Test Owner',
roomType: '2020601'
})
},
handleSuccess() {
this.$message.success(this.$t('roomCreateFeeAddDemo.successMessage'))
}
}
}
</script>
|