Commit 7aa2ca341c2795b1a63b90d8771456c8772778d0

Authored by wuxw
1 parent edfcb91b

v1.9 修复装修状态不对bug

src/components/community/AddRoomRenovation.vue
... ... @@ -152,7 +152,7 @@ export default {
152 152  
153 153 try {
154 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 156 if (rooms.length > 0) {
157 157 this.form.personName = rooms[0].ownerName
158 158 this.form.personTel = rooms[0].link
... ...
src/components/community/RoomDecorationAcceptance.vue
... ... @@ -56,6 +56,7 @@ export default {
56 56 form: {
57 57 rId: '',
58 58 roomName: '',
  59 + roomId: '',
59 60 state: '',
60 61 remark: '',
61 62 detailType: '1001',
... ... @@ -68,6 +69,7 @@ export default {
68 69 this.form = {
69 70 rId: row.rId,
70 71 roomName: row.roomName,
  72 + roomId: row.roomId,
71 73 state: '',
72 74 remark: '',
73 75 detailType: '1001',
... ... @@ -80,6 +82,7 @@ export default {
80 82 this.form = {
81 83 rId: '',
82 84 roomName: '',
  85 + roomId: '',
83 86 state: '',
84 87 remark: '',
85 88 detailType: '1001',
... ...
src/components/community/RoomRenovationCompleted.vue
... ... @@ -38,6 +38,7 @@ export default {
38 38 open(row) {
39 39 this.form = {
40 40 rId: row.rId,
  41 + roomId: row.roomId,
41 42 communityId: this.getCommunityId()
42 43 }
43 44 this.visible = true
... ... @@ -46,6 +47,7 @@ export default {
46 47 resetForm() {
47 48 this.form = {
48 49 rId: '',
  50 + roomId: '',
49 51 communityId: ''
50 52 }
51 53 },
... ...
src/components/community/RoomToExamine.vue
... ... @@ -49,6 +49,7 @@ export default {
49 49 open(row) {
50 50 this.form = {
51 51 rId: row.rId,
  52 + roomId: row.roomId,
52 53 roomName: row.roomName,
53 54 state: '',
54 55 examineRemark: '',
... ... @@ -60,6 +61,7 @@ export default {
60 61 resetForm() {
61 62 this.form = {
62 63 rId: '',
  64 + roomId: '',
63 65 roomName: '',
64 66 state: '',
65 67 examineRemark: '',
... ...