diff --git a/src/components/community/AddRoomRenovation.vue b/src/components/community/AddRoomRenovation.vue index 310060b..2f6852e 100644 --- a/src/components/community/AddRoomRenovation.vue +++ b/src/components/community/AddRoomRenovation.vue @@ -152,7 +152,7 @@ export default { try { // 这里需要根据实际API实现查询房屋信息 - const { rooms } = await queryRooms({ roomName: this.form.roomName, page: 1, row: 10, communityId: getCommunityId() }) + const { rooms } = await queryRooms({ roomNum: this.form.roomName, page: 1, row: 10,flag:1, communityId: getCommunityId() }) if (rooms.length > 0) { this.form.personName = rooms[0].ownerName this.form.personTel = rooms[0].link diff --git a/src/components/community/RoomDecorationAcceptance.vue b/src/components/community/RoomDecorationAcceptance.vue index 9a01280..325d6db 100644 --- a/src/components/community/RoomDecorationAcceptance.vue +++ b/src/components/community/RoomDecorationAcceptance.vue @@ -56,6 +56,7 @@ export default { form: { rId: '', roomName: '', + roomId: '', state: '', remark: '', detailType: '1001', @@ -68,6 +69,7 @@ export default { this.form = { rId: row.rId, roomName: row.roomName, + roomId: row.roomId, state: '', remark: '', detailType: '1001', @@ -80,6 +82,7 @@ export default { this.form = { rId: '', roomName: '', + roomId: '', state: '', remark: '', detailType: '1001', diff --git a/src/components/community/RoomRenovationCompleted.vue b/src/components/community/RoomRenovationCompleted.vue index cf1491e..cb1ab09 100644 --- a/src/components/community/RoomRenovationCompleted.vue +++ b/src/components/community/RoomRenovationCompleted.vue @@ -38,6 +38,7 @@ export default { open(row) { this.form = { rId: row.rId, + roomId: row.roomId, communityId: this.getCommunityId() } this.visible = true @@ -46,6 +47,7 @@ export default { resetForm() { this.form = { rId: '', + roomId: '', communityId: '' } }, diff --git a/src/components/community/RoomToExamine.vue b/src/components/community/RoomToExamine.vue index c4a331d..192c3e2 100644 --- a/src/components/community/RoomToExamine.vue +++ b/src/components/community/RoomToExamine.vue @@ -49,6 +49,7 @@ export default { open(row) { this.form = { rId: row.rId, + roomId: row.roomId, roomName: row.roomName, state: '', examineRemark: '', @@ -60,6 +61,7 @@ export default { resetForm() { this.form = { rId: '', + roomId: '', roomName: '', state: '', examineRemark: '',