新增筛选记录

This commit is contained in:
罗松柏 2022-02-08 11:29:16 +08:00
parent c8c4eba96d
commit 91c12da4ef
2 changed files with 32 additions and 32 deletions

32
web/src/x.min.js vendored
View File

@ -13513,20 +13513,20 @@ var X = window.X || {
'filts':[],
'relation':'and'
};
// if(reportid){
// data = reportid;
// if(reportid.relation == 'and'){
// $('.screen-left-qei').html("且");
// }else {
// $('.screen-left-qei').html("或");
// }
// if(reportid['filts'].length > 1){
// $('.screen-left-qei').show();
// }
// X.laytpldata("#screen-con-box-dot",reportid['filts'],".screen-con-box",function(){
// renderdate();
// });
// }
if(reportid){
data = reportid;
if(reportid.relation == 'and'){
$('.screen-left-qei').html("且");
}else {
$('.screen-left-qei').html("或");
}
if(reportid['filts'].length > 1){
$('.screen-left-qei').show();
}
X.laytpldata("#screen-con-box-dot",reportid['filts'],".screen-con-box",function(){
renderdate();
});
}
var my_event,load_filter_props,filter_map;
X.api("data_auth/my_event","get",{},function(d){
@ -13535,9 +13535,9 @@ var X = window.X || {
load_filter_props = val;
X.api("data_auth/filter_map","get",{},function(d){
filter_map = d;
// if(!reportid){
if(!reportid){
updatascreencon();
// }
}
})
})
});

View File

@ -13,20 +13,20 @@
'filts':[],
'relation':'and'
};
// if(reportid){
// data = reportid;
// if(reportid.relation == 'and'){
// $('.screen-left-qei').html("且");
// }else {
// $('.screen-left-qei').html("或");
// }
// if(reportid['filts'].length > 1){
// $('.screen-left-qei').show();
// }
// X.laytpldata("#screen-con-box-dot",reportid['filts'],".screen-con-box",function(){
// renderdate();
// });
// }
if(reportid){
data = reportid;
if(reportid.relation == 'and'){
$('.screen-left-qei').html("且");
}else {
$('.screen-left-qei').html("或");
}
if(reportid['filts'].length > 1){
$('.screen-left-qei').show();
}
X.laytpldata("#screen-con-box-dot",reportid['filts'],".screen-con-box",function(){
renderdate();
});
}
var my_event,load_filter_props,filter_map;
X.api("data_auth/my_event","get",{},function(d){
@ -35,9 +35,9 @@
load_filter_props = val;
X.api("data_auth/filter_map","get",{},function(d){
filter_map = d;
// if(!reportid){
if(!reportid){
updatascreencon();
// }
}
})
})
});