mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-26 08:16:47 +08:00
v1.9 修复装修状态不对bug
This commit is contained in:
parent
edfcb91bcf
commit
7aa2ca341c
@ -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
|
||||
|
||||
@ -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',
|
||||
|
||||
@ -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: ''
|
||||
}
|
||||
},
|
||||
|
||||
@ -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: '',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user