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