diff --git a/fangija-zsyf/views/evaluate/evaluateList.html b/fangija-zsyf/views/evaluate/evaluateList.html index 4780695..fb0bf9e 100644 --- a/fangija-zsyf/views/evaluate/evaluateList.html +++ b/fangija-zsyf/views/evaluate/evaluateList.html @@ -96,19 +96,21 @@ $(document).on('click','.open-vertical-modal', function () { { text: '自住', onClick: function() { - window.location.href = "01_index01_myHouse01_index.html"; + //window.location.href = "01_index01_myHouse01_index.html"; + + } }, { text: '出租', onClick: function() { - window.location.href = "01_index01_myHouse01_index.html"; + //window.location.href = "01_index01_myHouse01_index.html"; } }, { text: '空置', onClick: function() { - window.location.href = "01_index01_myHouse01_index.html"; + //window.location.href = "01_index01_myHouse01_index.html"; } }, { @@ -118,6 +120,7 @@ $(document).on('click','.open-vertical-modal', function () { }) }); +//查询房产评估列表 function selectEvaluateList(){ //先清空列表 $('.list-block ul').html(""); @@ -132,62 +135,11 @@ function selectEvaluateList(){ var results = resultsMap.houseInfoList; var xqOneMonthUpDownRangeMap = resultsMap.xqOneMonthUpDownRangeMap; var cityAvgPriceMap = resultsMap.cityAvgPriceMap; + //构造数据列表 + htmlContent = constructHtmlContent(results, xqOneMonthUpDownRangeMap, cityAvgPriceMap, htmlContent); - if(results!=null && results.length>0){ - for(var i in results){ - var result = results[i]; - var tempTotalPrice = result.totalPrice; - //考虑是否为数字,加强逻辑判断 - if(!isNaN(tempTotalPrice)){ - //转换成元,四舍五入 - tempTotalPrice = (parseFloat(tempTotalPrice)/10000).toFixed(2); - } - htmlContent = htmlContent +"