修复接口路径
This commit is contained in:
@@ -209,7 +209,7 @@ export default {
|
||||
getStatistics() {
|
||||
//获取楼栋统计信息
|
||||
let {id} = this.detail
|
||||
this.$http.post(`app/appcommunitybuildinginfo/statistics`, null, {
|
||||
this.$http.post(`/app/appcommunitybuildinginfo/statistics`, null, {
|
||||
params: {id, unitNum: this.eachUnitNumber}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -220,7 +220,7 @@ export default {
|
||||
getList() {
|
||||
//获取房间列表
|
||||
let {id: buildingId} = this.detail
|
||||
this.$http.post(`app/appcommunityhouseinfo/list`, null, {
|
||||
this.$http.post(`/app/appcommunityhouseinfo/list`, null, {
|
||||
params: {size: 10000, buildingId, unitNumber: this.eachUnitNumber}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -230,7 +230,7 @@ export default {
|
||||
},
|
||||
getHouseDetail(id) {
|
||||
this.houseId = id
|
||||
this.$http.post(`app/appcommunityhouseinfo/queryDetailById?id=${id}`).then(res => {
|
||||
this.$http.post(`/app/appcommunityhouseinfo/queryDetailById?id=${id}`).then(res => {
|
||||
if (res?.data) {
|
||||
this.houseInfo = res.data
|
||||
this.show = true
|
||||
|
||||
Reference in New Issue
Block a user