diff --git a/src/views/statisticalManagement/consumptionManagement.vue b/src/views/statisticalManagement/consumptionManagement.vue index 68b46d7..4fd4c9a 100644 --- a/src/views/statisticalManagement/consumptionManagement.vue +++ b/src/views/statisticalManagement/consumptionManagement.vue @@ -589,13 +589,9 @@ export default { }, //获取项目数据 getHouseList() { - axios({ - url: `/autoSR/zkhouse/findHouseByUser`, - method: "get", - params: { + this.$api.api.findHouseByUser({ orgType: localStorage.getItem("orgType"), - }, - }).then((res) => { + }).then((res) => { this.houseList = res.data; }); },