This commit is contained in:
xuhe@fangjia.com
2018-05-09 16:07:23 +08:00
parent c9547777bf
commit 8ef891fec7
3 changed files with 16 additions and 0 deletions
@@ -1272,6 +1272,11 @@ $.config = {router: false}
hotCitys : []
},methods: {
openHotCity:function(index) {
var eventType = "hotCityClick";
var dataMap = {};
dataMap["city"]=this.hotCitys[index].city;
saveBehaviorLog(eventType,dataMap); //保存用户点击事件
clicked('../house/cityDetail.html',true,false,{},{city:this.hotCitys[index].city},function(){
});
}
@@ -186,6 +186,12 @@ function addManagement(id, houseStatus, liveStatus){
}).then(function (response) {
var status = response.data.status;
if(status){
var eventType = "addEvaluateManageClick";
var dataMap = {};
dataMap["hid"]=id;
dataMap["liveStatus"]=liveStatus;
saveBehaviorLog(eventType,dataMap); //保存用户点击事件
$.toast(response.data.data);
$('.loadingBgDiv').show();
checkIsLogin();
+5
View File
@@ -451,6 +451,11 @@ $(document).on("click",".confirm-ok", function () {
}).then(function (response) {
var status = response.data.status;
if(status){
var eventType = "deleteMyHouseClick";
var dataMap = {};
dataMap["hid"]=id;
saveBehaviorLog(eventType,dataMap); //保存用户点击事件
$.toast(response.data.data);
//删除后,如果需要调用checkIsLogin,需要所有的参数初始化
//checkIsLogin();