用户行为日志
This commit is contained in:
@@ -626,15 +626,32 @@ function gotoLoanApply(){
|
||||
clicked('/views/loan/loanInfo.html',true,false,{},{houseId: houseId, city: oriCity, mobile: ""},function(){})
|
||||
}
|
||||
function gotoRentManager(){
|
||||
clicked('/views/rent/rentManager.html',true,false,{},{houseId: houseId},function(){})
|
||||
|
||||
var eventType = "rentManageClick";
|
||||
var dataMap = {};
|
||||
dataMap["hid"]=houseId;
|
||||
saveBehaviorLog(eventType,dataMap); //保存用户点击事件
|
||||
|
||||
clicked('/views/rent/rentManager.html',true,false,{},{houseId: houseId},function(){})
|
||||
}
|
||||
|
||||
//出售分析
|
||||
function gotoSaleAnalysis(){
|
||||
var eventType = "saleAnalysisClick";
|
||||
var dataMap = {};
|
||||
dataMap["hid"]=houseId;
|
||||
saveBehaviorLog(eventType,dataMap); //保存用户点击事件
|
||||
|
||||
clicked('/views/saleAnalysis/saleAnalysis.html',true,false,{},{houseId: houseId, city: oriCity, region: oriRegion, name: oriName},function(){})
|
||||
}
|
||||
|
||||
function gotoChangeHouse(){
|
||||
|
||||
var eventType = "changeHouseClick";
|
||||
var dataMap = {};
|
||||
dataMap["hid"]=houseId;
|
||||
saveBehaviorLog(eventType,dataMap); //保存用户点击事件
|
||||
|
||||
clicked('/views/changeHouse/index.html',true,false,{},{houseId: houseId},function(){})
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -387,6 +387,12 @@ $(document).on("click",".confirm-ok", function () {
|
||||
//获取删除的房产id
|
||||
var id = $(this).attr("id");
|
||||
$.confirm("确定删除?", function () {
|
||||
|
||||
var eventType = "deleteHouseClick";
|
||||
var dataMap = {};
|
||||
dataMap["hid"]=id;
|
||||
saveBehaviorLog(eventType,dataMap); //保存用户点击事件
|
||||
|
||||
axios.post(BASE_PATH + "/rest/index/deleteHouseInfoByStatus",
|
||||
{
|
||||
id: id
|
||||
|
||||
@@ -147,6 +147,11 @@ $(document).on("click",".confirm-ok", function () {
|
||||
//获取删除的房产id
|
||||
var id = $(this).attr("id");
|
||||
$.confirm("确定删除?", function () {
|
||||
var eventType = "delateEvaluateClick";
|
||||
var dataMap = {};
|
||||
dataMap["hid"]=id;
|
||||
saveBehaviorLog(eventType,dataMap); //保存用户点击事件
|
||||
|
||||
axios.post(BASE_PATH + "/rest/index/deleteHouseInfoByStatus",
|
||||
{
|
||||
id: id
|
||||
|
||||
Reference in New Issue
Block a user