1
This commit is contained in:
parent
ea45be75f0
commit
4bc0df533b
@ -102,40 +102,33 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script id="userinfo-event-box-dot" type="text/html">
|
<script id="userinfo-event-box-dot" type="text/html">
|
||||||
{{# if(d.lenght > 0){ }}
|
|
||||||
|
{{# layui.each(d, function(index, item){ }}
|
||||||
{{# layui.each(d, function(index, item){ }}
|
<p class="userinfo-event-list-time-box">{{index}}</p>
|
||||||
<p class="userinfo-event-list-time-box">{{index}}</p>
|
{{# layui.each(item, function(indexs, items){ }}
|
||||||
{{# layui.each(item, function(indexs, items){ }}
|
<div class="userinfo-event-list-box">
|
||||||
<div class="userinfo-event-list-box">
|
<p class="userinfo-event-time">{{items.time}}</p>
|
||||||
<p class="userinfo-event-time">{{items.time}}</p>
|
<div class="userinfo-event-list-con-box">
|
||||||
<div class="userinfo-event-list-con-box">
|
<div class="userinfo-event-list-title-box">
|
||||||
<div class="userinfo-event-list-title-box">
|
{{items.event}}
|
||||||
{{items.event}}
|
|
||||||
</div>
|
|
||||||
<div class="userinfo-event-list-info-box">
|
|
||||||
|
|
||||||
<div class="userinfo-event-list-info">
|
|
||||||
{{# layui.each(items.xaingqing, function(indexss, itemss){ }}
|
|
||||||
<div class="property___1w1aY">
|
|
||||||
<span class="name___2eywe">{{itemss.title}}:</span>
|
|
||||||
<span>{{itemss.val}}</span>
|
|
||||||
</div>
|
|
||||||
{{# }); }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
{{# }); }}
|
<div class="userinfo-event-list-info-box">
|
||||||
|
|
||||||
|
<div class="userinfo-event-list-info">
|
||||||
|
{{# layui.each(items.xaingqing, function(indexss, itemss){ }}
|
||||||
|
<div class="property___1w1aY">
|
||||||
|
<span class="name___2eywe">{{itemss.title}}:</span>
|
||||||
|
<span>{{itemss.val}}</span>
|
||||||
|
</div>
|
||||||
|
{{# }); }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{# }); }}
|
||||||
{{# }); }}
|
{{# }); }}
|
||||||
|
|
||||||
{{# } else { }}
|
|
||||||
|
|
||||||
<p style="text-align: center; color: #42546d;">已显示全部数据</p>
|
|
||||||
|
|
||||||
{{# } }}
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
18
web/src/x.min.js
vendored
18
web/src/x.min.js
vendored
@ -15052,7 +15052,9 @@ var X = window.X || {
|
|||||||
$(".userinfo-pie-echarts").hide();
|
$(".userinfo-pie-echarts").hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
userinfoechert(userdata.event_count);
|
if(userdata.event_count.date.length > 0){
|
||||||
|
userinfoechert(userdata.event_count);
|
||||||
|
}
|
||||||
if(userdata.proportion.length > 0){
|
if(userdata.proportion.length > 0){
|
||||||
userinfopieechart(userdata.proportion);
|
userinfopieechart(userdata.proportion);
|
||||||
}
|
}
|
||||||
@ -15063,18 +15065,22 @@ var X = window.X || {
|
|||||||
var timearr = time.split(" ");
|
var timearr = time.split(" ");
|
||||||
start_time = timearr[0] + " "+"00:00:00";
|
start_time = timearr[0] + " "+"00:00:00";
|
||||||
end_time = timearr[2]+" "+"23:59:59";
|
end_time = timearr[2]+" "+"23:59:59";
|
||||||
|
// 520_624fc7b902e7a090f2225612
|
||||||
X.api("ck/solo_user","post",{account_id:X.DATA['search-user-id'],event_list:event_list,start_time:start_time,end_time:end_time},function(val){
|
// X.DATA['search-user-id']
|
||||||
|
X.api("ck/solo_user","post",{account_id: X.DATA['search-user-id'] ,event_list:event_list,start_time:start_time,end_time:end_time},function(val){
|
||||||
userdata = val
|
userdata = val
|
||||||
if(val.event_count.length > 0){
|
if(val.event_count.date.length > 0){
|
||||||
userinfoechert(val.event_count);
|
userinfoechert(val.event_count);
|
||||||
}
|
}
|
||||||
if(val.proportion.length > 0){
|
if(val.proportion.length > 0){
|
||||||
userinfopieechart(val.proportion);
|
userinfopieechart(val.proportion);
|
||||||
}
|
}
|
||||||
X.laytpldata("#user-left-content-box-dot",val['details_data'],".user-left-content-box",function(){});
|
X.laytpldata("#user-left-content-box-dot",val['details_data'],".user-left-content-box",function(){});
|
||||||
|
if(JSON.stringify(val['details_user']) == "{}"){
|
||||||
X.laytpldata("#userinfo-event-box-dot",val['details_user'],".userinfo-event-box",function(){});
|
$(".userinfo-event-box").html('<p style="text-align: center; color: #42546d;">已显示全部数据</p>');
|
||||||
|
}else {
|
||||||
|
X.laytpldata("#userinfo-event-box-dot",val['details_user'],".userinfo-event-box",function(){});
|
||||||
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
@ -43,7 +43,9 @@
|
|||||||
$(".userinfo-pie-echarts").hide();
|
$(".userinfo-pie-echarts").hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
userinfoechert(userdata.event_count);
|
if(userdata.event_count.date.length > 0){
|
||||||
|
userinfoechert(userdata.event_count);
|
||||||
|
}
|
||||||
if(userdata.proportion.length > 0){
|
if(userdata.proportion.length > 0){
|
||||||
userinfopieechart(userdata.proportion);
|
userinfopieechart(userdata.proportion);
|
||||||
}
|
}
|
||||||
@ -54,18 +56,22 @@
|
|||||||
var timearr = time.split(" ");
|
var timearr = time.split(" ");
|
||||||
start_time = timearr[0] + " "+"00:00:00";
|
start_time = timearr[0] + " "+"00:00:00";
|
||||||
end_time = timearr[2]+" "+"23:59:59";
|
end_time = timearr[2]+" "+"23:59:59";
|
||||||
|
// 520_624fc7b902e7a090f2225612
|
||||||
X.api("ck/solo_user","post",{account_id:X.DATA['search-user-id'],event_list:event_list,start_time:start_time,end_time:end_time},function(val){
|
// X.DATA['search-user-id']
|
||||||
|
X.api("ck/solo_user","post",{account_id: X.DATA['search-user-id'] ,event_list:event_list,start_time:start_time,end_time:end_time},function(val){
|
||||||
userdata = val
|
userdata = val
|
||||||
if(val.event_count.length > 0){
|
if(val.event_count.date.length > 0){
|
||||||
userinfoechert(val.event_count);
|
userinfoechert(val.event_count);
|
||||||
}
|
}
|
||||||
if(val.proportion.length > 0){
|
if(val.proportion.length > 0){
|
||||||
userinfopieechart(val.proportion);
|
userinfopieechart(val.proportion);
|
||||||
}
|
}
|
||||||
X.laytpldata("#user-left-content-box-dot",val['details_data'],".user-left-content-box",function(){});
|
X.laytpldata("#user-left-content-box-dot",val['details_data'],".user-left-content-box",function(){});
|
||||||
|
if(JSON.stringify(val['details_user']) == "{}"){
|
||||||
X.laytpldata("#userinfo-event-box-dot",val['details_user'],".userinfo-event-box",function(){});
|
$(".userinfo-event-box").html('<p style="text-align: center; color: #42546d;">已显示全部数据</p>');
|
||||||
|
}else {
|
||||||
|
X.laytpldata("#userinfo-event-box-dot",val['details_user'],".userinfo-event-box",function(){});
|
||||||
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user