1
This commit is contained in:
parent
ea45be75f0
commit
4bc0df533b
@ -102,7 +102,6 @@
|
||||
</script>
|
||||
|
||||
<script id="userinfo-event-box-dot" type="text/html">
|
||||
{{# if(d.lenght > 0){ }}
|
||||
|
||||
{{# layui.each(d, function(index, item){ }}
|
||||
<p class="userinfo-event-list-time-box">{{index}}</p>
|
||||
@ -128,14 +127,8 @@
|
||||
</div>
|
||||
</div>
|
||||
{{# }); }}
|
||||
|
||||
{{# }); }}
|
||||
|
||||
{{# } else { }}
|
||||
|
||||
<p style="text-align: center; color: #42546d;">已显示全部数据</p>
|
||||
|
||||
{{# } }}
|
||||
|
||||
</script>
|
||||
|
||||
|
14
web/src/x.min.js
vendored
14
web/src/x.min.js
vendored
@ -15052,7 +15052,9 @@ var X = window.X || {
|
||||
$(".userinfo-pie-echarts").hide();
|
||||
}
|
||||
|
||||
if(userdata.event_count.date.length > 0){
|
||||
userinfoechert(userdata.event_count);
|
||||
}
|
||||
if(userdata.proportion.length > 0){
|
||||
userinfopieechart(userdata.proportion);
|
||||
}
|
||||
@ -15063,18 +15065,22 @@ var X = window.X || {
|
||||
var timearr = time.split(" ");
|
||||
start_time = timearr[0] + " "+"00:00:00";
|
||||
end_time = timearr[2]+" "+"23:59:59";
|
||||
|
||||
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){
|
||||
// 520_624fc7b902e7a090f2225612
|
||||
// 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
|
||||
if(val.event_count.length > 0){
|
||||
if(val.event_count.date.length > 0){
|
||||
userinfoechert(val.event_count);
|
||||
}
|
||||
if(val.proportion.length > 0){
|
||||
userinfopieechart(val.proportion);
|
||||
}
|
||||
X.laytpldata("#user-left-content-box-dot",val['details_data'],".user-left-content-box",function(){});
|
||||
|
||||
if(JSON.stringify(val['details_user']) == "{}"){
|
||||
$(".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();
|
||||
}
|
||||
|
||||
if(userdata.event_count.date.length > 0){
|
||||
userinfoechert(userdata.event_count);
|
||||
}
|
||||
if(userdata.proportion.length > 0){
|
||||
userinfopieechart(userdata.proportion);
|
||||
}
|
||||
@ -54,18 +56,22 @@
|
||||
var timearr = time.split(" ");
|
||||
start_time = timearr[0] + " "+"00:00:00";
|
||||
end_time = timearr[2]+" "+"23:59:59";
|
||||
|
||||
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){
|
||||
// 520_624fc7b902e7a090f2225612
|
||||
// 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
|
||||
if(val.event_count.length > 0){
|
||||
if(val.event_count.date.length > 0){
|
||||
userinfoechert(val.event_count);
|
||||
}
|
||||
if(val.proportion.length > 0){
|
||||
userinfopieechart(val.proportion);
|
||||
}
|
||||
X.laytpldata("#user-left-content-box-dot",val['details_data'],".user-left-content-box",function(){});
|
||||
|
||||
if(JSON.stringify(val['details_user']) == "{}"){
|
||||
$(".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