diff --git a/Application/Admin/View/Finance/gameStatistics.html b/Application/Admin/View/Finance/gameStatistics.html index 95c02a6b0..c105152c1 100644 --- a/Application/Admin/View/Finance/gameStatistics.html +++ b/Application/Admin/View/Finance/gameStatistics.html @@ -276,7 +276,7 @@ shadeClose: true, shade: 0.8, area: ['70%', '80%'], - content: [url, 'no'] + content: url }); }); @@ -318,21 +318,8 @@ $("#search").click(); } }); - $(".ljcz").click(function(){ - var id = $(this).attr('data-value'); - var game_name = "{:I('game_name')}"; - var server_name = "{:I('server_id')}"; - layer.open({ - type: 2, - title: '游戏消费记录', - shadeClose: true, - shade: 0.8, - area: ['70%', '80%'], - content: 'admin.php?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url - }); - }); - /* function get_game_list() + function get_game_list() { var game_name = "{:I('game_name')}"; var partner_id = $("#partner_id option:selected").val(); @@ -353,14 +340,18 @@ // console.log(str); $("#game_name").empty(); $("#game_name").append(str); - // $("#server_id").select2(); + $("#game_name").select2(); } }) } $("#partner_id, #sdk_type").change(function(){ get_game_list(); - });*/ + }); + + $("#game_name, #sdk_type").change(function(){ + get_partnet_list(); + }); $('#time-start').datetimepicker({ format: 'yyyy-mm-dd', @@ -396,11 +387,9 @@ return false; }); - /* $("#partner_id").change(); - function get_partnet_list() { - var partner_id = "{:I('partner_id')}"; + var partner_id = $('#partner_id').val(); $.ajax({ url:"{:U('Finance/getPartnetList')}", type:"post", @@ -414,7 +403,7 @@ // console.log(str); $("#partner_id").empty(); $("#partner_id").append(str); - // $("#server_id").select2(); + $("#partner_id").select2(); } }) @@ -423,11 +412,6 @@ get_partnet_list(); }); - $("#game_name").change(); - if ("{:I('get.game_name')}") { - $('#select2-game_name-container').text("{:I('get.game_name')}"); - }*/ - })