fix bug
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user