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

This commit is contained in:
wuxw 2025-09-28 10:23:49 +08:00
parent edfcb91bcf
commit 7aa2ca341c
4 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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',

View File

@ -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: ''
}
},

View File

@ -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: '',