fix bug
This commit is contained in:
@@ -1272,6 +1272,11 @@ $.config = {router: false}
|
|||||||
hotCitys : []
|
hotCitys : []
|
||||||
},methods: {
|
},methods: {
|
||||||
openHotCity:function(index) {
|
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(){
|
clicked('../house/cityDetail.html',true,false,{},{city:this.hotCitys[index].city},function(){
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -186,6 +186,12 @@ function addManagement(id, houseStatus, liveStatus){
|
|||||||
}).then(function (response) {
|
}).then(function (response) {
|
||||||
var status = response.data.status;
|
var status = response.data.status;
|
||||||
if(status){
|
if(status){
|
||||||
|
var eventType = "addEvaluateManageClick";
|
||||||
|
var dataMap = {};
|
||||||
|
dataMap["hid"]=id;
|
||||||
|
dataMap["liveStatus"]=liveStatus;
|
||||||
|
saveBehaviorLog(eventType,dataMap); //保存用户点击事件
|
||||||
|
|
||||||
$.toast(response.data.data);
|
$.toast(response.data.data);
|
||||||
$('.loadingBgDiv').show();
|
$('.loadingBgDiv').show();
|
||||||
checkIsLogin();
|
checkIsLogin();
|
||||||
|
|||||||
@@ -451,6 +451,11 @@ $(document).on("click",".confirm-ok", function () {
|
|||||||
}).then(function (response) {
|
}).then(function (response) {
|
||||||
var status = response.data.status;
|
var status = response.data.status;
|
||||||
if(status){
|
if(status){
|
||||||
|
var eventType = "deleteMyHouseClick";
|
||||||
|
var dataMap = {};
|
||||||
|
dataMap["hid"]=id;
|
||||||
|
saveBehaviorLog(eventType,dataMap); //保存用户点击事件
|
||||||
|
|
||||||
$.toast(response.data.data);
|
$.toast(response.data.data);
|
||||||
//删除后,如果需要调用checkIsLogin,需要所有的参数初始化
|
//删除后,如果需要调用checkIsLogin,需要所有的参数初始化
|
||||||
//checkIsLogin();
|
//checkIsLogin();
|
||||||
|
|||||||
Reference in New Issue
Block a user