Commit 7aa2ca341c2795b1a63b90d8771456c8772778d0
1 parent
edfcb91b
v1.9 修复装修状态不对bug
Showing
4 changed files
with
8 additions
and
1 deletions
src/components/community/AddRoomRenovation.vue
| @@ -152,7 +152,7 @@ export default { | @@ -152,7 +152,7 @@ export default { | ||
| 152 | 152 | ||
| 153 | try { | 153 | try { |
| 154 | // 这里需要根据实际API实现查询房屋信息 | 154 | // 这里需要根据实际API实现查询房屋信息 |
| 155 | - const { rooms } = await queryRooms({ roomName: this.form.roomName, page: 1, row: 10, communityId: getCommunityId() }) | 155 | + const { rooms } = await queryRooms({ roomNum: this.form.roomName, page: 1, row: 10,flag:1, communityId: getCommunityId() }) |
| 156 | if (rooms.length > 0) { | 156 | if (rooms.length > 0) { |
| 157 | this.form.personName = rooms[0].ownerName | 157 | this.form.personName = rooms[0].ownerName |
| 158 | this.form.personTel = rooms[0].link | 158 | this.form.personTel = rooms[0].link |
src/components/community/RoomDecorationAcceptance.vue
| @@ -56,6 +56,7 @@ export default { | @@ -56,6 +56,7 @@ export default { | ||
| 56 | form: { | 56 | form: { |
| 57 | rId: '', | 57 | rId: '', |
| 58 | roomName: '', | 58 | roomName: '', |
| 59 | + roomId: '', | ||
| 59 | state: '', | 60 | state: '', |
| 60 | remark: '', | 61 | remark: '', |
| 61 | detailType: '1001', | 62 | detailType: '1001', |
| @@ -68,6 +69,7 @@ export default { | @@ -68,6 +69,7 @@ export default { | ||
| 68 | this.form = { | 69 | this.form = { |
| 69 | rId: row.rId, | 70 | rId: row.rId, |
| 70 | roomName: row.roomName, | 71 | roomName: row.roomName, |
| 72 | + roomId: row.roomId, | ||
| 71 | state: '', | 73 | state: '', |
| 72 | remark: '', | 74 | remark: '', |
| 73 | detailType: '1001', | 75 | detailType: '1001', |
| @@ -80,6 +82,7 @@ export default { | @@ -80,6 +82,7 @@ export default { | ||
| 80 | this.form = { | 82 | this.form = { |
| 81 | rId: '', | 83 | rId: '', |
| 82 | roomName: '', | 84 | roomName: '', |
| 85 | + roomId: '', | ||
| 83 | state: '', | 86 | state: '', |
| 84 | remark: '', | 87 | remark: '', |
| 85 | detailType: '1001', | 88 | detailType: '1001', |
src/components/community/RoomRenovationCompleted.vue
| @@ -38,6 +38,7 @@ export default { | @@ -38,6 +38,7 @@ export default { | ||
| 38 | open(row) { | 38 | open(row) { |
| 39 | this.form = { | 39 | this.form = { |
| 40 | rId: row.rId, | 40 | rId: row.rId, |
| 41 | + roomId: row.roomId, | ||
| 41 | communityId: this.getCommunityId() | 42 | communityId: this.getCommunityId() |
| 42 | } | 43 | } |
| 43 | this.visible = true | 44 | this.visible = true |
| @@ -46,6 +47,7 @@ export default { | @@ -46,6 +47,7 @@ export default { | ||
| 46 | resetForm() { | 47 | resetForm() { |
| 47 | this.form = { | 48 | this.form = { |
| 48 | rId: '', | 49 | rId: '', |
| 50 | + roomId: '', | ||
| 49 | communityId: '' | 51 | communityId: '' |
| 50 | } | 52 | } |
| 51 | }, | 53 | }, |
src/components/community/RoomToExamine.vue
| @@ -49,6 +49,7 @@ export default { | @@ -49,6 +49,7 @@ export default { | ||
| 49 | open(row) { | 49 | open(row) { |
| 50 | this.form = { | 50 | this.form = { |
| 51 | rId: row.rId, | 51 | rId: row.rId, |
| 52 | + roomId: row.roomId, | ||
| 52 | roomName: row.roomName, | 53 | roomName: row.roomName, |
| 53 | state: '', | 54 | state: '', |
| 54 | examineRemark: '', | 55 | examineRemark: '', |
| @@ -60,6 +61,7 @@ export default { | @@ -60,6 +61,7 @@ export default { | ||
| 60 | resetForm() { | 61 | resetForm() { |
| 61 | this.form = { | 62 | this.form = { |
| 62 | rId: '', | 63 | rId: '', |
| 64 | + roomId: '', | ||
| 63 | roomName: '', | 65 | roomName: '', |
| 64 | state: '', | 66 | state: '', |
| 65 | examineRemark: '', | 67 | examineRemark: '', |