diff --git a/fangija-zsyf/views/house/cityRankingAvgPrice.html b/fangija-zsyf/views/house/cityRankingAvgPrice.html index b6e11d2..d9bfab7 100644 --- a/fangija-zsyf/views/house/cityRankingAvgPrice.html +++ b/fangija-zsyf/views/house/cityRankingAvgPrice.html @@ -48,8 +48,15 @@ {{city}} + - {{Math.abs(markup*100).toFixed(2)}}% + + {{Math.abs(markup*100).toFixed(2)}}% + + + + + @@ -160,7 +167,7 @@ $.config = {router: false} console.log("已显示全部"); this.end = true; }else{ - axios.get("/rest/quotations/queryMarkUpAndDownByPage", {params:{pageNo:pageBean.pageNo,pageSize:pageBean.pageSize}}) + axios.get("/rest/quotations/queryAvgPrice", {params:{pageNo:pageBean.pageNo,pageSize:pageBean.pageSize}}) .then(function (response) { this.end = response.data.data.end; tableList.list = tableList.list.concat(response.data.data.list); @@ -211,7 +218,7 @@ $(function() { var itemsPerLoad = 10; function addItems(pageNo,pageSize){ - axios.get("/rest/quotations/queryMarkUpAndDownByPage", {params:{pageNo:pageNo,pageSize:pageSize}}) + axios.get("/rest/quotations/queryAvgPrice", {params:{pageNo:pageNo,pageSize:pageSize}}) .then(function (response) { tableList.end = response.data.data.end; tableList.list = tableList.list.concat(response.data.data.list);