b25b036d
wuxw
v1.9 优化日期
|
1
|
<template>
|
c85e0853
wuxw
业主详情开发完成
|
2
|
<div class="margin-top">
|
f741902e
wuxw
v1.9 优化产权登记图片不能放大的问题
|
3
|
<el-row class="">
|
c85e0853
wuxw
业主详情开发完成
|
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
<el-col :span="4" class="padding-right-xs padding-left-xl">
<el-input v-model="ownerDetailRoomInfo.roomNum" :placeholder="$t('ownerDetailRoom.pleaseEnterRoomNumber')" />
</el-col>
<el-col :span="4" class="padding-right-xs padding-right-xl">
<el-button type="primary" size="small" @click="_qureyOwnerDetailRoom">
<i class="el-icon-search"></i>{{ $t('common.query') }}
</el-button>
<el-button type="primary" size="small" @click="_resetOwnerDetailRoom">
<i class="el-icon-refresh"></i>{{ $t('common.reset') }}
</el-button>
</el-col>
<el-col :span="16" class="text-right">
<el-button v-if="hasPrivilege('502023021978930012')" type="primary" size="small" @click="_openAddOwnerRoom">
<i class="el-icon-plus"></i>
{{ $t('ownerDetailRoom.deliverRoom') }}
</el-button>
</el-col>
</el-row>
<div class="margin-top">
<el-table :data="ownerDetailRoomInfo.rooms" border style="width: 100%">
<el-table-column prop="roomNum" :label="$t('ownerDetailRoom.roomNumber')" align="center">
<template slot-scope="scope">
{{ scope.row.floorNum }}-{{ scope.row.unitNum }}-{{ scope.row.roomNum }}
</template>
</el-table-column>
<el-table-column prop="layer" :label="$t('ownerDetailRoom.floor')" align="center" />
<el-table-column prop="roomSubTypeName" :label="$t('ownerDetailRoom.type')" align="center" />
<el-table-column :label="$t('ownerDetailRoom.area')" align="center">
<template slot-scope="scope">
{{ scope.row.builtUpArea }}/{{ scope.row.roomArea }}
</template>
</el-table-column>
<el-table-column prop="roomRent" :label="$t('ownerDetailRoom.rent')" align="center" />
<el-table-column :label="$t('ownerDetailRoom.validity')" align="center">
<template slot-scope="scope">
{{ scope.row.startTime }}<br />~{{ scope.row.endTime }}
</template>
</el-table-column>
<el-table-column prop="stateName" :label="$t('ownerDetailRoom.roomStatus')" align="center" />
<el-table-column :label="$t('ownerDetailRoom.roomArrears')" align="center">
<template slot-scope="scope">
{{ scope.row.roomOweFee || '0.00' }}({{ $t('ownerDetailRoom.updateDaily') }})
</template>
</el-table-column>
<el-table-column :label="$t('common.operation')" align="center" width="250">
<template slot-scope="scope">
<el-button v-if="hasPrivilege('502020082493857941')" size="mini" @click="_openEditRoomModel(scope.row)">
{{ $t('common.edit') }}
</el-button>
<el-button v-if="hasPrivilege('502023021973760015')" size="mini" @click="ownerExitRoomModel(scope.row)">
{{ $t('ownerDetailRoom.checkOut') }}
</el-button>
<el-button v-if="scope.row.state != '2002'" size="mini" @click="_toSimplifyAcceptance(scope.row)">
{{ $t('ownerDetailRoom.businessAcceptance') }}
</el-button>
</template>
</el-table-column>
</el-table>
<el-row class="margin-top">
<el-col :span="8">
<span>
{{ $t('ownerDetailRoom.arrearsSubtotal') }}:
{{ ownerDetailRoomInfo.allOweFeeAmount }}
</span>
</el-col>
<el-col :span="16" class="text-right">
<el-pagination @current-change="handleCurrentChange" :current-page="pagination.currentPage"
:page-size="pagination.pageSize" :total="pagination.total" layout="total, prev, pager, next, jumper" />
</el-col>
</el-row>
</div>
<edit-room ref="editRoom" @refresh="_loadOwnerDetailRoomData" />
|
acfe91a9
wuxw
v1.9 修复客户反馈车位结构图部...
|
79
|
<owner-exit-room ref="ownerExitRoom" @success="_loadOwnerDetailRoomData" />
|
c85e0853
wuxw
业主详情开发完成
|
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
</div>
</template>
<script>
import EditRoom from '@/components/room/editRoom'
import { queryRoomsByOwner } from '@/api/owner/ownerDetailRoomApi'
import OwnerExitRoom from '@/components/owner/ownerExitRoom'
import { getCommunityId } from '@/api/community/communityApi'
export default {
name: 'OwnerDetailRoom',
components: {
EditRoom,
OwnerExitRoom
},
data() {
return {
ownerDetailRoomInfo: {
rooms: [],
ownerId: '',
roomNum: '',
allOweFeeAmount: '0'
},
pagination: {
currentPage: 1,
pageSize: 10,
total: 0
}
}
},
methods: {
open(ownerId, ownerName, ownerLink) {
this.ownerDetailRoomInfo.ownerId = ownerId
this.ownerDetailRoomInfo.ownerName = ownerName
this.ownerDetailRoomInfo.ownerLink = ownerLink
this._loadOwnerDetailRoomData()
},
async _loadOwnerDetailRoomData() {
try {
const params = {
communityId: getCommunityId(),
ownerId: this.ownerDetailRoomInfo.ownerId,
roomNum: this.ownerDetailRoomInfo.roomNum,
page: this.pagination.currentPage,
row: this.pagination.pageSize
}
const response = await queryRoomsByOwner(params)
|
1d33ddab
wuxw
开发完成车辆详情页面
|
130
131
|
this.ownerDetailRoomInfo.rooms = response.rooms
this.pagination.total = response.total
|
c85e0853
wuxw
业主详情开发完成
|
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
this._computeOwnerRoomOweFeeAmount()
} catch (error) {
console.error('Failed to load owner room data:', error)
}
},
_qureyOwnerDetailRoom() {
this.pagination.currentPage = 1
this._loadOwnerDetailRoomData()
},
_resetOwnerDetailRoom() {
this.ownerDetailRoomInfo.roomNum = ''
this._qureyOwnerDetailRoom()
},
_computeOwnerRoomOweFeeAmount() {
const rooms = this.ownerDetailRoomInfo.rooms
let totalOweFeeAmount = 0
this.ownerDetailRoomInfo.allOweFeeAmount = 0
if (!rooms || rooms.length < 1) return
rooms.forEach(room => {
if (room.roomOweFee) {
totalOweFeeAmount += parseFloat(room.roomOweFee)
}
})
this.ownerDetailRoomInfo.allOweFeeAmount = totalOweFeeAmount.toFixed(2)
},
_openAddOwnerRoom() {
|
fc9bd1db
wuxw
开发完成合同详情
|
161
|
console.log(this.ownerDetailRoomInfo.ownerId)
|
c85e0853
wuxw
业主详情开发完成
|
162
|
this.$router.push({
|
fc9bd1db
wuxw
开发完成合同详情
|
163
|
path: '/views/owner/ownerBindRoom',
|
c85e0853
wuxw
业主详情开发完成
|
164
165
166
167
168
169
170
171
172
173
|
query: { ownerId: this.ownerDetailRoomInfo.ownerId }
})
},
ownerExitRoomModel(room) {
this.$refs.ownerExitRoom.open({
ownerId: this.ownerDetailRoomInfo.ownerId,
roomId: room.roomId
})
},
_toSimplifyAcceptance(room) {
|
e94f0676
wuxw
跳转到业务受理页面处理完成
|
174
175
|
this.$router.push('/pages/property/simplifyAcceptance?tab=业务受理&searchType=1&searchValue=' + `${room.floorNum}-${room.unitNum}-${room.roomNum}`)
|
c85e0853
wuxw
业主详情开发完成
|
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
|
},
_openEditRoomModel(room) {
this.$refs.editRoom.open(room)
},
handleCurrentChange(currentPage) {
this.pagination.currentPage = currentPage
this._loadOwnerDetailRoomData()
},
}
}
</script>
<style scoped>
.margin-top {
margin-top: 20px;
}
.margin-top-lg {
margin-top: 30px;
}
.padding-right-xs {
padding-right: 5px;
}
.padding-left-xl {
padding-left: 20px;
}
.text-right {
text-align: right;
}
</style>
|