This commit is contained in:
2018-04-16 19:28:19 +08:00
parent 369b83fd69
commit f5f4ec0487
11 changed files with 53 additions and 68 deletions
+6 -2
View File
@@ -524,16 +524,17 @@ var option01 = {
};
$("#trendDiv2 a").click(function(){
/*$("#trendDiv2 a").click(function(){
$("#trendDiv2 a").removeClass("active")
$(this).addClass("active")
//var v = $(this).attr("t-v");
loadRentTrends(city, region, name);
});
});*/
/* 小区租金走势 */
function loadRentTrends(city, region, name, type){
if(type == undefined) type= 2;
axios.get("/rest/trend/distRentTrends", {
params: {
@@ -549,6 +550,7 @@ function loadRentTrends(city, region, name, type){
var m = re.times;
var pm = re.distMap
var rooms = re.rooms;
if(m && rooms.length>0){
for(var i=0;i<m.length;i++){
@@ -572,7 +574,9 @@ function loadRentTrends(city, region, name, type){
distObj.type = 'line';
distObj.symbolSize = 0;
series.push(distObj);
//alert(distDatas);
}
//alert(categories);
//showRentChart(categories, series);
showRentChart2(categories, series);