Take care of maxage for map/list
这个提交包含在:
父节点
7f15a94c6b
当前提交
5edab2e443
共有 4 个文件被更改,包括 10 次插入 和 8 次删除
|
|
@ -1,5 +1,6 @@
|
|||
<script>
|
||||
var dxcluster_provider="<?php echo base_url(); ?>index.php/dxcluster";
|
||||
var dxcluster_maxage=<?php echo $this->optionslib->get_option('dxcluster_maxage'); ?>;
|
||||
var cat_timeout_interval="<?php echo $this->optionslib->get_option('cat_timeout_interval'); ?>";
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<script>
|
||||
var dxcluster_provider="<?php echo base_url(); ?>index.php/dxcluster";
|
||||
var cat_timeout_interval="<?php echo $this->optionslib->get_option('cat_timeout_interval'); ?>";
|
||||
var dxcluster_maxage=<?php echo $this->optionslib->get_option('dxcluster_maxage'); ?>;
|
||||
var custom_date_format = "<?php echo $custom_date_format ?>";
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -179,14 +179,14 @@ $(function() {
|
|||
}
|
||||
});
|
||||
|
||||
set_chart($('#band option:selected').val(), $('#decontSelect option:selected').val(), 30);
|
||||
setInterval(function () { update_chart($('#band option:selected').val(),30); },60000);
|
||||
set_chart($('#band option:selected').val(), $('#decontSelect option:selected').val(), dxcluster_maxage);
|
||||
setInterval(function () { update_chart($('#band option:selected').val(),dxcluster_maxage); },60000);
|
||||
$("#band").on("change",function() {
|
||||
set_chart($('#band option:selected').val(), $('#decontSelect option:selected').val(), 30);
|
||||
set_chart($('#band option:selected').val(), $('#decontSelect option:selected').val(), dxcluster_maxage);
|
||||
});
|
||||
|
||||
$("#decontSelect").on("change",function() {
|
||||
set_chart($('#band option:selected').val(), $('#decontSelect option:selected').val(), 30);
|
||||
set_chart($('#band option:selected').val(), $('#decontSelect option:selected').val(), dxcluster_maxage);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -68,18 +68,18 @@ $(function() {
|
|||
|
||||
$('.spottable').DataTable().order([1, 'asc']);
|
||||
$('.spottable').DataTable().clear();
|
||||
fill_list($('#band option:selected').val(), $('#decontSelect option:selected').val(),30);
|
||||
setInterval(function () { fill_list($('#band option:selected').val(), $('#decontSelect option:selected').val(),30); },60000);
|
||||
fill_list($('#band option:selected').val(), $('#decontSelect option:selected').val(),dxcluster_maxage);
|
||||
setInterval(function () { fill_list($('#band option:selected').val(), $('#decontSelect option:selected').val(),dxcluster_maxage); },60000);
|
||||
|
||||
$("#decontSelect").on("change",function() {
|
||||
$('.spottable').DataTable().clear();
|
||||
fill_list($('#band option:selected').val(), $('#decontSelect option:selected').val(),30);
|
||||
fill_list($('#band option:selected').val(), $('#decontSelect option:selected').val(),dxcluster_maxage);
|
||||
});
|
||||
|
||||
$("#band").on("change",function() {
|
||||
$('.spottable').DataTable().order([1, 'asc']);
|
||||
$('.spottable').DataTable().clear();
|
||||
fill_list($('#band option:selected').val(), $('#decontSelect option:selected').val(),30);
|
||||
fill_list($('#band option:selected').val(), $('#decontSelect option:selected').val(),dxcluster_maxage);
|
||||
});
|
||||
|
||||
$("#spottertoggle").on("click", function() {
|
||||
|
|
|
|||
正在加载…
在新工单中引用