From 436a477b88fc4562aea58b024d6df6c6e6c8e20a Mon Sep 17 00:00:00 2001 From: bayi Date: Wed, 16 May 2018 14:49:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E5=BA=8F=E8=A7=84=E5=88=99=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/house/cityRankingAvgPrice.html | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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);