Merge branch 'feature_master_xh_standard' into 'master'

房源添加物业类型bug修改

See merge request !339
This commit is contained in:
2022-06-29 16:21:40 +08:00
@@ -744,13 +744,13 @@
$(data).each(function(i,item){
var pdate = item.pDate + "";
var ds = pdate.substring(0, 4) + '-' + pdate.substring(4, 6) + '-' + pdate.substring(6)
if (item.estateType.indexOf('别墅') > -1){
if ((item.estateType!=null) && (item.estateType.indexOf('别墅') > -1)){
series_arry_2.push({
x:new Date(ds),
y:Math.round(item.totalPrice/item.area),
data:item
})
}else if((item.estateType.indexOf('商住') > -1) || (item.estateType.indexOf('公寓酒店') > -1)){
}else if((item.estateType!=null) && ((item.estateType.indexOf('商住') > -1) || (item.estateType.indexOf('公寓酒店') > -1))){
series_arry_1.push({
x:new Date(ds),
y:Math.round(item.totalPrice/item.area),