This commit is contained in:
zhouzy062 2024-02-29 16:05:42 +08:00
parent 20568326b4
commit bc79ea26ab
1 changed files with 2 additions and 2 deletions

View File

@ -490,7 +490,7 @@ export default {
// //
async getViewByApply(Id) { async getViewByApply(Id) {
const res = await getViewByApply({ id:Id }) const res = await getViewByApply({ id:Id })
const data = res.rows[0] const data = res.data.rows[0]
this.queryParams.unitId = data.unitId this.queryParams.unitId = data.unitId
this.queryParams.proId = data.projectId this.queryParams.proId = data.projectId
this.queryParams.leaseApplyInfo.phone = data.leaseApplyInfo.phone this.queryParams.leaseApplyInfo.phone = data.leaseApplyInfo.phone
@ -498,7 +498,7 @@ export default {
this.queryParams.agreementCode = data.agreementCode this.queryParams.agreementCode = data.agreementCode
this.queryParams.leaseApplyInfo.remark = data.leaseApplyInfo.remark this.queryParams.leaseApplyInfo.remark = data.leaseApplyInfo.remark
this.leaseApplyDetails = data.leaseApplyDetails.map(item => { this.leaseApplyDetails = res.rows.map(item => {
return this.handelEchoData(item) return this.handelEchoData(item)
}) })